mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
Have lit preserve SOURCE_DATE_EPOCH
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/
Differential Revision: https://reviews.llvm.org/D108332
(cherry picked from commit 46c947af7e
)
This commit is contained in:
parent
bfb1bd1b99
commit
eecd0f055b
@ -28,7 +28,7 @@ class TestingConfig(object):
|
||||
'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')
|
||||
|
Loading…
Reference in New Issue
Block a user