mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
Merge pull request #34041 from mnacamura/r-datatable-openmp
rPackages.data_table: OpenMP support on Darwin
This commit is contained in:
commit
f88720e3b2
@ -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