From 95ddd08b90cb7184f9a97a81bc4808d68cff181f Mon Sep 17 00:00:00 2001 From: Andrei Elovikov Date: Thu, 8 Sep 2022 16:08:40 -0700 Subject: [PATCH] [SYCL] Add MAJOR_VERSION to the name of the sycl library on Win --- SYCL/lit.cfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SYCL/lit.cfg.py b/SYCL/lit.cfg.py index ad3677770f..270c09ead7 100644 --- a/SYCL/lit.cfg.py +++ b/SYCL/lit.cfg.py @@ -185,7 +185,7 @@ config.substitutions.append( ('%opencl_include_dir', config.opencl_include_dir) ) if cl_options: - config.substitutions.append( ('%sycl_options', ' ' + config.sycl_libs_dir + '/../lib/sycl.lib /I' + + config.substitutions.append( ('%sycl_options', ' ' + config.sycl_libs_dir + '/../lib/sycl5.lib /I' + config.sycl_include + ' /I' + os.path.join(config.sycl_include, 'sycl')) ) config.substitutions.append( ('%include_option', '/FI' ) ) config.substitutions.append( ('%debug_option', '/DEBUG' ) )