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 145145config .substitutions .append ( ('%opencl_include_dir' , config .opencl_include_dir ) )
146146
147147if 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' +
149149 config .sycl_include + ' /I' + os .path .join (config .sycl_include , 'sycl' )) )
150150 config .substitutions .append ( ('%include_option' , '/FI' ) )
151151 config .substitutions .append ( ('%debug_option' , '/DEBUG' ) )
154154 config .substitutions .append ( ('%shared_lib' , '/LD' ) )
155155else :
156156 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 ) )
158159 config .substitutions .append ( ('%include_option' , '-include' ) )
159160 config .substitutions .append ( ('%debug_option' , '-g' ) )
160161 config .substitutions .append ( ('%cxx_std_option' , '-std=' ) )
You can’t perform that action at this time.
0 commit comments