-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Backport 271078 to staging 23.11 #273040
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ConnorBaker
merged 38 commits into
NixOS:staging-23.11
from
SomeoneSerge:backport-271078-to-staging-23.11
Dec 15, 2023
Merged
Backport 271078 to staging 23.11 #273040
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
867c84d
opensubdiv: drop the cudatoolkit.run file, and respect cudaFlags
SomeoneSerge 2d234b0
opensubdiv: use cuda_nvcc only if cudaSupport
veprbl c1ab852
suitesparse: migrate to redist cuda
SomeoneSerge 0551e85
cudaPackagesGoogle: init, a package-set for jax and tf
SomeoneSerge b774fda
tensorrt: dont break eval for unrelated packages
SomeoneSerge 32b15d3
blender: drop cudatoolkit.runfile
SomeoneSerge 65f38d5
catboost: downgrade to cudaPackages_11 because of unsupported archite…
SomeoneSerge 1c3e40c
ctranslate2: fix the cuda 12 build
SomeoneSerge 7532a06
cudaPackages.cuda_nvcc: fix (getExe cuda_nvcc)
SomeoneSerge ea94f71
cudaPackages_12.cutensor: init and fix
SomeoneSerge 10a73aa
python3Packages.cupy: fix (use older cutensor)
SomeoneSerge 525df0e
ucx: fix the cudaPackages_12 variant; drop the cudatoolkit runfile de…
SomeoneSerge 9bf80c5
gromacs: drop cudatoolkit.run
SomeoneSerge f89fab8
openvino: opencvConfig.cmake attempts to find_package(CUDA)
SomeoneSerge 8e6c3ca
nvidia-thrust: rm as deprecated
SomeoneSerge e1ec747
ucc: drop the cudatoolkit runfile
SomeoneSerge 6cc7ef3
ucc: respect cudaFlags
SomeoneSerge f49ae13
openmpi: drop the cudatoolkit runfile
SomeoneSerge 923ead9
python311Packages.torchWithCuda: drop cuda_cudart.static at runtime
SomeoneSerge b93a4e2
cudaPackages.setupCudaHook: fix cudart flags
SomeoneSerge c5e5690
cudaPackages.setupCudaHook: rewrite cudartFlags, remove infinite recu…
SomeoneSerge 94623d5
cudaPackages_11_3.saxpy: fallback to the cudatoolkit runfile
SomeoneSerge daafff2
cudaPackages.cuda_nvcc: fix hook's offsets (-1, -1) -> (-1, 0)
SomeoneSerge a557b50
cudaPackages.setupCudaHook: source only from nativeBuildInputs
SomeoneSerge a2bd1af
tiny-cuda-nn: cuda_cccl required with the newer cuda
SomeoneSerge ee31526
tiny-cuda-nn: prune runtime closure
SomeoneSerge 545055a
cudaPackages.setupCudaHook: propagate buildInputs and self
SomeoneSerge 5a66afc
opencv4: expose cxxdev, propagating optional cuda deps
SomeoneSerge 7be294a
opencv4: propagate optical flow sdk same as cuda
SomeoneSerge 1ab4e3a
opencv4: discard build-time cuda deps
SomeoneSerge ad2fd25
torch: add the cxxdev output for cmake consumers
SomeoneSerge 50064e5
openvino: use opencv4.cxxdev in case cuda is enabled
SomeoneSerge 484b846
cctag: unbreak the cuda variant
SomeoneSerge f68149e
python311Packages.torch: enable_language(CUDA) wants to -lcudart_static?
SomeoneSerge 75cac5d
openvino: fix build by providing ocl-icd for libOpenCL.so.1
mweinelt 270e8cb
cudaPackages.setupCudaHook: disable the guard for 23.11
SomeoneSerge d8ed2ba
cudaPackages.cudatoolkit: propagate the hook to nativeBuildInputs cor…
SomeoneSerge e5d569f
nvidia-optical-flow-sdk: refactor: propagation via setupCudaHook
SomeoneSerge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 7 additions & 1 deletion
8
pkgs/development/compilers/cudatoolkit/hooks/mark-for-cudatoolkit-root-hook.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,14 @@ | ||
| # shellcheck shell=bash | ||
|
|
||
| # Should we mimick cc-wrapper's "hygiene"? | ||
| [[ -z ${strictDeps-} ]] || (( "$hostOffset" < 0 )) || return 0 | ||
|
|
||
| echo "Sourcing mark-for-cudatoolkit-root-hook" >&2 | ||
|
|
||
| markForCUDAToolkit_ROOT() { | ||
| mkdir -p "${prefix}/nix-support" | ||
| touch "${prefix}/nix-support/include-in-cudatoolkit-root" | ||
| [[ -f "${prefix}/nix-support/include-in-cudatoolkit-root" ]] && return | ||
| echo "$pname-$output" > "${prefix}/nix-support/include-in-cudatoolkit-root" | ||
| } | ||
|
|
||
| fixupOutputHooks+=(markForCUDAToolkit_ROOT) | ||
5 changes: 0 additions & 5 deletions
5
pkgs/development/compilers/cudatoolkit/hooks/nvcc-setup-hook.sh
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.