Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infra: fix precompile_centipede #12840

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions infra/base-images/base-builder/precompile_centipede
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ echo -n "Precompiling centipede"
cd "$SRC/fuzztest/centipede/"
apt-get update && apt-get install libssl-dev -y
unset CXXFLAGS CFLAGS
# We need to use an older version of BAZEL because fuzztest relies on WORKSPACE
# Ref: https://github.com/google/oss-fuzz/pull/12838#issue-2733821058
export USE_BAZEL_VERSION=7.4.0
echo 'build --cxxopt=-stdlib=libc++ --linkopt=-lc++' >> /tmp/centipede.bazelrc
bazel --bazelrc=/tmp/centipede.bazelrc build -c opt :all
unset USE_BAZEL_VERSION

# Prepare the weak symbols:
# This is necessary because we compile the target binary and the intermediate
Expand Down
Loading