llvm-project/llvm/cmake
John Ericson 7f9e6f6fa6 [llvm][cmake] Make `install_symlink` workflow work with absolute install dirs
If `CMAKE_INSTALL_BINDIR` is a different absolute path per project, as
it is with NixOS when we install every package to its own prefix, the
old way fails when the absolute path gets prepended with `CMAKE_INSTALL_PREFIX`.

The `extend_path` function does what we want, but it is currently internal-only. So easier to just inline the one small case of it we need.

Also fix one stray `bin` -> `CMAKE_INSTALL_BINDIR`

Reviewed By: sebastian-ne

Differential Revision: https://reviews.llvm.org/D101070
2022-07-26 03:14:46 +00:00
..
modules [llvm][cmake] Make `install_symlink` workflow work with absolute install dirs 2022-07-26 03:14:46 +00:00
platforms [cmake] Use CMAKE_TRY_COMPILE_PLATFORM_VARIABLES 2022-03-08 15:25:03 -08:00
README
config-ix.cmake [CMake] Stop zstd find_package warnings 2022-07-22 19:06:54 +00:00
config.guess [PowerPC] Add the LLVM triple for powerpcle [1/5] 2021-01-02 12:17:22 -06:00
dummy.cpp
nsis_icon.ico
nsis_logo.bmp
unwind.h [ExecutionEngine] Check for libunwind before calling __register_frame 2021-08-15 13:35:53 +01:00

README

See docs/CMake.html for instructions on how to build LLVM with CMake.