[clang] 635cbef - [CMake][Fuchsia] Disable in-process cc1
Petr Hosek via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 22 10:12:01 PST 2020
Author: Petr Hosek
Date: 2020-01-22T10:11:54-08:00
New Revision: 635cbef5056e069679a25b75faf25ed27adf6a48
URL: https://github.com/llvm/llvm-project/commit/635cbef5056e069679a25b75faf25ed27adf6a48
DIFF: https://github.com/llvm/llvm-project/commit/635cbef5056e069679a25b75faf25ed27adf6a48.diff
LOG: [CMake][Fuchsia] Disable in-process cc1
The in-process cc1 currently breaks Goma client and therefore prevents
the use of tip-of-tree Clang with Goma, so we disable the in-process cc1
in our toolchain until this issue is resolved.
Added:
Modified:
clang/cmake/caches/Fuchsia-stage2.cmake
Removed:
################################################################################
diff --git a/clang/cmake/caches/Fuchsia-stage2.cmake b/clang/cmake/caches/Fuchsia-stage2.cmake
index b338f1b8a08f..52d4c9ca1d43 100644
--- a/clang/cmake/caches/Fuchsia-stage2.cmake
+++ b/clang/cmake/caches/Fuchsia-stage2.cmake
@@ -24,6 +24,7 @@ if(NOT APPLE)
set(CLANG_DEFAULT_OBJCOPY llvm-objcopy CACHE STRING "")
endif()
set(CLANG_DEFAULT_RTLIB compiler-rt CACHE STRING "")
+set(CLANG_SPAWN_CC1 ON CACHE BOOL "")
set(CLANG_ENABLE_ARCMT OFF CACHE BOOL "")
set(CLANG_ENABLE_STATIC_ANALYZER ON CACHE BOOL "")
set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "")
More information about the cfe-commits
mailing list