[all-commits] [llvm/llvm-project] daf0df: [libc++] Support -DLLVM_ENABLE_PER_TARGET_RUNTIME_...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Aug 30 12:59:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: daf0dfb786f0d72c2cd39a64a97f1593ccaebadf
      https://github.com/llvm/llvm-project/commit/daf0dfb786f0d72c2cd39a64a97f1593ccaebadf
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-08-30 (Mon, 30 Aug 2021)

  Changed paths:
    M libcxx/test/configs/libcxx-trunk-shared.cfg.in
    M libcxx/test/configs/libcxx-trunk-static.cfg.in

  Log Message:
  -----------
  [libc++] Support -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=on in CI

This fixes -isystem/-L/-Wl,-rpath paths when -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=on
is used (https://reviews.llvm.org/D107799#2969650).

* `-isystem path/to/build/generic-cxx17/include/c++/v1`. `build/generic-cxx17/include/x86_64-unknown-linux-gnu/c++/v1 (__config_site)` is missing.
* `-L path/to/build/generic-cxx17/lib`. Should be `build/generic-cxx17/lib/x86_64-unknown-linux-gnu` instead

Reviewed By: ldionne, phosek, #libc

Differential Revision: https://reviews.llvm.org/D108836




More information about the All-commits mailing list