File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ jobs:
105105 uses : ./.github/workflows/sycl-windows-build.yml
106106 with :
107107 compiler : icx
108- build_configure_extra_args : --cmake-opt=-DCMAKE_C_FLAGS="/clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch -Wno-builtin-macro-redefined /U__has_include " --cmake-opt=-DCMAKE_CXX_FLAGS="/clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch -Wno-builtin-macro-redefined /U__has_include " --cmake-opt="-DCMAKE_EXE_LINKER_FLAGS=/manifest:no" --cmake-opt="-DCMAKE_MODULE_LINKER_FLAGS=/manifest:no" --cmake-opt="-DCMAKE_SHARED_LINKER_FLAGS=/manifest:no"
108+ build_configure_extra_args : --cmake-opt=-DCMAKE_C_FLAGS="/clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" --cmake-opt=-DCMAKE_CXX_FLAGS="/clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" --cmake-opt="-DCMAKE_EXE_LINKER_FLAGS=/manifest:no" --cmake-opt="-DCMAKE_MODULE_LINKER_FLAGS=/manifest:no" --cmake-opt="-DCMAKE_SHARED_LINKER_FLAGS=/manifest:no"
109109 build_cache_suffix : icx
110110
111111 e2e-win :
Original file line number Diff line number Diff line change @@ -222,6 +222,13 @@ function(add_sycl_rt_library LIB_NAME LIB_OBJ_NAME)
222222 target_compile_options (${LIB_OBJ_NAME} PRIVATE
223223 -Winstantiation-after-specialization)
224224 endif ()
225+
226+ if (WIN32 AND CMAKE_CXX_COMPILER_ID MATCHES "IntelLLVM" )
227+ set (VERSION_FILE "${CMAKE_BINARY_DIR} /VERSION" )
228+ if (EXISTS ${VERSION_FILE} )
229+ file (REMOVE ${VERSION_FILE} )
230+ endif ()
231+ endif ()
225232endfunction (add_sycl_rt_library)
226233
227234set (SYCL_COMMON_SOURCES
You can’t perform that action at this time.
0 commit comments