Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1aa87ee

Browse filesBrowse files
shou692199Rbiessy
andauthored
[SYCL] Fix build on Windows when ccache enabled (ggml-org#9954) (ggml-org#9976)
* [SYCL] Fix build on Windows when ccache enabled (ggml-org#9954) * take effect only on windows and force it to icl --------- Co-authored-by: Romain Biessy <romain.biessy@codeplay.com>
1 parent 9ffcc9e commit 1aa87ee
Copy full SHA for 1aa87ee

File tree

Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-1
lines changed

‎ggml/src/CMakeLists.txt

Copy file name to clipboardExpand all lines: ggml/src/CMakeLists.txt
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ if (GGML_CCACHE)
7676
set(GGML_CCACHE_VARIANT sccache)
7777
endif()
7878
# TODO: should not be set globally
79-
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${GGML_CCACHE_VARIANT}")
79+
if (GGML_SYCL AND GGML_CCACHE_FOUND AND WIN32)
80+
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "ccache compiler_type=icl")
81+
else ()
82+
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${GGML_CCACHE_VARIANT}")
83+
endif ()
8084
set(ENV{CCACHE_SLOPPINESS} time_macros)
8185
message(STATUS "${GGML_CCACHE_VARIANT} found, compilation results will be cached. Disable with GGML_CCACHE=OFF.")
8286
else()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.