]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
tcmode-default.inc: set LLVMVERSION to a major version wildcard
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sat, 24 Dec 2022 16:59:38 +0000 (17:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Dec 2022 18:37:59 +0000 (18:37 +0000)
There is no longer need to be specific: none of the recipes
using this variable in core need to know the particular version
of llvm exactly when using the default one set via PREFERRED_VERSION
from LLVMVERSION.

This as well enables automated version updates of llvm
for minor releases.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/meson.bbclass
meta/conf/distro/include/tcmode-default.inc
meta/recipes-graphics/mesa/mesa.inc

index 3cc94c7584f0d02d8e73300847d6f7f46caa64fa..48688bed755184e382608d7fa6bbed746b6759ab 100644 (file)
@@ -72,7 +72,7 @@ strip = ${@meson_array('STRIP', d)}
 readelf = ${@meson_array('READELF', d)}
 objcopy = ${@meson_array('OBJCOPY', d)}
 pkgconfig = 'pkg-config'
-llvm-config = 'llvm-config${LLVMVERSION}'
+llvm-config = 'llvm-config'
 cups-config = 'cups-config'
 g-ir-scanner = '${STAGING_BINDIR}/g-ir-scanner-wrapper'
 g-ir-compiler = '${STAGING_BINDIR}/g-ir-compiler-wrapper'
index dc1cac734f18f838f536edf4896b1a3478340e17..c7842210625c81833b12860fc0cd1beede335957 100644 (file)
@@ -24,9 +24,7 @@ GLIBCVERSION ?= "2.36"
 LINUXLIBCVERSION ?= "5.19%"
 QEMUVERSION ?= "7.1%"
 GOVERSION ?= "1.19%"
-# This can not use wildcards like 8.0.% since it is also used in mesa to denote
-# llvm version being used, so always bump it with llvm recipe version bump
-LLVMVERSION ?= "15.0.6"
+LLVMVERSION ?= "15.%"
 RUSTVERSION ?= "1.66%"
 
 PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
index 115621228a530ed1fc838e17731de202231d4150..93b3b59a914bd017a2f48869fc5654e7cb6d5d6e 100644 (file)
@@ -58,7 +58,7 @@ ANY_OF_DISTRO_FEATURES:class-target = "opengl vulkan"
 
 PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}"
 
-MESA_LLVM_RELEASE ?= "${LLVMVERSION}"
+MESA_LLVM_RELEASE ?= ""
 
 # set the MESA_BUILD_TYPE to either 'release' (default) or 'debug'
 # by default the upstream mesa sources build a debug release