gromacs: fix build on Darwin, add OpenMP for Darwin
Gromacs enables OpenMP by default and fails its configure if it can not build with OpenMP.
This commit is contained in:
parent
5071e8ca11
commit
13eb3a2abe
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
, perl
|
||||
, blas
|
||||
, lapack
|
||||
, llvmPackages
|
||||
, mpi
|
||||
, cudaPackages
|
||||
, plumed
|
||||
|
@ -77,7 +78,7 @@ in stdenv.mkDerivation rec {
|
|||
cudaPackages.cuda_cudart
|
||||
cudaPackages.libcufft
|
||||
cudaPackages.cuda_profiler_api
|
||||
];
|
||||
] ++ lib.optional stdenv.isDarwin llvmPackages.openmp;
|
||||
|
||||
propagatedBuildInputs = lib.optional enableMpi mpi;
|
||||
propagatedUserEnvPkgs = lib.optional enableMpi mpi;
|
||||
|
|
Loading…
Reference in a new issue