Overview

Request 1156749 accepted

- Update to version 18.1.0.
* Compatibility with LLVM 18.
- Add rpmlintrc: following the LLVM's new versioning scheme, this
package not only has versions X.1.Y now, but the SO name is X.1.
However, the minor version is always going to be 1, and there is
no need to distinguish between minor versions, so we don't add it
to the package name.
- Drop ca3ae0cc.patch that landed upstream.
- Add Support-SPV_INTEL_maximum_registers-extension.patch to revert
change temporarily because the corresponding change in spirv-
headers is not released yet.


Aaron Puchert's avatar

LLVM 18 is not in Factory yet, but Mesa won't build without this update (it requires llvm and this package to have essentially the same version). This won't build in X11:Xorg unless you link that to devel:tools:compiler or temporarily clone llvm and llvm18 there.

We can also rename the package to libLLVMSPIRVLib18_1 instead of adding the rpmlintrc file. But I stuck to the major version in LLVM, and I don't see a reason to put the minor version in the package name.


Aaron Puchert's avatar

See https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:H/Mesa:drivers/standard/x86_64 for reference:

Dependency LLVMSPIRVLib found: NO found 17.0.0.0 but need: '>= 18.1' ; matched: '>= 8.0.1.3', '< 18.2'
Run-time dependency llvmspirvlib found: NO (tried cmake)

meson.build:1805:21: ERROR: Dependency lookup for LLVMSPIRVLib with method 'pkgconfig' failed: Invalid version, need 'LLVMSPIRVLib' ['>= 18.1'] found '17.0.0.0'.
Request History
Aaron Puchert's avatar

aaronpuchert created request

- Update to version 18.1.0.
* Compatibility with LLVM 18.
- Add rpmlintrc: following the LLVM's new versioning scheme, this
package not only has versions X.1.Y now, but the SO name is X.1.
However, the minor version is always going to be 1, and there is
no need to distinguish between minor versions, so we don't add it
to the package name.
- Drop ca3ae0cc.patch that landed upstream.
- Add Support-SPV_INTEL_maximum_registers-extension.patch to revert
change temporarily because the corresponding change in spirv-
headers is not released yet.


Stefan Dirsch's avatar

sndirsch accepted request

Thanks!

openSUSE Build Service is sponsored by