Commit Graph

33 Commits

Author SHA1 Message Date
Dessix
532a7d3f1d cudaPackages_12_2.cudatoolkit: init at 12.2.0
Fixed #239557 via autoPatchelf to `qt6.(...)` packages.
2023-07-03 14:35:09 -07:00
Dessix
2ef48c49a5 cudaPackages_12_1.cudatoolkit: fix missing build dependencies
Dependencies on gstreamer and curl were added starting in cudatoolkit 12.1; this compensates for the resulting autoPatchelf failures.
2023-06-20 13:40:07 -07:00
Break Yang
9b804b8941 cudaPackages.cudatoolkit: mark libnvrtc-builtins needed for libnvrtc
libnvrtc dlopens libnvrtc-builtins without listing it in DT_NEEDED, thus it was being stripped out from the runpath
2023-06-05 09:20:46 -07:00
Connor Baker
bbe6b21356 cudaPackages_11_8.cudatoolkit: remove broken include/include symlink
The broken symlink was causing tensorflow to fail to build.
2023-05-25 15:45:48 -04:00
Ryan Lahfa
588058a0af
Merge pull request #224358 from SomeoneSerge/team-list-cuda
team-list: add cuda team
2023-05-05 16:44:05 +02:00
Samuel Ainsworth
cd07e0258c
Merge pull request #223664 from SomeoneSerge/cuda-libstdcpp
cudaPackages: use the same libstdc++ as the rest of nixpkgs
2023-04-07 11:46:55 -04:00
Someone Serge
3af299f014
cudaPackages.cudatoolkit: hotfix the libstdc++ mismatch caused by cudatoolkit-vendored copy of the library 2023-04-07 00:28:02 +03:00
Someone Serge
bd62420fd3
cudaPackages: use same libstdc++ as the rest of nixpkgs 2023-04-07 00:28:02 +03:00
Someone Serge
b100b0a1cc
cudaPackages_11_8: un-break after migrating to autoPatchelfHook 2023-04-06 22:30:11 +03:00
Someone Serge
221fe82378
cudaPackages_12.cudatoolkit: fix after migrating to autoPatchelfHook 2023-04-06 22:30:10 +03:00
Someone Serge
868c289955
cudaPackages.cudatoolkit: move pre-cuda11 deps up, to reorder chronologically 2023-04-06 22:30:10 +03:00
Someone Serge
c690aac0c6
cudaPackages: add teams.cuda to maintainers 2023-04-03 18:28:06 +03:00
Someone Serge
15848ffa42
cudaPackages.cudatoolkit: rm preFixup rpath code
...the same logic is handled by autoPatchelf
2023-04-02 01:09:34 +03:00
Someone Serge
6dc90880de
cudaPackages.cudatoolkit: use autoPatchelf
...to ensure correctness (in the sense that all DT_NEEDED libraries are
verified to be discoverable through the runpaths)
2023-04-02 01:08:41 +03:00
Connor Baker
bdfb61e117 cudaPackages: use -Xfatbin=-compress-all; prune default cudaCapabilities 2023-03-10 23:10:57 -05:00
Someone Serge
0c25f5aa7f
cudaPackages.cudatoolkit: remove unused gcc argument 2023-03-04 03:14:37 +02:00
Someone
c376c54f70
cudaPackages.cudatoolkit: refactor inheriting passthru.cc
Co-authored-by: Connor Baker <ConnorBaker01@Gmail.com>
2023-03-04 01:04:25 +02:00
Someone Serge
5f4bdbe6c3
python3Packages.tensorflow: fix `GLIBCXX_3.4.30' not found
Make tensorflow (and a bunch of ther things) use CUDA-compatible
toolchain. Introduces cudaPackages.backendStdenv
2023-03-04 01:03:51 +02:00
Someone Serge
94bbbb0471
cudaPackages: point nvcc at a compatible -ccbin
This is a hot-fix to un-break cuda-enabled packages (like tensorflow,
jaxlib, faiss, opencv, ...) after the gcc11->gcc12 bump. We should
probably build the whole downstream packages with a compatible stdenv
(such as gcc11Stdenv for cudaPackages_11), but just pointing nvcc at the
right compiler seems to do the trick

We already used this hack for non-redist cudatoolkit. Now we use it more
consistently.

This commit also re-links cuda packages against libstdc++ from the same
"compatible" gcc, rather than the current stdenv. We didn't test if this
is necessary -> need to revise in further PRs.

NOTE: long-term we should make it possible to override -ccbin and use
e.g. clang
2023-03-04 00:59:20 +02:00
Connor Baker
476de5c070 cudatoolkit: prune broken symlinks in postFixup
As cudatoolkit is currently written, 11.8 introduces a broken symlink in `include` (also named `include`) and in `lib` (named `lib64`).

This trips up some consumers, like `tensorflow-gpu`.
2023-02-21 20:39:00 -05:00
Samuel Ainsworth
9756d10158 cudaPackages.cudatoolkit: python27 -> python3
python27 was recently marked as insecure, breaking cudaPackages.cudatoolkit. This commit has been successfully tested against the earliest supported, 10.0, and the latest supported, 11.8, with the assumption that intermediate versions ought to work as well.
2023-01-08 03:47:26 +00:00
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