[all-commits] [llvm/llvm-project] 959dbd: Revert "Revert "[cmake] [compiler-rt] Call llvm_se...

Petr Hosek via All-commits all-commits at lists.llvm.org
Tue Jun 22 16:13:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 959dbd1761cddbe8c53509459dbc0463f86c1b50
      https://github.com/llvm/llvm-project/commit/959dbd1761cddbe8c53509459dbc0463f86c1b50
  Author: Petr Hosek <phosek at google.com>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    M compiler-rt/cmake/Modules/AddCompilerRT.cmake

  Log Message:
  -----------
  Revert "Revert "[cmake] [compiler-rt] Call llvm_setup_rpath() when adding shared libraries.""

This reverts commit 21c008d5a5b1e0c2ec3c1659cff961f4b0ccea2c since
it broke the build on macOS and Windows with the following error:

  The install of the clang_rt.<na,e> target requires changing an
  RPATH from the build tree, but this is not supported with the Ninja
  generator unless on an ELF-based platform.  The
  CMAKE_BUILD_WITH_INSTALL_RPATH variable may be set to avoid this relinking
  step.




More information about the All-commits mailing list