Skip to content

Commit 70f1777

Browse files
committed
ci: disable ccache for low perf native builds
1 parent 5e4f3ae commit 70f1777

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ci/run.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ SRC=`pwd`
5757
CMAKE_EXTRA="-DLLAMA_FATAL_WARNINGS=${LLAMA_FATAL_WARNINGS:-ON} -DLLAMA_OPENSSL=OFF -DGGML_SCHED_NO_REALLOC=ON"
5858
CTEST_EXTRA=""
5959

60+
# Low-perf CI uses native CPU codegen on shared hosted runners. Do not reuse
61+
# cached native objects across machines with potentially different CPU features.
62+
if [ ! -z ${GG_BUILD_LOW_PERF} ]; then
63+
CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_CCACHE=OFF"
64+
fi
65+
6066
# Default to use make unless specified for compatibility
6167
CMAKE_GENERATOR="Unix Makefiles"
6268

0 commit comments

Comments
 (0)