Skip to content

Commit c6c5ef5

Browse files
committed
magma: fix build on CUDA 11.8
The build of MAGMA fails since the last update due to missing `cuda/std/type_traits`. This is not an issue on CUDA >= 12.0, since `cuda_cccl` was already included as a dependency.
1 parent c63995d commit c6c5ef5

File tree

1 file changed

+1
-3
lines changed
  • pkgs/development/libraries/science/math/magma

1 file changed

+1
-3
lines changed

pkgs/development/libraries/science/math/magma/generic.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ stdenv.mkDerivation {
160160
++ lists.optionals cudaSupport (
161161
with effectiveCudaPackages;
162162
[
163+
cuda_cccl # <nv/target> and <cuda/std/type_traits>
163164
cuda_cudart # cuda_runtime.h
164165
libcublas # cublas_v2.h
165166
libcusparse # cusparse.h
@@ -170,9 +171,6 @@ stdenv.mkDerivation {
170171
++ lists.optionals (cudaAtLeast "11.8") [
171172
cuda_profiler_api # <cuda_profiler_api.h>
172173
]
173-
++ lists.optionals (cudaAtLeast "12.0") [
174-
cuda_cccl # <nv/target>
175-
]
176174
)
177175
++ lists.optionals rocmSupport (
178176
with effectiveRocmPackages;

0 commit comments

Comments
 (0)