take effect only on windows and force it to icl
This commit is contained in:
parent
8c7c04e896
commit
5d7bb10ee5
1 changed files with 2 additions and 2 deletions
|
@ -1068,8 +1068,8 @@ if (GGML_CCACHE)
|
||||||
|
|
||||||
if (GGML_CCACHE_FOUND)
|
if (GGML_CCACHE_FOUND)
|
||||||
# TODO: should not be set globally
|
# TODO: should not be set globally
|
||||||
if (GGML_SYCL)
|
if (GGML_SYCL AND WIN32)
|
||||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "ccache compiler_type=clang-cl")
|
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "ccache compiler_type=icl")
|
||||||
else ()
|
else ()
|
||||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
|
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue