[all-commits] [llvm/llvm-project] a30095: [libc++][Android] Add libcxx-builder-android Docke...

Ryan Prichard via All-commits all-commits at lists.llvm.org
Thu Oct 19 14:15:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a30095a1e43040786ff88bd5a37fb4c995445573
      https://github.com/llvm/llvm-project/commit/a30095a1e43040786ff88bd5a37fb4c995445573
  Author: Ryan Prichard <rprichard at google.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

  Changed paths:
    A libcxx/utils/ci/vendor/android/Dockerfile
    A libcxx/utils/ci/vendor/android/container-setup.sh
    A libcxx/utils/ci/vendor/android/run-buildbot-container
    M libcxx/utils/data/ignore_format.txt

  Log Message:
  -----------
  [libc++][Android] Add libcxx-builder-android Docker image (#69273)

Add a Dockerfile for a new Docker image, libcxx-builder-android, that
extends libcxx-builder with support for testing Android.

The image includes these things:

 * An Android Clang compiler and sysroot.

* The Android platform-tools (e.g. adb), so that an Android buildbot can
run programs on an Android device. At container startup, copy these
platform tools to an "android-platform-tools" Docker volume to share
them with an emulator container. This copying ensures that the emulator
and libcxx-builder containers avoid mismatched adb versions.

* Docker, so that an Android buildbot can manage a sibling Docker
container that runs the Android emulator.

Add an Android-specific run-buildbot-container script for local
development. Currently using this script requires building
libcxx-build-android and an emulator image locally.

Fixes: https://github.com/llvm/llvm-project/issues/69270
Differential Revision: https://reviews.llvm.org/D155271




More information about the All-commits mailing list