Skip to content

Commit a8f8e59

Browse files
committed
[SYCL][E2E] pass -isystem to all tests in lit config file
1 parent 6aa55ea commit a8f8e59

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sycl/test-e2e/lit.cfg.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,7 @@ def open_check_file(file_name):
208208
("%sycl_static_libs_dir", config.sycl_libs_dir + "/../lib")
209209
)
210210
config.substitutions.append(("%obj_ext", ".obj"))
211-
if cl_options:
212-
config.substitutions.append(("%sycl_include", "/imsvc " + config.sycl_include))
213-
else:
214-
config.substitutions.append(("%sycl_include", "-isystem " + config.sycl_include))
211+
config.substitutions.append(("%sycl_include", "-Xclang -isystem -Xclang " + config.sycl_include))
215212
elif platform.system() == "Linux":
216213
config.substitutions.append(("%sycl_static_libs_dir", config.sycl_libs_dir))
217214
config.substitutions.append(("%obj_ext", ".o"))

0 commit comments

Comments
 (0)