Mesa | LLVM git | rustical configuration problem after meson version bump 1.0.x to 1.1.x

Dieter Nützel Dieter at nuetzel-hh.de
Tue Jun 27 15:42:54 UTC 2023


Hello Mesa-Devel,

I need badly advise for Mesa compilation.

openSUSE TW
with LLVM git 17.0.0.0 under /usr/local for ages.

After meson distro update from

meson-1.0.0 series to
meson-1.1.1

LLVM git couldn't found any longer under

/usr/local

SPIRV is there, as always.
/usr/local/lib/pkgconfig/LLVMSPIRVLib.pc
LLVMSPIRVLib point to 17.0.0.0

custom-llvm.ini
[binaries]
llvm-config = '/usr/local/bin/llvm-config'

Do NOT help?!

Going back to meson-1.0.0-1.2 helped for some time,
but broke during the last two weeks.

Which environment variable should be set, now?
I'm lost.

Any hints are very much appreciated.

Dieter

Found CMake: /usr/bin/cmake (3.26.4)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency LLVM (modules: LLVM) found: YES 16.0.6
Run-time dependency spirv-tools found: YES 2023.3.1
Dependency LLVMSPIRVLib found: NO found 17.0.0.0 but need: '< 16.1' ; 
matched: '>= 8.0.1.3', '>= 16.0'
Run-time dependency llvmspirvlib found: NO (tried cmake)

../meson.build:1761:21: ERROR: Dependency lookup for LLVMSPIRVLib with 
method 'pkgconfig' failed: Invalid version, need 'LLVMSPIRVLib' ['< 
16.1'] found '17.0.0.0'.

A full log can be found at /opt/mesa/build/meson-logs/meson-log.txt


More information about the mesa-dev mailing list