ci: attempt to use sccache + HIP
This commit is contained in:
parent
aa6fb13213
commit
7a8bb50714
1 changed files with 4 additions and 0 deletions
|
@ -100,6 +100,10 @@ if (GGML_CCACHE)
|
|||
set(GGML_CCACHE_VARIANT ccache)
|
||||
else()
|
||||
set(GGML_CCACHE_VARIANT sccache)
|
||||
if(GGML_HIP)
|
||||
# TODO: should not be set globally
|
||||
set(GLOBAL CMAKE_HIP_COMPILER_LAUNCHER sccache)
|
||||
endif()
|
||||
endif()
|
||||
# TODO: should not be set globally
|
||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${GGML_CCACHE_VARIANT}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue