Skip to content

Commit 5395801

Browse files
seirlcopybara-github
authored andcommitted
Update CEL C++ Abseil dependency and toolchains.
- Update abseil-cpp to 20260526.0 in MODULE.bazel. - Update Dockerfile and cloudbuild.yaml to use clang-12 and gcc-10. - Note: The Docker image needs to be rebuilt and the SHA in cloudbuild.yaml updated. PiperOrigin-RevId: 930551361
1 parent 167e797 commit 5395801

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ RUN apt-get update && apt-get upgrade -y && \
4141
zip \
4242
zlib1g-dev \
4343
default-jdk-headless \
44-
clang-11 \
45-
gcc-9 g++-9 \
44+
clang-12 \
45+
gcc-10 g++-10 \
4646
tzdata \
4747
&& apt-get clean
4848

@@ -63,7 +63,7 @@ RUN mkdir -p /bazel
6363
RUN USE_BAZEL_VERSION=8.7.0 bazelisk help
6464
RUN USE_BAZEL_VERSION=7.3.2 bazelisk help
6565

66-
ENV CC=gcc-9
67-
ENV CXX=g++-9
66+
ENV CC=gcc-10
67+
ENV CXX=g++-10
6868

6969
ENTRYPOINT ["/usr/bin/bazelisk"]

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ bazel_dep(
3838
)
3939
bazel_dep(
4040
name = "abseil-cpp",
41-
version = "20260107.0",
41+
version = "20260526.0",
4242
repo_name = "com_google_absl",
4343
)
4444
bazel_dep(

cloudbuild.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ steps:
1414
- '--local_ram_resources=HOST_RAM*.4'
1515
- '--remote_cache=https://storage.googleapis.com/cel-cpp-remote-cache'
1616
- '--google_default_credentials'
17-
id: gcc-9
17+
id: gcc-10
1818
waitFor: ['-']
1919
- name: 'gcr.io/cel-analysis/cel-cpp/ubuntu_floor@sha256:211a0c505b361d987b3d8b08a5144a84e62cb95edc3f897fe46d5cd3f556f79d'
2020
env:
21-
- 'CC=clang-11'
22-
- 'CXX=clang++-11'
21+
- 'CC=clang-12'
22+
- 'CXX=clang++-12'
2323
args:
2424
- '--output_base=/bazel' # This is mandatory to avoid steps accidently sharing data.
2525
- 'test'
@@ -34,7 +34,7 @@ steps:
3434
- '--local_ram_resources=HOST_RAM*.4'
3535
- '--remote_cache=https://storage.googleapis.com/cel-cpp-remote-cache'
3636
- '--google_default_credentials'
37-
id: clang-11
37+
id: clang-12
3838
waitFor: ['-']
3939
timeout: 1h
4040
options:

0 commit comments

Comments
 (0)