File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 2020# https://github.com/google/oss-fuzz/pull/12858), to overcome the issue
2121# mentioned in https://github.com/bazelbuild/bazel/issues/23681.
2222export USE_BAZEL_VERSION=7.4.0
23+ export GOPROXY=https://goproxy.cn,direct
2324
2425declare -r FUZZ_TARGET_QUERY='
2526 let all_fuzz_tests = attr(tags, "fuzz_target", "test/...") in
120121fi
121122) "
122123
124+ bazel fetch ${EXTRA_BAZEL_FLAGS} ${OSS_FUZZ_TARGETS[*]} || true
125+ find $( bazel info output_base) /external -name port_def.inc -exec sed -i ' s/# define PROTOBUF_CONSTINIT constinit/# define PROTOBUF_CONSTINIT/g' {} + || true
123126
124127# Asssuming we have ~32 cores and ~28.8 GiB RAM. By limiting the
125128# number of CPUs (--local_cpu_resources) we limit the per-CPU mem-usage.
You can’t perform that action at this time.
0 commit comments