[libcxx-commits] [PATCH] D155271: [libc++][Android] Add Android support to CI Docker image

Ryan Prichard via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 14 01:23:59 PDT 2023


rprichard created this revision.
Herald added subscribers: danielkiss, arichardson.
Herald added a project: All.
rprichard requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Add an Android sysroot to support cross-compilation to Android.

Add 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.

Install Docker into libcxx-builder so that an Android buildbot can
manage a sibling Docker container that runs the Android emulator.

Stop configuring the BuildKite tags in buildkite-agent.cfg and provide
the tags using BUILDKITE_AGENT_TAGS instead. Using the environment
variable makes it possible to run separate VMs for non-Android versus
Android.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155271

Files:
  libcxx/utils/ci/Dockerfile
  libcxx/utils/ci/container-setup.sh
  libcxx/utils/ci/run-buildbot-container

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155271.540314.patch
Type: text/x-patch
Size: 6119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230714/1129a1b3/attachment.bin>


More information about the libcxx-commits mailing list