Skip to content

Commit 7a8bb50

Browse files
author
Olivier Chafik
committed
ci: attempt to use sccache + HIP
1 parent aa6fb13 commit 7a8bb50

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ggml/src/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ if (GGML_CCACHE)
100100
set(GGML_CCACHE_VARIANT ccache)
101101
else()
102102
set(GGML_CCACHE_VARIANT sccache)
103+
if(GGML_HIP)
104+
# TODO: should not be set globally
105+
set(GLOBAL CMAKE_HIP_COMPILER_LAUNCHER sccache)
106+
endif()
103107
endif()
104108
# TODO: should not be set globally
105109
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${GGML_CCACHE_VARIANT}")

0 commit comments

Comments
 (0)