File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 3 .0.0
1+ 5 .0.0
Original file line number Diff line number Diff line change 1- FROM ubuntu:bionic
1+ FROM gcr.io/gcp-runtimes/ubuntu_20_0_4
22
33ENV DEBIAN_FRONTEND=noninteractive
44
55RUN rm -rf /var/lib/apt/lists/* \
66 && apt-get update --fix-missing -qq \
7- && apt-get install -qqy --no-install-recommends ca-certificates tzdata wget git clang-10 patch \
7+ && apt-get install -qqy --no-install-recommends build-essential ca-certificates tzdata wget git default-jdk clang-12 lld-12 patch \
88 && apt-get clean && rm -rf /var/lib/apt/lists/*
99
1010RUN wget https://github.com/bazelbuild/bazelisk/releases/download/v1.5.0/bazelisk-linux-amd64 && chmod +x bazelisk-linux-amd64 && mv bazelisk-linux-amd64 /bin/bazel
1111
12- ENV CC=clang-10
13- ENV CXX=clang++-10
12+ ENV CC=clang-12
13+ ENV CXX=clang++-12
14+
15+ RUN mkdir -p /workspace
1416
1517ENTRYPOINT ["/bin/bazel" ]
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ def parser_deps():
7777 )
7878
7979 ANTLR4_RUNTIME_GIT_SHA = "70b2edcf98eb612a92d3dbaedb2ce0b69533b0cb" # Dec 7, 2021
80- ANTLR4_RUNTIME_SHA = ""
80+ ANTLR4_RUNTIME_SHA = "fae73909f95e1320701e29ac03bab9233293fb5b90d3ce857279f1b46b614c83 "
8181 http_archive (
8282 name = "antlr4_runtimes" ,
8383 build_file_content = """
Original file line number Diff line number Diff line change 11steps :
2- - name : ' gcr.io/cel-analysis/bazel:bionic-3.0.0 '
2+ - name : ' gcr.io/cel-analysis/bazel:ubuntu_20_0_4 '
33 entrypoint : bazel
4- args : ['test', '--test_output=errors', '...']
4+ args :
5+ - ' --output_base=/bazel'
6+ - ' test'
7+ - ' --test_output=errors'
8+ - ' ...'
59 id : bazel-test
6- waitFor : ['-']
10+ - name : ' gcr.io/cel-analysis/bazel:ubuntu_20_0_4'
11+ entrypoint : bazel
12+ args :
13+ - ' --output_base=/bazel'
14+ - ' test'
15+ - ' --config=asan'
16+ - ' --test_output=errors'
17+ - ' ...'
18+ id : bazel-asan
19+ - name : ' gcr.io/cel-analysis/bazel:ubuntu_20_0_4'
20+ entrypoint : bazel
21+ env :
22+ - ' CC=gcc'
23+ - ' CXX=g++'
24+ args :
25+ - ' --output_base=/bazel'
26+ - ' test'
27+ - ' --test_output=errors'
28+ - ' ...'
29+ id : bazel-gcc
730timeout : 1h
831options :
932 machineType : ' N1_HIGHCPU_8'
33+ volumes :
34+ - name : bazel
35+ path : /bazel
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ void CelTypeRegistry::Register(const google::protobuf::EnumDescriptor* enum_desc
5757
5858const google::protobuf::Descriptor* CelTypeRegistry::FindDescriptor (
5959 absl::string_view fully_qualified_type_name) const {
60+ // Public protobuf interface only accepts const string&.
6061 return google::protobuf::DescriptorPool::generated_pool ()->FindMessageTypeByName (
6162 std::string (fully_qualified_type_name));
6263}
You can’t perform that action at this time.
0 commit comments