Repository navigation
nix-builder: add support for ROCm 7.14 #807
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
ffea9d7
Rename rocm-packages to rocm-packages-old
danieldk 8cf97b0
Fork the `rocm-packages` directory
danieldk 0eeb3cd
First stab at updating the rhel2nix script
danieldk aa423bc
Generate 7.14.1 manifest, delete old
danieldk 23f3e26
Hook up new ROCm set for testing
danieldk c28878b
aotrition: add support for 7.14
danieldk 2f92351
Support setgid directories in the generic builder
danieldk 1f9edf3
Add overrides, remove cycle, most of ROCm is now buildable
danieldk cb5d856
aotriton: fix compatibility with new ROCm set
danieldk bdd476d
rocmPackages.patchelf: init at 0.18.d0f70ee
danieldk 356dbec
rocmPackages: adjust synthesized packages
danieldk 195bb65
python3Packages.torch: support building against new rocmPackages
danieldk e3b7eee
nix-builder: support compiling AoT Torch kernels against new ROCm pac…
danieldk 83075de
nix-builder: enable Torch with ROCm 7.14
danieldk d43e7fb
nix-builder: cleanups
danieldk 4bb4eb7
Update variants
danieldk 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
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
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,24 @@ | ||
| { | ||
| runCommand, | ||
| llvm, | ||
| }: | ||
|
|
||
| runCommand "rocm-llvm-binutils-${llvm.version}" { preferLocalBuild = true; } '' | ||
| mkdir -p $out/bin | ||
|
|
||
| for prog in ${llvm}/llvm/bin/*; do | ||
| ln -sf $prog $out/bin/$(basename $prog) | ||
| done | ||
|
|
||
| ln -s ${llvm}/llvm/bin/llvm-ar $out/bin/ar | ||
| ln -s ${llvm}/llvm/bin/llvm-as $out/bin/as | ||
| ln -s ${llvm}/llvm/bin/llvm-dwp $out/bin/dwp | ||
| ln -s ${llvm}/llvm/bin/llvm-nm $out/bin/nm | ||
| ln -s ${llvm}/llvm/bin/llvm-objcopy $out/bin/objcopy | ||
| ln -s ${llvm}/llvm/bin/llvm-objdump $out/bin/objdump | ||
| ln -s ${llvm}/llvm/bin/llvm-ranlib $out/bin/ranlib | ||
| ln -s ${llvm}/llvm/bin/llvm-readelf $out/bin/readelf | ||
| ln -s ${llvm}/llvm/bin/llvm-size $out/bin/size | ||
| ln -s ${llvm}/llvm/bin/llvm-strip $out/bin/strip | ||
| ln -s ${llvm}/llvm/bin/lld $out/bin/ld | ||
| '' |
Oops, something went wrong.
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.
Neato