tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
parmetis: 4.0.3 -> 4.0.3-unstable-2023-03-26
Luna Nova
4 months ago
725f147d
f65f70b8
+11
-7
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
pa
parmetis
package.nix
+11
-7
pkgs/by-name/pa/parmetis/package.nix
···
3
3
stdenv,
4
4
fetchFromGitHub,
5
5
cmake,
6
6
+
gklib,
6
7
metis,
7
8
mpi,
8
9
}:
9
10
10
11
stdenv.mkDerivation {
11
12
pname = "parmetis";
12
12
-
version = "4.0.3";
13
13
+
version = "4.0.3-unstable-2023-03-26";
13
14
14
15
src = fetchFromGitHub {
15
16
owner = "KarypisLab";
16
17
repo = "ParMETIS";
17
17
-
rev = "d90a2a6cf08d1d35422e060daa28718376213659";
18
18
-
hash = "sha256-22YQxwC0phdMLX660wokRgmAif/9tRbUmQWwNMZ//7M=";
18
18
+
rev = "8ee6a372ca703836f593e3c450ca903f04be14df";
19
19
+
hash = "sha256-L9SLyr7XuBUniMH3JtaBrUHIGzVTF5pr014xovQf2cI=";
19
20
};
20
21
21
22
nativeBuildInputs = [ cmake ];
22
23
enableParallelBuilding = true;
23
23
-
buildInputs = [ mpi ];
24
24
+
buildInputs = [
25
25
+
gklib
26
26
+
metis
27
27
+
mpi
28
28
+
];
24
29
25
30
configurePhase = ''
26
31
runHook preConfigure
27
32
28
28
-
tar xf ${metis.src}
29
29
-
mv metis-* metis
30
30
-
make config metis_path=metis gklib_path=metis/GKlib prefix=$out
33
33
+
make config metis_path=${metis} gklib_path=${gklib} prefix=$out \
34
34
+
shared=${if stdenv.hostPlatform.isStatic then "0" else "1"}
31
35
32
36
runHook postConfigure
33
37
'';