Commit 7ff10fc2 authored by qbisi's avatar qbisi
Browse files

kagen: build with cgal

parent 9b48e6f7
Loading
Loading
Loading
Loading
+16 −10
Original line number Diff line number Diff line
@@ -5,16 +5,14 @@
  cmake,
  pkg-config,
  mpi,
  cgal_5,
  boost,
  gmp,
  mpfr,
  cgal,
  sparsehash,
  imagemagick,
  gtest,
  ctestCheckHook,
  mpiCheckPhaseHook,
  withExamples ? false,
  testers,
}:

stdenv.mkDerivation (finalAttrs: {
@@ -36,14 +34,13 @@ stdenv.mkDerivation (finalAttrs: {
  ];

  buildInputs = [
    imagemagick
  ];

  propagatedBuildInputs = [
    mpi
    cgal_5
    cgal
    sparsehash
    imagemagick
    # should be propagated by cgal
    boost
    gmp
    mpfr
  ];

  cmakeFlags = [
@@ -73,6 +70,15 @@ stdenv.mkDerivation (finalAttrs: {
    "test_permutation.4cores"
  ];

  passthru = {
    tests = {
      cmake-config = testers.hasCmakeConfigModules {
        moduleNames = [ "KaGen" ];
        package = finalAttrs.finalPackage;
      };
    };
  };

  meta = {
    description = "Communication-free Massively Distributed Graph Generators";
    homepage = "https://github.com/KarlsruheGraphGeneration/KaGen";