File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -511,6 +511,8 @@ def open_check_file(file_name):
511511
512512# Check for OpenCL ICD
513513if config .opencl_libs_dir :
514+ config .opencl_libs_dir = quote_path (config .opencl_libs_dir )
515+ config .opencl_include_dir = quote_path (config .opencl_include_dir )
514516 if cl_options :
515517 config .substitutions .append (
516518 ("%opencl_lib" , " " + config .opencl_libs_dir + "/OpenCL.lib" )
@@ -716,9 +718,6 @@ def remove_level_zero_suffix(devices):
716718 config .cuda_libs_dir = os .path .join (os .environ ["CUDA_PATH" ], r"lib64" )
717719 config .cuda_include = os .path .join (os .environ ["CUDA_PATH" ], "include" )
718720
719- config .cuda_libs_dir = quote_path (config .cuda_libs_dir )
720- config .cuda_include = quote_path (config .cuda_include )
721-
722721config .substitutions .append (("%threads_lib" , config .sycl_threads_lib ))
723722
724723if lit_config .params .get ("ze_debug" ):
You can’t perform that action at this time.
0 commit comments