Skip to content

Commit 5d7bb10

Browse files
take effect only on windows and force it to icl
1 parent 8c7c04e commit 5d7bb10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,8 +1068,8 @@ if (GGML_CCACHE)
10681068

10691069
if (GGML_CCACHE_FOUND)
10701070
# TODO: should not be set globally
1071-
if (GGML_SYCL)
1072-
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "ccache compiler_type=clang-cl")
1071+
if (GGML_SYCL AND WIN32)
1072+
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "ccache compiler_type=icl")
10731073
else ()
10741074
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
10751075
endif ()

0 commit comments

Comments
 (0)