Skip to content

Commit 9cacbd6

Browse files
authored
Enable ccache in riscv build script and workflow. (#18429)
The workflow tries to use ccache, but the CMake command needs it set. Sample logs: * Without this change: https://github.com/iree-org/iree/actions/runs/10705800906/job/29682537880 * With this change: https://github.com/iree-org/iree/actions/runs/10706762701/job/29685692151?pr=18429#step:20:4 ci-exactly: build_packages,test_riscv64
1 parent a072369 commit 9cacbd6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build_tools/cmake/build_riscv.sh

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ RISCV_COMPILER_FLAGS="${RISCV_COMPILER_FLAGS:--O3}"
2727
IREE_HOST_BIN_DIR="$(realpath ${IREE_HOST_BIN_DIR})"
2828

2929
source build_tools/cmake/setup_build.sh
30+
source build_tools/cmake/setup_ccache.sh
3031

3132
RISCV_PLATFORM_ARCH="${RISCV_PLATFORM}-${RISCV_ARCH}"
3233
echo "Build riscv target with the config of ${RISCV_PLATFORM_ARCH}"

0 commit comments

Comments
 (0)