From d0c8e268c1ed9bbbd07be0efd93a91737c7bb1fe Mon Sep 17 00:00:00 2001 From: Ryan Prichard Date: Tue, 23 Jul 2024 13:28:36 -0700 Subject: [PATCH] [libc++][Android] Fix Android bugs in the CI Dockerfile (#99623) The base of android-buildkite-builder is buildkite-builder, not android-build-base. android-build-base is only used for its /opt/android directory, so move the Docker installation step into android-buildkite-builder. Install bzip2 for extracting ndk_platform.tar.bz2. Add "set -e" to RUN heredocs to catch failing commands. --- libcxx/utils/ci/Dockerfile | 42 ++++++++++++------- .../ci/vendor/android/run-buildbot-container | 2 +- 2 files changed, 28 insertions(+), 16 deletions(-) diff --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile index 9e1865ee61fdf2..490bee4942e035 100644 --- a/libcxx/utils/ci/Dockerfile +++ b/libcxx/utils/ci/Dockerfile @@ -106,6 +106,7 @@ RUN sudo apt-get update \ #RUN apt-get update && apt-get install -y ninja-build python3 python3-distutils python3-psutil git gdb ccache # TODO add ninja-build once 1.11 is available in Ubuntu, also remove the manual installation. RUN <