[Lldb-commits] [PATCH] D124673: [llvm][lldb] use FindLibEdit.cmake everywhere
Fangrui Song via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sat Apr 30 12:44:09 PDT 2022
MaskRay added a comment.
I vaguely recall that some lldb bots use a stand-alone build.
Say I have a build directory /tmp/RelA with `-DLLVM_ENABLE_PROJECTS=clang`
cmake -GNinja -S~/llvm-project/lldb -Bout/lldb -DCMAKE_PREFIX_PATH=/tmp/RelA
will print
CMake Warning at cmake/modules/LLDBConfig.cmake:52 (find_package):
By not providing "FindLibEdit.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "LibEdit", but
CMake did not find one.
Could not find a package configuration file provided by "LibEdit" with any
of the following names:
LibEditConfig.cmake
libedit-config.cmake
Add the installation prefix of "LibEdit" to CMAKE_PREFIX_PATH or set
"LibEdit_DIR" to a directory containing one of the above files. If
"LibEdit" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
cmake/modules/LLDBConfig.cmake:59 (add_optional_dependency)
CMakeLists.txt:28 (include)
I wish that https://discourse.llvm.org/t/rfc-stand-alone-build-support/61291/37 will make stand-alone builds duplicate less code.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124673/new/
https://reviews.llvm.org/D124673
More information about the lldb-commits
mailing list