File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
ci/cloudbuild/dockerfiles Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,12 @@ RUN curl -fsSL https://distfiles.ariadne.space/pkgconf/pkgconf-2.2.0.tar.gz | \
6767# set the search path.
6868ENV PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig
6969
70+ # In order to work around https://github.com/llvm/llvm-project/issues/102443 we set
71+ # these compiler env vars so that all our dependencies are built the same way.
72+ ENV CC="clang"
73+ ENV CXX="clang++"
74+ ENV CXXFLAGS="-fclang-abi-compat=17"
75+
7076# We disable the inline namespace because otherwise Abseil LTS updates break our
7177# `check-api` build.
7278WORKDIR /var/tmp/build
@@ -190,6 +196,7 @@ RUN curl -fsSL https://github.com/googleapis/google-cloud-cpp/archive/v2.33.0.ta
190196 cmake \
191197 -DCMAKE_BUILD_TYPE=Release \
192198 -DCMAKE_CXX_STANDARD=17 \
199+ -DGOOGLE_CLOUD_CPP_ENABLE_CLANG_ABI_COMPAT_17=ON \
193200 -DBUILD_SHARED_LIBS=yes \
194201 -DGOOGLE_CLOUD_CPP_ENABLE="bigquerycontrol,bigquery" \
195202 -GNinja -S . -B cmake-out && \
You can’t perform that action at this time.
0 commit comments