Do not remove the symlink as they are used by `Centipede`'s `Bazel` build (#8486)

This commit is contained in:
Dongge Liu 2022-09-14 12:54:49 +10:00 committed by GitHub
parent 1b63c5b4d2
commit 46cc569049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -28,9 +28,6 @@ cp "$BIN_DIR/libcentipede_runner.pic.a" "$LIB_FUZZING_ENGINE"
export DFTRACING_FLAGS='-fsanitize-coverage=trace-loads'
export CENTIPEDE_FLAGS=`cat "$SRC/centipede/clang-flags.txt" | tr '\n' ' '`
export LIBRARIES_FLAGS="-ldl -lrt -lpthread $SRC/centipede/weak.o"
export CC='/clang/bin/clang'
export CCC='/clang/bin/clang++'
export CXX='/clang/bin/clang++'
export CFLAGS="$CFLAGS $DFTRACING_FLAGS $CENTIPEDE_FLAGS $LIBRARIES_FLAGS"
export CXXFLAGS="$CXXFLAGS $DFTRACING_FLAGS $CENTIPEDE_FLAGS $LIBRARIES_FLAGS"

View File

@ -34,6 +34,6 @@ bazel --bazelrc=/tmp/centipede.bazelrc build -c opt :all
echo 'Removing extra stuff leftover to avoid bloating image.'
rm -rf /clang-*.tgz /clang /root/.cache/*
rm -rf /clang-*.tgz /clang
echo 'Done.'