diff options
| author | Hans Wennborg <hans@hanshq.net> | 2016-01-14 23:18:20 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2016-01-14 23:18:20 +0000 |
| commit | 59162da0eb0e05d517587ea94883354bda813ec0 (patch) | |
| tree | 3639a8bb539ebc4182e9d9d410021f39f3a67e14 /llvm/lib/Analysis | |
| parent | f4bb2f0dc322e15dddda95eafbb2eb0485f03e69 (diff) | |
| download | bcm5719-llvm-59162da0eb0e05d517587ea94883354bda813ec0.tar.gz bcm5719-llvm-59162da0eb0e05d517587ea94883354bda813ec0.zip | |
Don't use __DATE__ or __TIME__; it breaks release builds (PR26145)
The release builds are configured to be reproducible, so that the
binaries compare equal between bootstrap iterations. The OpenMP
run-time build was failing like this:
runtime/src/kmp_version.c:108:79: error: expansion of date or time macro is not reproducible [-Werror,-Wdate-time]
char const __kmp_version_build_time[] = KMP_VERSION_PREFIX "build time: " __DATE__ " " __TIME__;
Figuring as the build currently doesn't set LIBOMP_DATE, it's probably
OK to skip setting the build time here too.
llvm-svn: 257833
Diffstat (limited to 'llvm/lib/Analysis')
0 files changed, 0 insertions, 0 deletions

