scotch: 7.0.9 -> 7.0.10 (#447645)
This commit is contained in:
@@ -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 = [
|
||||
@@ -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)
|
||||
];
|
||||
|
||||
@@ -58,15 +60,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
mpi
|
||||
];
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
cmake-config = testers.hasCmakeConfigModules {
|
||||
moduleNames = [ "SCOTCH" ];
|
||||
package = finalAttrs.finalPackage;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# SCOTCH provide compatibility with Metis/Parmetis interface.
|
||||
# We install the metis compatible headers to subdirectory to
|
||||
# avoid conflict with metis/parmetis.
|
||||
@@ -75,6 +68,18 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
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;
|
||||
};
|
||||
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering";
|
||||
longDescription = ''
|
||||
|
||||
Reference in New Issue
Block a user