-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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: use CMake 3.9.2 when building clr #306375
Conversation
Signed-off-by: Gavin Zhao <git@gzgz.dev>
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.
I have reviewed the code and it looks good to me.
The version hashes match the ones from the update to 3.9.2 at #304111, and I have tested that the downloads for the updated source work.
I'm a bit surprised it was really only necessary to change the CMake version used by clr
and not anywhere else, but your testing seems to confirm that.
That's enough for me to approve this change.
I am currently still running nixpkgs-review
, to check if this change fixes all of the broken packages, and confirm what you saw in your testing.
Since the build is broken on master anyways, if anyone decides they want to just merge this and not wait for nixpkgs-review
to finish, go ahead.
Result of 12 packages marked as broken and skipped:
1 package failed to build:
82 packages built:
I have some unknown issue with the |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/3826 |
@ulrikstrid do you have time to take a look at this? I just mentioned this PR on Discourse as well, to spread the review load a bit/in case you are busy. |
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.
I'm okay with this since it unblocks rocm until the cmake update has landed in master
Great, thanks. |
Seems like this can be reverted, as 3.29.2 is in unstable: |
Fixes #305641.
Description of changes
Ensure CMake 3.9.2 is used to build clr, both for ROCm 5 and 6. The changes can be reverted once CMake 3.9.2 lands in unstable, if desired.
I have tested that
rocsparse
(5 and 6),rocfft
(6), andcomposable_kernel
(6) all build.See #305641 for more details.
cc @mschwaig
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.