File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ config.test_source_root = os.path.dirname(__file__)
27
27
fort_obj_root = getattr (config , 'fort_obj_root' , None )
28
28
if fort_obj_root is not None :
29
29
config .test_exec_root = os .path .join (fort_obj_root , 'test' )
30
+ config .fort_bin_dir = fort_bin_dir = os .path .join (fort_obj_root , 'bin' )
30
31
31
32
# Set llvm_{src,obj}_root for use by others.
32
33
config .llvm_src_root = getattr (config , 'llvm_src_root' , None )
@@ -39,7 +40,7 @@ if fort_obj_root is not None:
39
40
lit .fatal ('No LLVM tools dir set!' )
40
41
# Set PATH - prepend fort bin dir and LLVM tools dir
41
42
# Fort bin dir needs to come first in case it is an out of tree build
42
- path = os .path .pathsep .join ((fort_obj_root , llvm_tools_dir , config .environment ['PATH' ]))
43
+ path = os .path .pathsep .join ((fort_bin_dir , llvm_tools_dir , config .environment ['PATH' ]))
43
44
config .environment ['PATH' ] = path
44
45
45
46
llvm_libs_dir = getattr (config , 'llvm_libs_dir' , None )
You can’t perform that action at this time.
0 commit comments