[PATCH] D146608: [CMake] Build runtimes for riscv64-unknown-fuchsia
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 21 23:32:13 PDT 2023
phosek created this revision.
phosek added reviewers: abrachet, mcgrathr.
Herald added subscribers: VincentWu, vkmr, evandro, luismarques, sameer.abuasal, s.egerton, Jim, benna, psnobl, PkmX, rogfer01, shiva0217, kito-cheng, simoncook, asb, arichardson.
Herald added a project: All.
phosek requested review of this revision.
Herald added subscribers: cfe-commits, pcwang-thead, eopXD.
Herald added a project: clang.
This is necessary to have a complete RISC-V toolchain for Fuchsia.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146608
Files:
clang/cmake/caches/Fuchsia-stage2.cmake
Index: clang/cmake/caches/Fuchsia-stage2.cmake
===================================================================
--- clang/cmake/caches/Fuchsia-stage2.cmake
+++ clang/cmake/caches/Fuchsia-stage2.cmake
@@ -204,7 +204,7 @@
set(BUILTINS_${target}_CMAKE_SYSROOT ${FUCHSIA_${target}_SYSROOT} CACHE PATH "")
endforeach()
- foreach(target x86_64-unknown-fuchsia;aarch64-unknown-fuchsia)
+ foreach(target x86_64-unknown-fuchsia;aarch64-unknown-fuchsia;riscv64-unknown-fuchsia)
# Set the per-target runtimes options.
list(APPEND RUNTIME_TARGETS "${target}")
set(RUNTIMES_${target}_CMAKE_SYSTEM_NAME Fuchsia CACHE STRING "")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146608.507247.patch
Type: text/x-patch
Size: 644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230322/cb15babd/attachment.bin>
More information about the cfe-commits
mailing list