[PATCH] D30958: [CMake] Support building Fuchsia toolchain on Darwin
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 13 14:22:36 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL300257: [CMake] Support building Fuchsia toolchain on Darwin (authored by phosek).
Changed prior to commit:
https://reviews.llvm.org/D30958?vs=92591&id=95214#toc
Repository:
rL LLVM
https://reviews.llvm.org/D30958
Files:
cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
cfe/trunk/cmake/caches/Fuchsia.cmake
Index: cfe/trunk/cmake/caches/Fuchsia.cmake
===================================================================
--- cfe/trunk/cmake/caches/Fuchsia.cmake
+++ cfe/trunk/cmake/caches/Fuchsia.cmake
@@ -19,6 +19,12 @@
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
Index: cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
===================================================================
--- cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
+++ cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
@@ -19,6 +19,10 @@
set(CLANG_DEFAULT_LINKER lld CACHE STRING "")
endif()
+if(APPLE)
+ set(LLDB_CODESIGN_IDENTITY "" CACHE STRING "")
+endif()
+
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -gline-tables-only -DNDEBUG" CACHE STRING "")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -gline-tables-only -DNDEBUG" CACHE STRING "")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30958.95214.patch
Type: text/x-patch
Size: 1097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170413/e1f05886/attachment.bin>
More information about the llvm-commits
mailing list