[PATCH] D108332: Have lit preserve SOURCE_DATE_EPOCH
serge via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 18 14:57:17 PDT 2021
serge-sans-paille created this revision.
serge-sans-paille added reviewers: sylvestre.ledru, tstellar, zturner, dblaikie.
Herald added a subscriber: delcypher.
serge-sans-paille requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This environment variable has been standardized for reproducible builds. Setting
it can help to have reproducible tests too, so keep it as part of the testing
env when set.
See https://reproducible-builds.org/docs/source-date-epoch/
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108332
Files:
llvm/utils/lit/lit/TestingConfig.py
Index: llvm/utils/lit/lit/TestingConfig.py
===================================================================
--- llvm/utils/lit/lit/TestingConfig.py
+++ llvm/utils/lit/lit/TestingConfig.py
@@ -28,7 +28,7 @@
'TMPDIR', 'TMP', 'TEMP', 'TEMPDIR', 'AVRLIT_BOARD',
'AVRLIT_PORT', 'FILECHECK_OPTS', 'VCINSTALLDIR',
'VCToolsinstallDir', 'VSINSTALLDIR', 'WindowsSdkDir',
- 'WindowsSDKLibVersion']
+ 'WindowsSDKLibVersion', 'SOURCE_DATE_EPOCH]
if sys.platform == 'win32':
pass_vars.append('INCLUDE')
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108332.367328.patch
Type: text/x-patch
Size: 622 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210818/542868da/attachment.bin>
More information about the llvm-commits
mailing list