File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11// REQUIRES: windows
22// REQUIRES: build-and-run-mode
33
4- // RUN: %clangxx --driver-mode=cl /std:c++17 /EHsc /imsvc %sycl_include -I%opencl_include_dir %s -o %t.out /link /defaultlib:%sycl_static_libs_dir/sycl.lib
4+ // RUN: %clangxx --driver-mode=cl /std:c++17 /EHsc %sycl_include -I%opencl_include_dir %s -o %t.out /link /defaultlib:%sycl_static_libs_dir/sycl.lib
55// RUN: %{run} %t.out
66
77// This test checks that if program is linked with version-agnostic import library sycl.lib then sycl program works as expected.
Original file line number Diff line number Diff line change 151151 ("%sycl_static_libs_dir" , config .sycl_libs_dir + "/../lib" )
152152 )
153153 config .substitutions .append (("%obj_ext" , ".obj" ))
154- config .substitutions .append (("/imsvc %sycl_include" , config .sycl_include ))
154+ config .substitutions .append (("%sycl_include" , "/imsvc " + config .sycl_include ))
155155elif platform .system () == "Linux" :
156156 config .substitutions .append (("%sycl_static_libs_dir" , config .sycl_libs_dir ))
157157 config .substitutions .append (("%obj_ext" , ".o" ))
158- config .substitutions .append (("-isystem %sycl_include" , config .sycl_include ))
158+ config .substitutions .append (("%sycl_include" , "-isystem " + config .sycl_include ))
159159
160160# Intel GPU FAMILY availability
161161if lit_config .params .get ("gpu-intel-gen11" , False ):
You can’t perform that action at this time.
0 commit comments