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.
This commit is contained in:
Daniël de Kok
2025-02-23 16:57:31 +00:00
parent c63995d84f
commit c6c5ef561b
@@ -160,6 +160,7 @@ stdenv.mkDerivation {
++ lists.optionals cudaSupport (
with effectiveCudaPackages;
[
cuda_cccl # <nv/target> and <cuda/std/type_traits>
cuda_cudart # cuda_runtime.h
libcublas # cublas_v2.h
libcusparse # cusparse.h
@@ -170,9 +171,6 @@ stdenv.mkDerivation {
++ lists.optionals (cudaAtLeast "11.8") [
cuda_profiler_api # <cuda_profiler_api.h>
]
++ lists.optionals (cudaAtLeast "12.0") [
cuda_cccl # <nv/target>
]
)
++ lists.optionals rocmSupport (
with effectiveRocmPackages;