[PATCH] D101070: [llvm][cmake] Make `install_symlink` robust to absolute dirs.

Sebastian Neubauer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 25 06:21:51 PDT 2022


sebastian-ne added a comment.

In D101070#3675462 <https://reviews.llvm.org/D101070#3675462>, @sebastian-ne wrote:

> Hi, not sure if you saw D130256 <https://reviews.llvm.org/D130256>, but I needed to extend CMAKE_MODULE_PATH, otherwise the ExtendPath module was not found when running LLVMInstallSymlink.cmake.

Just checked, if I run `ninja install` with this patch, it fails with

  CMake Error at /llvm-project/llvm/cmake/modules/LLVMInstallSymlink.cmake:5 (include):
    include could not find requested file:
  
      ExtendPath
  Call Stack (most recent call first):
    tools/llvm-ar/cmake_install.cmake:56 (include)
    tools/cmake_install.cmake:49 (include)
    cmake_install.cmake:78 (include)
  
  
  FAILED: CMakeFiles/install.util


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101070/new/

https://reviews.llvm.org/D101070



More information about the cfe-commits mailing list