forked from OSchip/llvm-project
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
This commit is contained in:
parent
83c633ea1a
commit
46c947af7e
|
@ -28,7 +28,7 @@ class TestingConfig(object):
|
||||||
'TMPDIR', 'TMP', 'TEMP', 'TEMPDIR', 'AVRLIT_BOARD',
|
'TMPDIR', 'TMP', 'TEMP', 'TEMPDIR', 'AVRLIT_BOARD',
|
||||||
'AVRLIT_PORT', 'FILECHECK_OPTS', 'VCINSTALLDIR',
|
'AVRLIT_PORT', 'FILECHECK_OPTS', 'VCINSTALLDIR',
|
||||||
'VCToolsinstallDir', 'VSINSTALLDIR', 'WindowsSdkDir',
|
'VCToolsinstallDir', 'VSINSTALLDIR', 'WindowsSdkDir',
|
||||||
'WindowsSDKLibVersion']
|
'WindowsSDKLibVersion', 'SOURCE_DATE_EPOCH']
|
||||||
|
|
||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
pass_vars.append('INCLUDE')
|
pass_vars.append('INCLUDE')
|
||||||
|
|
Loading…
Reference in New Issue