Pin Jazzer to pre-Bazel 5 update (#7192)

* Update install_java.sh

* Update install_java.sh
This commit is contained in:
Oliver Chang 2022-01-27 11:11:45 +11:00 committed by GitHub
parent aecae8b1b1
commit d3d1e1f838
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -27,8 +27,9 @@ rm -rf $JAVA_HOME/jmods $JAVA_HOME/lib/src.zip
# jazzer_api_deploy.jar is required only at build-time, the agent and the
# drivers are copied to $OUT as they need to be present on the runners.
cd $SRC/
git clone --depth=1 https://github.com/CodeIntelligenceTesting/jazzer && \
cd jazzer
git clone https://github.com/CodeIntelligenceTesting/jazzer && \
cd jazzer && \
git checkout 997c203566350fa313dbd3d7119725387b190e3e
bazel build --java_runtime_version=localjdk_15 -c opt --cxxopt="-stdlib=libc++" --linkopt=-lc++ \
//agent:jazzer_agent_deploy.jar //driver:jazzer_driver //driver:jazzer_driver_asan //driver:jazzer_driver_ubsan //agent:jazzer_api_deploy.jar
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/