[clang] [Fuchsia] Support building runtimes for RISC-V on Linux (PR #66025)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 11 15:53:27 PDT 2023
llvmbot wrote:
@llvm/pr-subscribers-clang
<details>
<summary>Changes</summary>
We support RISC-V on Linux as the host platform for Fuchsia.
--
Full diff: https://github.com/llvm/llvm-project/pull/66025.diff
1 Files Affected:
- (modified) clang/cmake/caches/Fuchsia-stage2.cmake (+1-1)
<pre>
diff --git a/clang/cmake/caches/Fuchsia-stage2.cmake b/clang/cmake/caches/Fuchsia-stage2.cmake
index 4890040b1b6a2b4..bc4d9f1462b1814 100644
--- a/clang/cmake/caches/Fuchsia-stage2.cmake
+++ b/clang/cmake/caches/Fuchsia-stage2.cmake
@@ -132,7 +132,7 @@ if(WIN32 OR LLVM_WINSYSROOT)
set(RUNTIMES_${target}_CMAKE_MODULE_LINKER_FLAGS ${WINDOWS_LINK_FLAGS} CACHE STRING "")
endif()
-foreach(target aarch64-unknown-linux-gnu;armv7-unknown-linux-gnueabihf;i386-unknown-linux-gnu;x86_64-unknown-linux-gnu)
+foreach(target aarch64-unknown-linux-gnu;armv7-unknown-linux-gnueabihf;i386-unknown-linux-gnu;riscv64-unknown-linux-gnu;x86_64-unknown-linux-gnu)
if(LINUX_${target}_SYSROOT)
# Set the per-target builtins options.
list(APPEND BUILTIN_TARGETS "${target}")
</pre>
</details>
https://github.com/llvm/llvm-project/pull/66025
More information about the cfe-commits
mailing list