File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 353
353
if os .path .exists (xptifw_lib_dir ) and os .path .exists (os .path .join (xptifw_includes , 'xpti' , 'xpti_trace_framework.h' )):
354
354
config .available_features .add ('xptifw' )
355
355
config .substitutions .append (('%xptifw_dispatcher' , xptifw_dispatcher ))
356
- if platform .system () == "Linux" :
356
+ if cl_options :
357
+ config .substitutions .append (('%xptifw_lib' , " {}/xptifw.lib /I{} " .format (xptifw_lib_dir , xptifw_includes )))
358
+ else :
357
359
config .substitutions .append (('%xptifw_lib' , " -L{} -lxptifw -I{} " .format (xptifw_lib_dir , xptifw_includes )))
358
- elif platform .system () == "Windows" :
359
- if cl_options :
360
- config .substitutions .append (('%xptifw_lib' , " {}/xptifw.lib /I{} " .format (xptifw_lib_dir , xptifw_includes )))
361
- else :
362
- config .substitutions .append (('%xptifw_lib' , " {}/xptifw.lib -I{} " .format (xptifw_lib_dir , xptifw_includes )))
363
360
364
361
365
362
llvm_tools = ["llvm-spirv" , "llvm-link" ]
You can’t perform that action at this time.
0 commit comments