PR #32812: [XLA:CPU] Add support for riscv64 #33519
Merged
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.
PR #32812: [XLA:CPU] Add support for riscv64
Imported from GitHub PR #32812
Co-author: @kxxt
📝 Summary of Changes:
This pull request adds support for RISC-V 64 architecture across the build system, code generation, and Python packaging infrastructure.
🎯 Justification:
The changes ensure that riscv64 is recognized as a valid target in Bazel build configurations, LLVM toolchain selection, Python manylinux compliance checks, and related tests and patches. This allows the project to build and test components for riscv64 alongside other supported architectures.
🚀 Kind of Contribution: ✨ New Feature
Copybara import of the project:
--
0d02393 by gns [email protected]:
[XLA:CPU] Add support for riscv64
Co-authored-by: Levi Zim [email protected]
--
5d95fb4 by gns [email protected]:
Refresh
rules_pythonriscv64 patchCo-authored-by: Levi Zim [email protected]
Merging this change closes #32812
FUTURE_COPYBARA_INTEGRATE_REVIEW=#32812 from infiWang:riscv64 5d95fb4