rPackages.data_table: OpenMP support on Darwin
This commit is contained in:
parent
25182f4b1c
commit
2533720976
@ -246,6 +246,7 @@ let
|
||||
ChemmineOB = [ pkgs.openbabel pkgs.pkgconfig ];
|
||||
cit = [ pkgs.gsl_1 ];
|
||||
curl = [ pkgs.curl.dev ];
|
||||
data_table = lib.optional stdenv.isDarwin pkgs.llvmPackages.openmp;
|
||||
devEMF = [ pkgs.xorg.libXft.dev pkgs.x11 ];
|
||||
diversitree = [ pkgs.gsl_1 pkgs.fftw ];
|
||||
EMCluster = [ pkgs.liblapack ];
|
||||
@ -744,6 +745,11 @@ let
|
||||
patchPhase = "patchShebangs configure";
|
||||
});
|
||||
|
||||
data_table = old.data_table.overrideDerivation (attrs: {
|
||||
NIX_CFLAGS_COMPILE = attrs.NIX_CFLAGS_COMPILE
|
||||
+ lib.optionalString stdenv.isDarwin " -fopenmp";
|
||||
});
|
||||
|
||||
rpf = old.rpf.overrideDerivation (attrs: {
|
||||
patchPhase = "patchShebangs configure";
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user