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)
|
set(GGML_CCACHE_VARIANT ccache)
|
||||||
else()
|
else()
|
||||||
set(GGML_CCACHE_VARIANT sccache)
|
set(GGML_CCACHE_VARIANT sccache)
|
||||||
|
if(GGML_HIP)
|
||||||
|
# TODO: should not be set globally
|
||||||
|
set(GLOBAL CMAKE_HIP_COMPILER_LAUNCHER sccache)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
# TODO: should not be set globally
|
# TODO: should not be set globally
|
||||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${GGML_CCACHE_VARIANT}")
|
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${GGML_CCACHE_VARIANT}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue