[libcxx-commits] [PATCH] D139147: [libc++][Android] Enable libc++ testing using adb on an x86-64 emulator

Ryan Prichard via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 30 17:11:38 PDT 2023


rprichard updated this revision to Diff 526851.
rprichard added a comment.
Herald added a subscriber: krytarowski.

Various updates:

- Use the `std::__ndk1` namespace to match how the NDK libc++ is built.
- Use a POSIX semaphore to limit concurrent adb jobs (libcxx/utils/semaphore_tool.py, `--job-limit-semaphore`) more than host jobs are limited.
- Define `android` and `LIBCXX-ANDROID-FIXME` features in features.py.
- Add a `android_libcxx_kind={ndk,platform}` param to libcxx[abi]/test/configs/llvm-libc++[abi]-android.cfg.in, which allows for testing either the NDK build of libc++ or the platform (/system/lib[64]/libc++.so) build of libc++ for Android.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139147/new/

https://reviews.llvm.org/D139147

Files:
  libcxx/cmake/caches/AndroidNDK.cmake
  libcxx/lib/abi/x86_64-none-linux-android21.libcxxabi.v1.stable.exceptions.nonew.abilist
  libcxx/test/configs/llvm-libc++-android.cfg.in
  libcxx/utils/adb_run.py
  libcxx/utils/ci/Dockerfile.android
  libcxx/utils/ci/android-create-avd.sh
  libcxx/utils/ci/android-set-user.sh
  libcxx/utils/ci/run-buildbot
  libcxx/utils/ci/run-buildbot-container-android
  libcxx/utils/libcxx/test/android.py
  libcxx/utils/libcxx/test/features.py
  libcxx/utils/semaphore_tool.py
  libcxxabi/test/configs/llvm-libc++abi-android.cfg.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139147.526851.patch
Type: text/x-patch
Size: 275876 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230531/0a1884f8/attachment-0001.bin>


More information about the libcxx-commits mailing list