-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
tests.cuda.db: init #406740
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
Closed
Closed
tests.cuda.db: init #406740
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
dfbcb9d
qdiskinfo: 0.3-unstable-2025-05-22 -> 0.4
ryand56 3693b2e
lib/licenses: ensure redist&non-redist cuda have different shortNames
SomeoneSerge 79a4d1a
lib.licenses.nvidiaProprietary: init
SomeoneSerge 958d172
tests.cuda.db: add cudnn manifests
SomeoneSerge 177e560
tests.cuda.db: add cusparselt manifests
SomeoneSerge 2a2c3d2
tests.cuda.db: init
SomeoneSerge 94d1959
cudaPackages: reconstruct from _cuda.db
SomeoneSerge d917969
cudaPackages: drop shims and multiplex extensions
SomeoneSerge 5038b7f
cudaPackages*: pin cudnn so as to support tensorrt when possible
SomeoneSerge 1a098ce
cudaPackages._rawManifests: init
SomeoneSerge 72ed55c
cudaPackages: drop raw JSON manifests
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
56 changes: 0 additions & 56 deletions
56
pkgs/development/cuda-modules/_cuda/db/bootstrap/redist.nix
This file was deleted.
Oops, something went wrong.
92 changes: 92 additions & 0 deletions
92
pkgs/development/cuda-modules/_cuda/db/bootstrap/static.nix
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 |
|---|---|---|
| @@ -0,0 +1,92 @@ | ||
| let | ||
| lib = import libPath; | ||
| columnar = import ../columnar.nix; | ||
|
|
||
| inherit (import ../nixpkgs_paths.nix) libPath; | ||
|
|
||
| inherit (columnar) unit listToSetOfStr; | ||
| in | ||
| { | ||
| license = | ||
| let | ||
| redist = lib.licenses.nvidiaCudaRedist; | ||
| legacy = lib.licenses.nvidiaCuda; | ||
| generic = lib.licenses.nvidiaProprietary; | ||
| in | ||
| columnar.defaults "shortName" | ||
| { | ||
| compiled = lib.licenses.unfree; | ||
| distribution_path = lib.mkDefault null; | ||
| license_path = lib.mkDefault null; | ||
| } | ||
| { | ||
| shortName = { | ||
| "CUDA Toolkit" = unit; | ||
| "${legacy.shortName}" = unit; | ||
| "${generic.shortName}" = unit; | ||
| "MIT" = unit; | ||
| }; | ||
| compiled = { | ||
| "CUDA Toolkit" = redist; | ||
| "${legacy.shortName}" = legacy; | ||
| "${generic.shortName}" = generic; | ||
| "MIT" = lib.licenses.mit; | ||
| }; | ||
| distribution_path = { }; | ||
| }; | ||
| system = | ||
| columnar.defaults "nvidia" | ||
| { | ||
| fromNvidia = { }; | ||
| isSource = false; | ||
| isJetson = false; | ||
| jetsonCompatible = false; | ||
| } | ||
| { | ||
| nvidia = { | ||
| "source" = unit; | ||
| "linux-all" = unit; | ||
| "linux-aarch64" = unit; | ||
| "linux-sbsa" = unit; | ||
| "linux-ppc64le" = unit; | ||
| "linux-x86_64" = unit; | ||
| "windows-x86_64" = unit; | ||
| }; | ||
| fromNvidia = { | ||
| "source" = listToSetOfStr lib.platforms.all; | ||
| "linux-aarch64"."aarch64-linux" = unit; | ||
| "linux-ppc64le"."powerpc64le-linux" = unit; | ||
| "linux-all" = listToSetOfStr lib.platforms.linux; | ||
|
Comment on lines
+56
to
+59
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd recommend restricting these to just |
||
| "linux-sbsa"."aarch64-linux" = unit; | ||
| "linux-x86_64"."x86_64-linux" = unit; | ||
| "windows-x86_64" = { | ||
| "x86_64-windows" = unit; | ||
| "x86_64-cygwin" = unit; | ||
| }; | ||
| }; | ||
| isSource = { | ||
| "source" = true; | ||
| }; | ||
| isJetson = { | ||
| "linux-aarch64" = true; | ||
| }; | ||
| jetsonCompatible = { | ||
| "source" = true; | ||
| "linux-aarch64" = true; | ||
| }; | ||
| }; | ||
| package = { | ||
| # Compensate for missing manifests | ||
| pname.tensorrt = unit; | ||
| name.tensorrt = "TensorRT"; | ||
| license.tensorrt = lib.licenses.nvidiaProprietary.shortName; | ||
| }; | ||
| output = { | ||
| out = unit; | ||
| dev = unit; | ||
| lib = unit; | ||
| bin = unit; | ||
| static = unit; | ||
| doc = unit; | ||
| }; | ||
| } | ||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change included in this PR?