Hello,
I’m trying to build LLDB under CYGWIN but I’m getting a strange error:
CMake Error at /home/carlo/packages/llvm/a/llvm-project/lldb/test/API/CMakeLists.txt:66 (message):
LLDB test compiler not specified. Tests will not run.
I configured by using the guidelines described here:
https://lldb.llvm.org/resources/build.html
LLVM and CLang have been compiled successfully.
I added some debug prints to CMakeLists.txt and I’m getting these results:
-- LLDB_DEFAULT_TEST_COMPILER=/home/carlo/packages/llvm/build.cygwin/./bin/clang.exe
-- LLDB_TEST_EXECUTABLE=/home/carlo/packages/llvm/build.cygwin/./bin/lldb.exe
-- LLDB_TEST_COMPILER=
-- LLDB_TEST_DSYMUTIL=/home/carlo/packages/llvm/build.cygwin/./bin/dsymutil.exe
Actually, I don’t understand why LLDB_TEST_COMPILER
is empty but LLDB_DEFAULT_TEST_COMPILER
is not.
Could somebody help me to understand what I’m doing wrong?
Thank you very much for your time.
Sincerely.
EDIT: setting LLDB_TEST_COMPILER
to CMake on the command line to the value into LLDB_DEFAULT_TEST_COMPILER
allowed to pass that point. However, the docs clearly says that “If you have Clang checked out, that will be used by default.” unless I have misunderstood the behaviour.