Loading pkgs/by-name/sc/scotch/package.nix +16 −11 Original line number Diff line number Diff line Loading @@ -12,18 +12,20 @@ mpi, withPtScotch ? false, testers, pkgsMusl ? { }, # default to empty set to avoid CI fails with allowVariants = false nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "scotch"; version = "7.0.9"; version = "7.0.10"; src = fetchFromGitLab { domain = "gitlab.inria.fr"; owner = "scotch"; repo = "scotch"; rev = "v${finalAttrs.version}"; hash = "sha256-dbf18XdmDP0KgS4H4L7Wnam7kGF88yBcCvehYRRpHvA="; hash = "sha256-qeMgTkoM/RDsZa0T6hmrDLbLuSeR8WNxllyHSlkMVzA="; }; outputs = [ Loading @@ -37,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "BUILD_PTSCOTCH" withPtScotch) # Prefix Scotch version of MeTiS routines (lib.cmakeBool "SCOTCH_METIS_PREFIX" true) # building tests is broken with SCOTCH_METIS_PREFIX enabled in 7.0.9 # building tests is broken with SCOTCH_METIS_PREFIX enabled, at least since 7.0.9 (lib.cmakeBool "ENABLE_TESTS" false) ]; Loading @@ -58,22 +60,25 @@ stdenv.mkDerivation (finalAttrs: { mpi ]; # SCOTCH provide compatibility with Metis/Parmetis interface. # We install the metis compatible headers to subdirectory to # avoid conflict with metis/parmetis. postFixup = '' mkdir -p $dev/include/scotch mv $dev/include/{*metis,metisf}.h $dev/include/scotch ''; passthru = { tests = { cmake-config = testers.hasCmakeConfigModules { moduleNames = [ "SCOTCH" ]; package = finalAttrs.finalPackage; }; }; musl = pkgsMusl.scotch or null; }; # SCOTCH provide compatibility with Metis/Parmetis interface. # We install the metis compatible headers to subdirectory to # avoid conflict with metis/parmetis. postFixup = '' mkdir -p $dev/include/scotch mv $dev/include/{*metis,metisf}.h $dev/include/scotch ''; updateScript = nix-update-script { }; }; meta = { description = "Graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering"; Loading Loading
pkgs/by-name/sc/scotch/package.nix +16 −11 Original line number Diff line number Diff line Loading @@ -12,18 +12,20 @@ mpi, withPtScotch ? false, testers, pkgsMusl ? { }, # default to empty set to avoid CI fails with allowVariants = false nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "scotch"; version = "7.0.9"; version = "7.0.10"; src = fetchFromGitLab { domain = "gitlab.inria.fr"; owner = "scotch"; repo = "scotch"; rev = "v${finalAttrs.version}"; hash = "sha256-dbf18XdmDP0KgS4H4L7Wnam7kGF88yBcCvehYRRpHvA="; hash = "sha256-qeMgTkoM/RDsZa0T6hmrDLbLuSeR8WNxllyHSlkMVzA="; }; outputs = [ Loading @@ -37,7 +39,7 @@ stdenv.mkDerivation (finalAttrs: { (lib.cmakeBool "BUILD_PTSCOTCH" withPtScotch) # Prefix Scotch version of MeTiS routines (lib.cmakeBool "SCOTCH_METIS_PREFIX" true) # building tests is broken with SCOTCH_METIS_PREFIX enabled in 7.0.9 # building tests is broken with SCOTCH_METIS_PREFIX enabled, at least since 7.0.9 (lib.cmakeBool "ENABLE_TESTS" false) ]; Loading @@ -58,22 +60,25 @@ stdenv.mkDerivation (finalAttrs: { mpi ]; # SCOTCH provide compatibility with Metis/Parmetis interface. # We install the metis compatible headers to subdirectory to # avoid conflict with metis/parmetis. postFixup = '' mkdir -p $dev/include/scotch mv $dev/include/{*metis,metisf}.h $dev/include/scotch ''; passthru = { tests = { cmake-config = testers.hasCmakeConfigModules { moduleNames = [ "SCOTCH" ]; package = finalAttrs.finalPackage; }; }; musl = pkgsMusl.scotch or null; }; # SCOTCH provide compatibility with Metis/Parmetis interface. # We install the metis compatible headers to subdirectory to # avoid conflict with metis/parmetis. postFixup = '' mkdir -p $dev/include/scotch mv $dev/include/{*metis,metisf}.h $dev/include/scotch ''; updateScript = nix-update-script { }; }; meta = { description = "Graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering"; Loading