mirror of https://github.com/google/oss-fuzz.git
[centipede][base-builder] Properly delete bazel cache (#8494)
Fixes #8468 Co-authored-by: Alan32Liu <donggeliu@google.com>
This commit is contained in:
parent
97a68b049b
commit
c0f72989f4
|
@ -36,4 +36,10 @@ echo 'Removing extra stuff leftover to avoid bloating image.'
|
|||
|
||||
rm -rf /clang-*.tgz /clang
|
||||
|
||||
BAZEL_BIN_REAL_DIR=$(readlink -f $SRC/centipede/bazel-bin)
|
||||
rm -rf $SRC/centipede/bazel-bin
|
||||
mkdir -p $SRC/centipede/bazel-bin
|
||||
mv $BAZEL_BIN_REAL_DIR/{centipede,libcentipede_runner.pic.a} $SRC/centipede/bazel-bin/
|
||||
rm -rf /root/.cache
|
||||
|
||||
echo 'Done.'
|
||||
|
|
Loading…
Reference in New Issue