Skip to content

Commit 065af3f

Browse files
committed
[SYCL][E2E] fix lit config file
1 parent 3a54abc commit 065af3f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sycl/test-e2e/Basic/windows_version_agnostic_sycl_lib.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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.

sycl/test-e2e/lit.cfg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@
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))
155155
elif 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
161161
if lit_config.params.get("gpu-intel-gen11", False):

0 commit comments

Comments
 (0)