File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -195,8 +195,8 @@ def find_objects():
195195 args .cxx_compiler = "icpx"
196196 args .compiler_root = None
197197 icx_path = subprocess .check_output (["which" , "icx" ])
198- bin_dir = os .path .dirname (os . path . dirname ( icx_path ) )
199- args .bin_llvm = os .path .join (bin_dir .decode ("utf-8" ), "bin-llvm " )
198+ bin_dir = os .path .dirname (icx_path )
199+ args .bin_llvm = os .path .join (bin_dir .decode ("utf-8" ), "compiler " )
200200 else :
201201 args_to_validate = [
202202 "c_compiler" ,
Original file line number Diff line number Diff line change @@ -134,8 +134,8 @@ def run(
134134 args .cxx_compiler = "icpx"
135135 args .compiler_root = None
136136 icx_path = subprocess .check_output (["which" , "icx" ])
137- bin_dir = os .path .dirname (os . path . dirname ( icx_path ) )
138- args .bin_llvm = os .path .join (bin_dir .decode ("utf-8" ), "bin-llvm " )
137+ bin_dir = os .path .dirname (icx_path )
138+ args .bin_llvm = os .path .join (bin_dir .decode ("utf-8" ), "compiler " )
139139 else :
140140 args_to_validate = [
141141 "c_compiler" ,
You can’t perform that action at this time.
0 commit comments