summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 779f909)
raw | patch | inline | side by side (parent: 779f909)
author | Chris Bieneman <beanz@apple.com> | |
Tue, 3 Oct 2017 21:59:53 +0000 (21:59 +0000) | ||
committer | Chris Bieneman <beanz@apple.com> | |
Tue, 3 Oct 2017 21:59:53 +0000 (21:59 +0000) |
* Turn off embedded compiler-rt builds in stage1
* Support generating Xcode toolchains from Stage2 build configurations
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314854 91177308-0d34-0410-b5e6-96231b3b80d8
* Support generating Xcode toolchains from Stage2 build configurations
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314854 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/caches/Apple-stage1.cmake | patch | blob | history | |
cmake/caches/Apple-stage2.cmake | patch | blob | history |
index 32159811a884a9263f86835d386d1cfe5208821d..30b8972d276184f97621de70bd459aa97c5d1875 100644 (file)
CMAKE_OSX_ARCHITECTURES
CACHE STRING "")
+# Disabling embedded darwin compiler-rt on stage1 builds is required because we
+# don't build stage1 to support arm code generation.
+set(COMPILER_RT_ENABLE_IOS OFF CACHE BOOL "")
+set(COMPILER_RT_ENABLE_WATCHOS OFF CACHE BOOL "")
+set(COMPILER_RT_ENABLE_TVOS OFF CACHE BOOL "")
+
set(BOOTSTRAP_LLVM_ENABLE_LTO ON CACHE BOOL "")
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
clang-test-depends
distribution
install-distribution
+ install-xcode-toolchain
clang CACHE STRING "")
#bootstrap
index f07973dc0ab2261685c67eeeabdcd643bf0f0f23..8826fc12de993d330d7bbefb9dae2a0e260794f5 100644 (file)
set(LIBCXX_INCLUDE_TESTS OFF CACHE BOOL "")
set(LLVM_LTO_VERSION_OFFSET 3000 CACHE STRING "")
+# Generating Xcode toolchains is useful for developers wanting to build and use
+# clang without installing over existing tools.
+set(LLVM_CREATE_XCODE_TOOLCHAIN ON CACHE BOOL "")
+
# setup toolchain
set(LLVM_INSTALL_TOOLCHAIN_ONLY ON CACHE BOOL "")
set(LLVM_TOOLCHAIN_TOOLS