Repository navigation
rocmPackages.llvm.llvm: backport patches to support arm64e.x1 support in base llvm - #567075
Merged
Merged
Conversation
LunNova
reviewed
Sep 26, 2026
LunNova
left a comment
Member
There was a problem hiding this comment.
ty for picking this up.
if this works with ca drvs good to go as is, otherwise suggested series of backports instead
LunNova
approved these changes
Sep 26, 2026
PR NixOS#564039 introduced support for arm64e_x1 in base llvm. The support required changes introduced in 22.1.0 not otherwise present in amd fork of llvm based on 22.0.0. Backport additional patches to get allow the patch to cleanly apply.
Contributor
Author
|
2 of 13 tasks
LunNova
approved these changes
Sep 27, 2026
Contributor
Author
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Rocm fork of llvm uses 22.0.0 as a base until 7.2.4. The release after that is release 10 and it jumps to llvm 23.0.0 as a base.
Removing the patch allows llvm to build again for hardware other thanarm64e.x1.If support need to be extended toarm64e.x1before the update to Rocm 10 a separate patch would need to be created. I don't have access to relevant hardware so I won't be attempting that change.@LunNova provided necessary patch changes to support
arm64e.x1inrocmPackages.llvm.llvmcc @NixOS/rocm
cc @vcunat
Closes: #565696
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.