-
-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
rocmPackages: rpp, mivisionx, meta package sets #260299
Conversation
Note: I chose Edit: I also just went ahead and included package lists in case for some reason they are preferable in nixpkgs or the user's configuration, but I still suggest specifying them individually. |
85314a4
to
e922d1e
Compare
@Madouura IMO get rid of the package lists and just make the meta-packages always be a Nixpkgs usage should reference the underlying pkgs directly, I agree. |
That's what I did at first, but on second thought it might be useful to users to be able to specify say |
Let me see if I understand your point. You're claiming the non- mkShell {
buildInputs = [ rocmPackages.meta.foobar ];
} And that would just work. But why wouldn't this: mkShell {
buildInputs = [ rocmPackages.meta.foobar-joined ];
} Yield the same result/experience for the end-user? |
Honestly, that's a good point. I'll change it when I'm done with mivisionx, or maybe just go ahead and add that to this PR. |
e922d1e
to
3e34331
Compare
3e34331
to
de93ee4
Compare
Everything seems to check out to me. |
Result of 7 packages built:
|
63cde21
to
9aae0dd
Compare
I should note that the |
aba1305
to
33dfc0d
Compare
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.
Looks good, left a nit :)
Also, for another PR, it would be cool to explore using Just an idea, since |
Result of 24 packages built:
|
Does rocm-modules/5/llvm/stage-3/clang.nix#L53-L59 not use the lld linker? Or is this about gfortran? |
Ah, this may be why. nixpkgs/pkgs/development/rocm-modules/5/llvm/stage-3/clang.nix Lines 69 to 72 in 6f2581d
|
33dfc0d
to
eb639f8
Compare
Result of 24 packages built:
|
Result of 24 packages built:
|
eb639f8
to
ccc472d
Compare
Result of 24 packages built:
|
Description of changes
Tracking: #197885
Emulate common ROCm meta layout
These are mainly for users. I strongly suggest NOT using these in nixpkgs derivations.
See: https://rocm.docs.amd.com/en/latest/_images/image.004.png
See: https://rocm.docs.amd.com/en/latest/deploy/linux/os-native/package_manager_integration.html
Things done
sandbox = true
set 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/
)