[all-commits] [llvm/llvm-project] d1e0f0: [libc++abi][ci] Add a from-scratch config for libc...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Oct 13 05:08:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1e0f02e0ba98cd371749c8d70ee9d153c559e91
      https://github.com/llvm/llvm-project/commit/d1e0f02e0ba98cd371749c8d70ee9d153c559e91
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-10-13 (Wed, 13 Oct 2021)

  Changed paths:
    M libcxx/utils/ci/apple-install-libcxx.sh
    M libcxx/utils/ci/run-buildbot
    M libcxxabi/CMakeLists.txt
    M libcxxabi/test/CMakeLists.txt
    A libcxxabi/test/configs/apple-libc++abi-shared.cfg.in
    A libcxxabi/test/configs/cmake-bridge.cfg.in

  Log Message:
  -----------
  [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




More information about the All-commits mailing list