JJohn Ericson[cmake] Support custom package install paths
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[cmake] Support custom package install paths Firstly, we we make an additional GNUInstallDirs-style variable. With NixOS, for example, this is crucial as we want those to go in ${dev}/lib/cmake not ${out}/lib/cmake as that would a cmake subdir of the "regular" libdir, which is installed even when no one needs to do any development. Secondly, we make *Config.cmake robust to absolute package install paths. We for NixOS will in fact be passing them absolute paths to make the ${dev} vs ${out} distinction mentioned above, and the GNUInstallDirs-style variables are suposed to support absolute paths in general so it's good practice besides the NixOS use-case. Thirdly, we make ${project}_INSTALL_PACKAGE_DIR CACHE PATHs like other install dirs are. Reviewed By: sebastian-ne Differential Revision: https://reviews.llvm.org/D117973 | 3 年前 | |
[Cmake] Optionally use a system isl version. This patch adds an option to build against a version of libisl already installed on the system. The installation is autodetected using the pkg-config file shipped with isl. The detection of the library is in the FindISL.cmake module that creates an imported target. Contributed-by: Philip Pfaffe <philip.pfaffe@gmail.com> Differential Revision: https://reviews.llvm.org/D30043 llvm-svn: 296361 | 9 年前 | |
[Polly][CMake] Make PollyConfig.cmake relocatable like other projects' This builds on D116521 to add this functionality to Polly without more copy-pasted code. Reviewed By: beanz Differential Revision: https://reviews.llvm.org/D116555 | 4 年前 | |
[CMake][Polly] Remove dead CMake code LLVM requires CMake 3.13.4 so remove code behind checks for an older version. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D87192 | 5 年前 |