Package: llvm-16-dev
Version: 1:16.0.0-1~exp5
Severity: serious

cmake llvm detection is broken due to missing dependencies:

The following minimal CMakeLists.txt

project(foo)
find_package(LLVM 16 REQUIRED)

fails with

CMake Error at /usr/lib/llvm-16/lib/cmake/llvm/LLVMExports.cmake:1809 (message):
  The imported target "omptarget" references the file

     "/usr/lib/llvm-16/lib/libomptarget.so.16"

  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/llvm-16/lib/cmake/llvm/LLVMExports.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/llvm-16/cmake/LLVMConfig.cmake:359 (include)
  CMakeLists.txt:2 (find_package)


-- Configuring incomplete, errors occurred!


This blocks the packaging of spirv-llvm-translator-16.


Andreas

Reply via email to