[PATCH] D20791: Support SOURCE_DATE_EPOCH environment variable

2017-01-03 Thread Ed Maste via Phabricator via cfe-commits
emaste abandoned this revision. emaste added a comment. Abandon in favour of https://reviews.llvm.org/D23934 https://reviews.llvm.org/D20791 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

Re: [PATCH] D20791: Support SOURCE_DATE_EPOCH environment variable

2016-05-30 Thread Ed Maste via cfe-commits
emaste updated this revision to Diff 58977. emaste added a comment. Use gmtime to report in UTC when `SOURCE_DATE_EPOCH` is set. This follows GCC and makes sense given the purpose of `SOURCE_DATE_EPOCH`. For reference here is discussion on the GCC list when this was introduced there:

[PATCH] D20791: Support SOURCE_DATE_EPOCH environment variable

2016-05-30 Thread Ed Maste via cfe-commits
emaste created this revision. emaste added a subscriber: cfe-commits. `SOURCE_DATE_EPOCH` specifies a UNIX timestamp (number of seconds since 01 Jan 1970 00:00:00 UTC) to be used as the timestamp input for build processes e.g. `__DATE__` and `__TIME__` See