File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
utils/swift_build_support/swift_build_support/products Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,16 @@ def should_test(self, host_target):
52
52
return self .args .test_toolchainbenchmarks
53
53
54
54
def _get_test_environment (self , host_target ):
55
+ env = {
56
+ "SWIFT_DETERMINISTIC_HASHING" : "1"
57
+ }
55
58
if platform .system () == 'Darwin' :
56
59
# the resulting binaries would search first in /usr/lib/swift,
57
60
# we need to prefer the libraries we just built
58
- return { 'DYLD_LIBRARY_PATH' : os .path .join (
61
+ env [ 'DYLD_LIBRARY_PATH' ] = os .path .join (
59
62
_get_toolchain_path (host_target , self , self .args ),
60
- 'usr' , 'lib' , 'swift' , 'macosx' )}
61
-
62
- return None
63
+ 'usr' , 'lib' , 'swift' , 'macosx' )
64
+ return env
63
65
64
66
def test (self , host_target ):
65
67
"""Just run a single instance of the command for both .debug and
You can’t perform that action at this time.
0 commit comments