File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,11 @@ endif()
273
273
# The following cmake code perfoms search for the such translator.
274
274
# But, until the transition is not completed, this code is under IGC_OPTION__LINK_KHRONOS_SPIRV_TRANSLATOR condition
275
275
# Remove this condition after transition period is over
276
- option (IGC_OPTION__USE_KHRONOS_SPIRV_TRANSLATOR_IN_SC "[Experimental] Enable usage of Khronos SPIRV-LLVM-Translator in Scalar Compiler" OFF )
276
+ if (CMAKE_SYSTEM_NAME MATCHES "Windows" )
277
+ option (IGC_OPTION__USE_KHRONOS_SPIRV_TRANSLATOR_IN_SC "[Experimental] Enable usage of Khronos SPIRV-LLVM-Translator in Scalar Compiler" OFF )
278
+ else ()
279
+ option (IGC_OPTION__USE_KHRONOS_SPIRV_TRANSLATOR_IN_SC "[Experimental] Enable usage of Khronos SPIRV-LLVM-Translator in Scalar Compiler" ON )
280
+ endif ()
277
281
278
282
# TODO: Change this flag to opt-out or remove completely once
279
283
# opaque pointers are fully supported within the IGC stack.
You can’t perform that action at this time.
0 commit comments