scotch: 7.0.9 -> 7.0.10 (#447645)

authored by nixpkgs-merge-bot[bot] and committed by GitHub cd928096 98dd3e37

+16 -11
+16 -11
pkgs/by-name/sc/scotch/package.nix
··· 12 mpi, 13 withPtScotch ? false, 14 testers, 15 }: 16 17 stdenv.mkDerivation (finalAttrs: { 18 pname = "scotch"; 19 - version = "7.0.9"; 20 21 src = fetchFromGitLab { 22 domain = "gitlab.inria.fr"; 23 owner = "scotch"; 24 repo = "scotch"; 25 rev = "v${finalAttrs.version}"; 26 - hash = "sha256-dbf18XdmDP0KgS4H4L7Wnam7kGF88yBcCvehYRRpHvA="; 27 }; 28 29 outputs = [ ··· 37 (lib.cmakeBool "BUILD_PTSCOTCH" withPtScotch) 38 # Prefix Scotch version of MeTiS routines 39 (lib.cmakeBool "SCOTCH_METIS_PREFIX" true) 40 - # building tests is broken with SCOTCH_METIS_PREFIX enabled in 7.0.9 41 (lib.cmakeBool "ENABLE_TESTS" false) 42 ]; 43 ··· 58 mpi 59 ]; 60 61 passthru = { 62 tests = { 63 cmake-config = testers.hasCmakeConfigModules { 64 moduleNames = [ "SCOTCH" ]; 65 package = finalAttrs.finalPackage; 66 }; 67 }; 68 }; 69 - 70 - # SCOTCH provide compatibility with Metis/Parmetis interface. 71 - # We install the metis compatible headers to subdirectory to 72 - # avoid conflict with metis/parmetis. 73 - postFixup = '' 74 - mkdir -p $dev/include/scotch 75 - mv $dev/include/{*metis,metisf}.h $dev/include/scotch 76 - ''; 77 78 meta = { 79 description = "Graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering";
··· 12 mpi, 13 withPtScotch ? false, 14 testers, 15 + pkgsMusl ? { }, # default to empty set to avoid CI fails with allowVariants = false 16 + nix-update-script, 17 }: 18 19 stdenv.mkDerivation (finalAttrs: { 20 pname = "scotch"; 21 + version = "7.0.10"; 22 23 src = fetchFromGitLab { 24 domain = "gitlab.inria.fr"; 25 owner = "scotch"; 26 repo = "scotch"; 27 rev = "v${finalAttrs.version}"; 28 + hash = "sha256-qeMgTkoM/RDsZa0T6hmrDLbLuSeR8WNxllyHSlkMVzA="; 29 }; 30 31 outputs = [ ··· 39 (lib.cmakeBool "BUILD_PTSCOTCH" withPtScotch) 40 # Prefix Scotch version of MeTiS routines 41 (lib.cmakeBool "SCOTCH_METIS_PREFIX" true) 42 + # building tests is broken with SCOTCH_METIS_PREFIX enabled, at least since 7.0.9 43 (lib.cmakeBool "ENABLE_TESTS" false) 44 ]; 45 ··· 60 mpi 61 ]; 62 63 + # SCOTCH provide compatibility with Metis/Parmetis interface. 64 + # We install the metis compatible headers to subdirectory to 65 + # avoid conflict with metis/parmetis. 66 + postFixup = '' 67 + mkdir -p $dev/include/scotch 68 + mv $dev/include/{*metis,metisf}.h $dev/include/scotch 69 + ''; 70 + 71 passthru = { 72 tests = { 73 cmake-config = testers.hasCmakeConfigModules { 74 moduleNames = [ "SCOTCH" ]; 75 package = finalAttrs.finalPackage; 76 }; 77 + musl = pkgsMusl.scotch or null; 78 }; 79 + 80 + updateScript = nix-update-script { }; 81 }; 82 83 meta = { 84 description = "Graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering";