[PATCH] D136573: [llvm] [cmake] Silence GNUInstallDirs warning in LLVMInstallSymlink
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 25 02:29:14 PDT 2022
mgorny added a comment.
If you don't mind me being busy with other things right now, I've found a simpler reproducer:
$ cmake -GNinja ../llvm -DCMAKE_INSTALL_PREFIX=$HOME/llvm-install -DCMAKE_BUILD_TYPE=MinSizeRel -DLLVM_DISTRIBUTION_COMPONENTS=llvm-addr2line
[...]
$ ninja install-distribution
[...]
[690/691] cd /home/mgorny/llvm-project/llvm-build/tools/llvm-symbo...2line" -P /home/mgorny/llvm-project/llvm-build/cmake_install.cmake
-- Install configuration: "MinSizeRel"
CMake Warning (dev) at /usr/share/cmake/Modules/GNUInstallDirs.cmake:241 (message):
Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
target architecture is known. Please enable at least one language before
including GNUInstallDirs.
Call Stack (most recent call first):
/home/mgorny/llvm-project/llvm/cmake/modules/LLVMInstallSymlink.cmake:5 (include)
cmake_install.cmake:56 (include)
/home/mgorny/llvm-project/llvm-build/tools/cmake_install.cmake:119 (include)
/home/mgorny/llvm-project/llvm-build/cmake_install.cmake:81 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Creating llvm-addr2line
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136573/new/
https://reviews.llvm.org/D136573
More information about the llvm-commits
mailing list