Skip to content

Commit d3d1e1f

Browse files
authored
Pin Jazzer to pre-Bazel 5 update (google#7192)
* Update install_java.sh * Update install_java.sh
1 parent aecae8b commit d3d1e1f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

infra/base-images/base-builder/install_java.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ rm -rf $JAVA_HOME/jmods $JAVA_HOME/lib/src.zip
2727
# jazzer_api_deploy.jar is required only at build-time, the agent and the
2828
# drivers are copied to $OUT as they need to be present on the runners.
2929
cd $SRC/
30-
git clone --depth=1 https://github.com/CodeIntelligenceTesting/jazzer && \
31-
cd jazzer
30+
git clone https://github.com/CodeIntelligenceTesting/jazzer && \
31+
cd jazzer && \
32+
git checkout 997c203566350fa313dbd3d7119725387b190e3e
3233
bazel build --java_runtime_version=localjdk_15 -c opt --cxxopt="-stdlib=libc++" --linkopt=-lc++ \
3334
//agent:jazzer_agent_deploy.jar //driver:jazzer_driver //driver:jazzer_driver_asan //driver:jazzer_driver_ubsan //agent:jazzer_api_deploy.jar
3435
cp bazel-bin/agent/jazzer_agent_deploy.jar bazel-bin/driver/jazzer_driver bazel-bin/driver/jazzer_driver_asan bazel-bin/driver/jazzer_driver_ubsan /usr/local/bin/

0 commit comments

Comments
 (0)