LLVM-10.0.0 causing problems.
I went to update my git master build of darktable, and I got this during cmake-gui. I'd guess the problem has something to do with the new LLVM. I do have /usr/bin/lit-cpuid-32.
CMake Error at /usr/lib/cmake/llvm/LLVMExports.cmake:534 (message): The imported target "lit-cpuid" references the file "/usr/bin/lit-cpuid" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib/cmake/llvm/LLVMExports.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib/cmake/llvm/LLVMConfig.cmake:172 (include) CMakeLists.txt:280 (find_package) CMakeLists.txt:288 (find_llvm) So is this something that can be fixed? TIA. John. |
In case you haven't come to this conclusion yet, the file lit-cpuid is missing from the LLVM 10 Slackware package. It didn't build for whatever reason, or it's no longer part of an existing component (i.e. I seem to have lit-cpuid with LLVM 9.0.1 but not lit... perhaps now lit-cpuid isn't built by another component but part of the test suite or something)
P.S. From what I can see, that used to get built with lldb. |
Looks like a variable needs to be set for it to get built with lldb
LLDB_INCLUDE_TESTS (probably like -DLLDB_INCLUDE_TESTS=ON) CMakeLists.txt in lldb sources Code:
option(LLDB_INCLUDE_TESTS "Generate build targets for the LLDB unit tests." ${LLVM_INCLUDE_TESTS}) |
Fixed in the latest updates.
Code:
Sun Mar 29 23:05:46 UTC 2020 |
Thanks. Darktable builds again!
John. |
All times are GMT -5. The time now is 06:49 PM. |