Skip to content

Commit c37f32d

Browse files
committed
test
Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 480e320 commit c37f32d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/sycl-post-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

sycl/source/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff 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()
225232
endfunction(add_sycl_rt_library)
226233

227234
set(SYCL_COMMON_SOURCES

0 commit comments

Comments
 (0)