kagen: build with cgal
This commit is contained in:
@@ -5,16 +5,14 @@
|
|||||||
cmake,
|
cmake,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
mpi,
|
mpi,
|
||||||
cgal_5,
|
cgal,
|
||||||
boost,
|
|
||||||
gmp,
|
|
||||||
mpfr,
|
|
||||||
sparsehash,
|
sparsehash,
|
||||||
imagemagick,
|
imagemagick,
|
||||||
gtest,
|
gtest,
|
||||||
ctestCheckHook,
|
ctestCheckHook,
|
||||||
mpiCheckPhaseHook,
|
mpiCheckPhaseHook,
|
||||||
withExamples ? false,
|
withExamples ? false,
|
||||||
|
testers,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
@@ -36,14 +34,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
mpi
|
|
||||||
cgal_5
|
|
||||||
sparsehash
|
|
||||||
imagemagick
|
imagemagick
|
||||||
# should be propagated by cgal
|
];
|
||||||
boost
|
|
||||||
gmp
|
propagatedBuildInputs = [
|
||||||
mpfr
|
mpi
|
||||||
|
cgal
|
||||||
|
sparsehash
|
||||||
];
|
];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
@@ -73,6 +70,15 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
"test_permutation.4cores"
|
"test_permutation.4cores"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
tests = {
|
||||||
|
cmake-config = testers.hasCmakeConfigModules {
|
||||||
|
moduleNames = [ "KaGen" ];
|
||||||
|
package = finalAttrs.finalPackage;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Communication-free Massively Distributed Graph Generators";
|
description = "Communication-free Massively Distributed Graph Generators";
|
||||||
homepage = "https://github.com/KarlsruheGraphGeneration/KaGen";
|
homepage = "https://github.com/KarlsruheGraphGeneration/KaGen";
|
||||||
|
|||||||
Reference in New Issue
Block a user