Unverified Commit b665514a authored by markuskowa's avatar markuskowa Committed by GitHub
Browse files

Merge pull request #290665 from markuskowa/fix-gromacs

gromacs: fix CUDA build
parents bb84ac6f f6616d2e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -19,6 +19,10 @@
, cpuAcceleration ? null
}:


# CUDA is only implemented for single precission
assert enableCuda -> singlePrec;

let
  inherit (cudaPackages.cudaFlags) cudaCapabilities dropDot;

@@ -75,6 +79,7 @@ in stdenv.mkDerivation rec {
    lapack
  ] ++ lib.optional enableMpi mpi
  ++ lib.optionals enableCuda [
    cudaPackages.cuda_cccl
    cudaPackages.cuda_cudart
    cudaPackages.libcufft
    cudaPackages.cuda_profiler_api