[libc++abi][ci] Add a from-scratch config for libc++abi on Apple/system
authorLouis Dionne <ldionne.2@gmail.com>
Tue, 12 Oct 2021 21:45:45 +0000 (17:45 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Wed, 13 Oct 2021 12:07:40 +0000 (08:07 -0400)
commitd1e0f02e0ba98cd371749c8d70ee9d153c559e91
tree331d08957438395b85186a1dad3d27fa4327f2d5
parentdf3de7647e034797ae3c965d6737bc0a4bc7a779
[libc++abi][ci] Add a from-scratch config for libc++abi on Apple/system

I came across an issue where since we build the library for Apple with
the install name directory being /usr/lib, which means that if we don't
run the tests with DYLD_LIBRARY_PATH, we'll end up loading the
system-provided libc++abi when running the tests. That wreaks havoc.

Instead of fixing it in the legacy config file, this commit introduces
an Apple libc++abi config file that does the right thing.

Differential Revision: https://reviews.llvm.org/D111279
libcxx/utils/ci/apple-install-libcxx.sh
libcxx/utils/ci/run-buildbot
libcxxabi/CMakeLists.txt
libcxxabi/test/CMakeLists.txt
libcxxabi/test/configs/apple-libc++abi-shared.cfg.in [new file with mode: 0644]
libcxxabi/test/configs/cmake-bridge.cfg.in [new file with mode: 0644]