OSDN Git Service

Remove LLVM_ENABLE_TIMESTAMPS
authorChris Bieneman <beanz@apple.com>
Thu, 5 May 2016 19:57:03 +0000 (19:57 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 5 May 2016 19:57:03 +0000 (19:57 +0000)
commit6a6b44f90fe5ed79fe1fd111ff7ac33f10cd3df8
treee7780c66ccba459f766ea23854f49569bf77a0d2
parentd4c22d2f8d89b147c625e3664a7eee6c8bc3ab29
Remove LLVM_ENABLE_TIMESTAMPS

Summary:
As per the discussion on LLVM-dev this patch proposes removing LLVM_ENABLE_TIMESTAMPS.

The only complicated bit of this patch is the Windows support. On windows we used to log an error if /INCREMENTAL was passed to the linker when timestamps were disabled.

With this change since timestamps in code are always disabled we will always compile on windows with /Brepro unless /INCREMENTAL is specified, and we will log a warning when /INCREMENTAL is specified to notify the user that the build will be non-deterministic.

See: http://lists.llvm.org/pipermail/llvm-dev/2016-May/098990.html

Reviewers: bogner, silvas, rnk

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D19892

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268670 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
cmake/modules/HandleLLVMOptions.cmake
include/llvm/Config/config.h.cmake
lib/Support/CommandLine.cpp
utils/release/test-release.sh