This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 145
145
config .substitutions .append ( ('%opencl_include_dir' , config .opencl_include_dir ) )
146
146
147
147
if cl_options :
148
- config .substitutions .append ( ('%sycl_options' , ' sycl.lib /I' +
148
+ config .substitutions .append ( ('%sycl_options' , ' ' + config . sycl_libs_dir + '/../lib/ sycl.lib /I' +
149
149
config .sycl_include + ' /I' + os .path .join (config .sycl_include , 'sycl' )) )
150
150
config .substitutions .append ( ('%include_option' , '/FI' ) )
151
151
config .substitutions .append ( ('%debug_option' , '/DEBUG' ) )
154
154
config .substitutions .append ( ('%shared_lib' , '/LD' ) )
155
155
else :
156
156
config .substitutions .append ( ('%sycl_options' , ' -lsycl -I' +
157
- config .sycl_include + ' -I' + os .path .join (config .sycl_include , 'sycl' )) )
157
+ config .sycl_include + ' -I' + os .path .join (config .sycl_include , 'sycl' ) +
158
+ ' -L' + config .sycl_libs_dir ) )
158
159
config .substitutions .append ( ('%include_option' , '-include' ) )
159
160
config .substitutions .append ( ('%debug_option' , '-g' ) )
160
161
config .substitutions .append ( ('%cxx_std_option' , '-std=' ) )
You can’t perform that action at this time.
0 commit comments