Skip to content

Commit

Permalink
cel-cpp: fix build (#10694)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidKorczynski authored Jul 12, 2023
1 parent 4798c22 commit 631e224
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion projects/cel-cpp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

FROM gcr.io/oss-fuzz-base/base-builder

RUN apt-get update && apt-get install python openjdk-11-jdk -y
RUN apt-get update && apt-get install python3 openjdk-11-jdk -y
RUN git clone --depth 1 https://github.com/google/cel-cpp/
COPY build.sh $SRC/
RUN mkdir $SRC/cel-cpp/fuzz/
Expand Down
11 changes: 6 additions & 5 deletions projects/cel-cpp/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
name = "fuzzing_rules_python",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.1.0/rules_python-0.1.0.tar.gz",
sha256 = "b6d46438523a3ec0f3cead544190ee13223a52f6a6765a29eae7b7cc24cc83a0",
urls = ["https://github.com/bazelbuild/rules_python/archive/refs/tags/0.11.0.tar.gz"],
sha256 = "c03246c11efd49266e8e41e12931090b613e12a59e6f55ba2efd29a7cb8b4258",
strip_prefix = "rules_python-0.11.0",
)

http_archive(
name = "rules_fuzzing",
sha256 = "a5734cb42b1b69395c57e0bbd32ade394d5c3d6afbfe782b24816a96da24660d",
strip_prefix = "rules_fuzzing-0.1.1",
urls = ["https://github.com/bazelbuild/rules_fuzzing/archive/v0.1.1.zip"],
sha256 = "23bb074064c6f488d12044934ab1b0631e8e6898d5cf2f6bde087adb01111573",
strip_prefix = "rules_fuzzing-0.3.1",
urls = ["https://github.com/bazelbuild/rules_fuzzing/archive/v0.3.1.zip"],
repo_mapping = {
"@rules_python": "@fuzzing_rules_python",
},
Expand Down
2 changes: 1 addition & 1 deletion projects/cel-cpp/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# limitations under the License.
#
################################################################################

export USE_BAZEL_VERSION=5.4.0
bazel_build_fuzz_tests

0 comments on commit 631e224

Please sign in to comment.