This is an archive of the discontinued LLVM Phabricator instance.

[Bazel] Add support for targeting Linux riscv64
Needs ReviewPublic

Authored by schwab on May 3 2022, 1:33 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None

Diff Detail

Event Timeline

schwab created this revision.May 3 2022, 1:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2022, 1:33 AM
schwab requested review of this revision.May 3 2022, 1:33 AM
schwab updated this revision to Diff 430655.May 19 2022, 6:44 AM

The CI is still using Bazel 4.0, so it doesn't have linux_riscv64

To add it, we'd need to upgrade to 5.x, which is nontrivial because of the current use of remote execution, unfortunately. We're looking into moving these builders over to building locally, but when I tried it out I ran into some issues: https://github.com/google/llvm-premerge-checks/pull/394. @goncharov is working on making this all better supported, I believe