Repository navigation
cudnn: init 8.8.0; rewrite to assist maintainability - #217363
Conversation
|
Result of 2 packages failed to build:
12 packages built:
|
|
cc @NixOS/cuda-maintainers |
samuela
left a comment
There was a problem hiding this comment.
Thanks for contributing @ConnorBaker ! Overall I feel that this is a step forward. However, why use json instead of Nix for the releases info?
Also IIRC I originally wrote cudnn such that it had version constraints for each package like this, but we got rid of it at some point. I don't recall exactly why... I do remember there being a point where one of the CUDA releases required a cuDNN but there was no compatible version in the official table. Other distros were just winging it with whatever latest cudnn was and I think we ended up doing the same. I'm not opposed to this design, but might be worth checking the history to see why it was removed before.
|
Will also rewrite the releases as Nix here |
489e4e8 to
ea682b1
Compare
|
Result of 13 packages failed to build:
|
|
I'm seeing the following error: |
ea682b1 to
e7a6340
Compare
e7a6340 to
510e2cc
Compare
|
Sorry, that was the result of a regex gone awry! Should be fixed now |
|
Result of 4 packages failed to build:
9 packages built:
|
Failed derivations
|
|
Result of 4 packages failed to build:
9 packages built:
|
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Description of changes
Adds CUDNN 8.8.0.
Rewrites the
cudnnpackage to move objects out of the nix files and into a more easily maintainable sorted JSON array.Instead of hardcoding the default version of CUDNN for each CUDA release, it is now chosen based on the versions available in
releases.json.Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)