Merge pull request #285772 from markuskowa/fix-gromacs

gromacs: fix build on Darwin, add OpenMP for Darwin
This commit is contained in:
Weijia Wang 2024-02-02 15:45:31 +01:00 committed by GitHub
commit 48c81e4615
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;