diff options
author | Someone Serge <sergei.kozlukov@aalto.fi> | 2024-01-25 01:31:00 +0000 |
---|---|---|
committer | Someone Serge <sergei.kozlukov@aalto.fi> | 2024-01-25 01:31:00 +0000 |
commit | 5faf086cad787328c813eba440e5b7bfbdf242d1 (patch) | |
tree | bac9f8f89390abd9aef313060513dd995640bb55 /pkgs/development | |
parent | ef181957e806901334bf4ed9b2451192153315a9 (diff) |
magma: unbreak for cudaPackages_12
Hotfix based on the suggestion from https://github.com/NixOS/nixpkgs/issues/281656#issuecomment-1902931289
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/science/math/magma/generic.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/science/math/magma/generic.nix b/pkgs/development/libraries/science/math/magma/generic.nix index b27b42bf3ae85..7ef60e0418ed6 100644 --- a/pkgs/development/libraries/science/math/magma/generic.nix +++ b/pkgs/development/libraries/science/math/magma/generic.nix @@ -142,6 +142,8 @@ stdenv.mkDerivation { ] ++ lists.optionals rocmSupport [ "-DCMAKE_C_COMPILER=${rocmPackages.clr}/bin/hipcc" "-DCMAKE_CXX_COMPILER=${rocmPackages.clr}/bin/hipcc" + ] ++ lists.optionals (cudaPackages.cudaAtLeast "12.0.0") [ + (lib.cmakeBool "USE_FORTRAN" false) ]; buildFlags = [ |