[all-commits] [llvm/llvm-project] 8f5557: [libc++] Link back-deployment tests against the la...

Louis Dionne via All-commits all-commits at lists.llvm.org
Thu May 21 11:47:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f555780ef3502021a0237a6ace100f728fd0f5b
      https://github.com/llvm/llvm-project/commit/8f555780ef3502021a0237a6ace100f728fd0f5b
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-05-21 (Thu, 21 May 2020)

  Changed paths:
    M libcxx/utils/ci/macos-backdeployment.sh

  Log Message:
  -----------
  [libc++] Link back-deployment tests against the latest libc++ and libc++abi

Instead of linking the tests against a library in some version of the
SDK, always link against the latest library, but still run against the
specified back-deployment target dylib.

This makes more sense since what we're really trying to test is that
the current library can be used to produce binaries that run on some
deployment target -- not that linking against the library in some
previous SDK makes that possible.

This solves an additional issue that when linking against a system dylib,
the -rpath argument given to the tests is ignored because the install_name
of the system library we link against is absolute.

rdar://63241847




More information about the All-commits mailing list