Skip to content

Commit b37ea93

Browse files
committed
[SYCL][E2E] Fix OpenCL lib/include if path has spaces
Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 9e38e3a commit b37ea93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/test-e2e/lit.cfg.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,8 @@ def open_check_file(file_name):
511511

512512
# Check for OpenCL ICD
513513
if 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")

0 commit comments

Comments
 (0)