Commit Graph

12 Commits

Author SHA1 Message Date
Frederik Rietdijk
1d63f89caa cudaPackages: overhaul of how we package cuda packages
There are many different versions of the `cudatoolkit` and related
cuda packages, and it can be tricky to ensure they remain compatible.

- `cudaPackages` is now a package set with `cudatoolkit`, `cudnn`, `cutensor`, `nccl`, as well as `cudatoolkit` split into smaller packages ("redist");
- expressions should now use `cudaPackages` as parameter instead of the individual cuda packages;
- `makeScope` is now used, so it is possible to use `.overrideScope'` to set e.g. a different `cudnn` version;
- `release-cuda.nix` is introduced to easily evaluate cuda packages using hydra.
2022-04-09 08:50:22 +02:00
Matt Wittmann
8b8e0b4cac
cudatoolkit: expose compute-sanitizer, nsys utilities (#153542)
* cudatoolkit: expose compute-sanitizer, nsys commands

* Patch compute-sanitizer binary using addOpenGLRunpath

* Revert "Patch compute-sanitizer binary using addOpenGLRunpath"

This reverts commit 82aa57071a.

* Patch compute-sanitizer libs using addOpenGLRunpath

* Patch nsys libs

* Call addOpenGLRunpath on nsys libs

* Clean weird quotation

* Use $ORIGIN in rpath

* Clean unnecessary string interpolation

* Replace while-read-find with for loop

* Move rpath def to preFixup, clean
2022-03-15 12:16:06 -07:00
David Guibert
e6da69e878 cudatolkit: fix documentation into $doc output 2021-09-25 14:51:43 +02:00
Ryan Burns
810e595e4e cudatoolkit: fix build
This is a workaround for a segfault in patchelf
when attempting to set an empty rpath
2021-09-16 22:30:54 -07:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Andy Chun @noneucat
fe42dee030 cudatoolkit: set CUDA_HOST_COMPILER cmake flag to supported gcc version 2021-05-16 04:42:15 -07:00
Ben Siraphob
acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Thomas Bereknyei
d2a6b1d55a cudatoolkit: install missing libraries for nvprof (10.1 and 10.2) 2020-09-12 08:31:41 +02:00
Matthew Bauer
164f8024e9 cudatoolkit: init v11.0.3 2020-08-19 13:34:52 -05:00
Andreas Rammhold
78816a875b
cudatoolkit: move the dependencies into a common expression 2019-11-29 03:57:23 +12:00
Andreas Rammhold
464ff0aa24
Revert "cudatoolkit: move the dependencies into a common expression"
This reverts commit ceafd896f5.
2019-11-29 03:49:34 +12:00
Andreas Rammhold
ceafd896f5
cudatoolkit: move the dependencies into a common expression
This has the benefit of being able to override all the inputs to the
build where you were previously only able to override the entire package
set (if at all).
2019-11-26 12:28:45 +01:00