[PATCH] D103926: [CMake][Fuchsia] Disable vcruntime for first stage as well

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 8 13:42:12 PDT 2021


phosek created this revision.
phosek added reviewers: haowei, leonardchan.
Herald added a subscriber: mgorny.
phosek requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Using vcruntime is breaking libc++ headers so don't use it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103926

Files:
  clang/cmake/caches/Fuchsia.cmake


Index: clang/cmake/caches/Fuchsia.cmake
===================================================================
--- clang/cmake/caches/Fuchsia.cmake
+++ clang/cmake/caches/Fuchsia.cmake
@@ -66,6 +66,7 @@
   set(LIBCXX_ENABLE_FILESYSTEM OFF CACHE BOOL "")
   set(LIBCXX_ENABLE_ABI_LINKER_SCRIPT OFF CACHE BOOL "")
   set(LIBCXX_ENABLE_STATIC_ABI_LIBRARY OFF CACHE BOOL "")
+  set(LIBCXX_NO_VCRUNTIME ON CACHE BOOL "")
   set(BUILTINS_CMAKE_ARGS -DCMAKE_SYSTEM_NAME=Windows CACHE STRING "")
   set(RUNTIMES_CMAKE_ARGS -DCMAKE_SYSTEM_NAME=Windows CACHE STRING "")
   set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx" CACHE STRING "")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103926.350704.patch
Type: text/x-patch
Size: 623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210608/90b44d9c/attachment.bin>


More information about the cfe-commits mailing list