mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 13:24:29 +00:00
cudaPackages.saxpy: 1/3 the runtime closure
(cherry picked from commit 3e003a17ba
)
This commit is contained in:
parent
a6671578ff
commit
f4474ec730
@ -36,7 +36,9 @@ backendStdenv.mkDerivation {
|
||||
buildInputs =
|
||||
lib.optionals (lib.versionOlder cudaVersion "11.4") [cudatoolkit]
|
||||
++ lib.optionals (lib.versionAtLeast cudaVersion "11.4") [
|
||||
libcublas
|
||||
libcublas.dev
|
||||
libcublas.lib
|
||||
libcublas.static
|
||||
cuda_cudart
|
||||
]
|
||||
++ lib.optionals (lib.versionAtLeast cudaVersion "12.0") [cuda_cccl];
|
||||
|
Loading…
Reference in New Issue
Block a user