diff options
author | Chris Bieneman <beanz@apple.com> | 2016-05-05 19:57:03 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-05-05 19:57:03 +0000 |
commit | 62de33c2dbf0ff10e9eaf24c921509c2e8d836f4 (patch) | |
tree | 54ed67f6a7e46c56f7b2608ac5f24455a785d0d3 /llvm/lib/Support/CommandLine.cpp | |
parent | daa902a4b988912a96ea7646cac8da77898f5ef2 (diff) | |
download | bcm5719-llvm-62de33c2dbf0ff10e9eaf24c921509c2e8d836f4.tar.gz bcm5719-llvm-62de33c2dbf0ff10e9eaf24c921509c2e8d836f4.zip |
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
llvm-svn: 268670
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
-rw-r--r-- | llvm/lib/Support/CommandLine.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Support/CommandLine.cpp b/llvm/lib/Support/CommandLine.cpp index 5513ba604dc..54756fb85a9 100644 --- a/llvm/lib/Support/CommandLine.cpp +++ b/llvm/lib/Support/CommandLine.cpp @@ -1775,9 +1775,6 @@ public: if (CPU == "generic") CPU = "(unknown)"; OS << ".\n" -#if (ENABLE_TIMESTAMPS == 1) - << " Built " << __DATE__ << " (" << __TIME__ << ").\n" -#endif << " Default target: " << sys::getDefaultTargetTriple() << '\n' << " Host CPU: " << CPU << '\n'; } |