[PATCH] D124830: [Bazel] Add support for targeting Linux riscv64
Andreas Schwab via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 19 06:44:53 PDT 2022
schwab updated this revision to Diff 430655.
Herald added a subscriber: shiva0217.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124830/new/
https://reviews.llvm.org/D124830
Files:
utils/bazel/llvm-project-overlay/llvm/config.bzl
Index: utils/bazel/llvm-project-overlay/llvm/config.bzl
===================================================================
--- utils/bazel/llvm-project-overlay/llvm/config.bzl
+++ utils/bazel/llvm-project-overlay/llvm/config.bzl
@@ -86,6 +86,7 @@
"@bazel_tools//src/conditions:darwin_x86_64": native_arch_defines("X86", "x86_64-unknown-darwin"),
"@bazel_tools//src/conditions:linux_aarch64": native_arch_defines("AArch64", "aarch64-unknown-linux-gnu"),
"@bazel_tools//src/conditions:linux_ppc64le": native_arch_defines("PowerPC", "powerpc64le-unknown-linux-gnu"),
+ "@bazel_tools//src/conditions:linux_riscv64": native_arch_defines("RISCV", "riscv64-unknown-linux-gnu"),
"@bazel_tools//src/conditions:linux_s390x": native_arch_defines("SystemZ", "systemz-unknown-linux_gnu"),
"//conditions:default": native_arch_defines("X86", "x86_64-unknown-linux-gnu"),
}) + [
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124830.430655.patch
Type: text/x-patch
Size: 893 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220519/de5be1e3/attachment.bin>
More information about the llvm-commits
mailing list