]> granicus.if.org Git - clang/commitdiff
[CMake] For multi-stage builds to be deterministic we need to disable timestamps.
authorChris Bieneman <beanz@apple.com>
Wed, 10 Feb 2016 02:17:21 +0000 (02:17 +0000)
committerChris Bieneman <beanz@apple.com>
Wed, 10 Feb 2016 02:17:21 +0000 (02:17 +0000)
Duh! With this change I've verified -O3 builds are deterministic.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260350 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/caches/3-stage-base.cmake

index 6c93ec0b477d3ccb4e6bb712d248f849af740522..90d40f7d95f4f272027f529f4286a59af28f3b3d 100644 (file)
@@ -3,6 +3,7 @@ set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "")
 set(LLVM_BUILD_EXTERNAL_COMPILER_RT ON CACHE BOOL "")
 set(LLVM_TARGETS_TO_BUILD X86 CACHE STRING "")
 set(BOOTSTRAP_LLVM_ENABLE_LTO ON CACHE BOOL "")
+set(LLVM_ENABLE_TIMESTAMPS OFF CACHE BOOL "")
 
 set(CLANG_BOOTSTRAP_TARGETS
   clang