Skip to content

Commit 8c1cb26

Browse files
committed
add abseil to ubuntu build
1 parent a10ced4 commit 8c1cb26

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

ci/cloudbuild/dockerfiles/demo-ubuntu-24.04.Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,20 @@ RUN curl -fsSL https://github.com/google/crc32c/archive/1.1.2.tar.gz | \
8484
ldconfig
8585
# ```
8686

87+
# #### abseil
88+
WORKDIR /var/tmp/build/abseil-cpp
89+
RUN curl -fsSL https://github.com/abseil/abseil-cpp/archive/20250127.1.tar.gz | \
90+
tar -xzf - --strip-components=1 && \
91+
cmake \
92+
-DCMAKE_BUILD_TYPE=Release \
93+
-DABSL_BUILD_TESTING=OFF \
94+
-DABSL_PROPAGATE_CXX_STD=ON \
95+
-DBUILD_SHARED_LIBS=yes \
96+
-S . -B cmake-out && \
97+
cmake --build cmake-out -- -j ${NCPU:-4} && \
98+
cmake --build cmake-out --target install -- -j ${NCPU:-4} && \
99+
ldconfig
100+
87101
# #### opentelemetry-cpp
88102

89103
# The project has an **optional** dependency on the OpenTelemetry library.

0 commit comments

Comments
 (0)