about summary refs log tree commit diff
path: root/ci/cmake_install_test.sh
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2020-03-20T16·47-0700
committervslashg <gfalcon@google.com>2020-03-20T20·56-0400
commit092ed9793a1ad0e7e418f32c057bf3159a71cd04 (patch)
tree6c63b7780285d8c498a62300ebfdb40c22d803fb /ci/cmake_install_test.sh
parent2d2a8aea291c4877e75c7991a61e57d7e12b5373 (diff)
Export of internal Abseil changes
--
93dd18f415e54697965c56760612b4ff6c9d15d2 by Derek Mauro <dmauro@google.com>:

Implement Bazel's --distdir flag avoid a dependency on GitHub being up.
Move the Docker container identifiers to a common file.

PiperOrigin-RevId: 302045549

--
7b462d31139e3153462cd20ae63b161ac749e839 by Derek Mauro <dmauro@google.com>:

Fix an unused variable warning in optional.h

PiperOrigin-RevId: 301810782

--
6b533ba9170eed065aec69e48ebab3279fcb3e09 by Abseil Team <absl-team@google.com>:

Disable ASan and MSan instrumentation for AArch64 stack unwind functions. They read random locations on the stack and might step on sanitizer's redzones.

PiperOrigin-RevId: 301674204
GitOrigin-RevId: 93dd18f415e54697965c56760612b4ff6c9d15d2
Change-Id: I2d84d66b054f90b851fb3a968679f112dfe84636
Diffstat (limited to 'ci/cmake_install_test.sh')
-rwxr-xr-xci/cmake_install_test.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/ci/cmake_install_test.sh b/ci/cmake_install_test.sh
index 55fb4f120b51..4c748eb9df51 100755
--- a/ci/cmake_install_test.sh
+++ b/ci/cmake_install_test.sh
@@ -20,6 +20,9 @@ if [ -z ${ABSEIL_ROOT:-} ]; then
   ABSEIL_ROOT="$(realpath $(dirname ${0})/..)"
 fi
 
+source "${ABSEIL_ROOT}/ci/linux_docker_containers.sh"
+readonly DOCKER_CONTAINER=${LINUX_GCC_LATEST_CONTAINER}
+
 time docker run \
     --volume="${ABSEIL_ROOT}:/abseil-cpp:ro" \
     --workdir=/abseil-cpp \
@@ -28,5 +31,5 @@ time docker run \
     --rm \
     -e CFLAGS="-Werror" \
     -e CXXFLAGS="-Werror" \
-    gcr.io/google.com/absl-177019/linux_gcc-latest:20200106 \
+    ${DOCKER_CONTAINER} \
     /bin/bash CMake/install_test_project/test.sh $@