summaryrefslogtreecommitdiffstats
path: root/clang/cmake/caches/Fuchsia.cmake
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2017-04-13 21:09:42 +0000
committerPetr Hosek <phosek@chromium.org>2017-04-13 21:09:42 +0000
commit60f54ac8c5d46fb73d23fe45ae326d492474e57c (patch)
tree992a81b61367b26ddb8ca0872731487183263eeb /clang/cmake/caches/Fuchsia.cmake
parente953dec673b6f2ec1e81445c16d799e29f4f76b2 (diff)
downloadbcm5719-llvm-60f54ac8c5d46fb73d23fe45ae326d492474e57c.tar.gz
bcm5719-llvm-60f54ac8c5d46fb73d23fe45ae326d492474e57c.zip
[CMake] Support building Fuchsia toolchain on Darwin
This is already supported on Linux but on Darwin it requires some extra flags. Differential Revision: https://reviews.llvm.org/D30958 llvm-svn: 300257
Diffstat (limited to 'clang/cmake/caches/Fuchsia.cmake')
-rw-r--r--clang/cmake/caches/Fuchsia.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/cmake/caches/Fuchsia.cmake b/clang/cmake/caches/Fuchsia.cmake
index a90647e4ae9..c8a8cf6d58b 100644
--- a/clang/cmake/caches/Fuchsia.cmake
+++ b/clang/cmake/caches/Fuchsia.cmake
@@ -19,6 +19,12 @@ if(NOT APPLE)
set(BOOTSTRAP_LLVM_ENABLE_LLD ON CACHE BOOL "")
endif()
+if(APPLE)
+ set(COMPILER_RT_ENABLE_IOS OFF CACHE BOOL "")
+ set(COMPILER_RT_ENABLE_TVOS OFF CACHE BOOL "")
+ set(COMPILER_RT_ENABLE_WATCHOS OFF CACHE BOOL "")
+endif()
+
set(CLANG_BOOTSTRAP_TARGETS
check-all
check-llvm
OpenPOWER on IntegriCloud