diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-12-24 17:59:38 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-26 18:49:07 +0000 |
commit | 5b5e4cd6e261a62c85b55a65770d7751c55fb22c (patch) | |
tree | 350209fd09d14a20382d87fc0d6ccd7bb78cb9ba | |
parent | 03a05c9b79572bbbaaa8bb9f7b54ed414d76b798 (diff) | |
download | poky-5b5e4cd6e261a62c85b55a65770d7751c55fb22c.tar.gz |
tcmode-default.inc: set LLVMVERSION to a major version wildcard
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.
(From OE-Core rev: f0ab1736438f6f23603e3694dc2f0b724b103722)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes-recipe/meson.bbclass | 2 | ||||
-rw-r--r-- | meta/conf/distro/include/tcmode-default.inc | 4 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/meta/classes-recipe/meson.bbclass b/meta/classes-recipe/meson.bbclass index 3cc94c7584..48688bed75 100644 --- a/meta/classes-recipe/meson.bbclass +++ b/meta/classes-recipe/meson.bbclass | |||
@@ -72,7 +72,7 @@ strip = ${@meson_array('STRIP', d)} | |||
72 | readelf = ${@meson_array('READELF', d)} | 72 | readelf = ${@meson_array('READELF', d)} |
73 | objcopy = ${@meson_array('OBJCOPY', d)} | 73 | objcopy = ${@meson_array('OBJCOPY', d)} |
74 | pkgconfig = 'pkg-config' | 74 | pkgconfig = 'pkg-config' |
75 | llvm-config = 'llvm-config${LLVMVERSION}' | 75 | llvm-config = 'llvm-config' |
76 | cups-config = 'cups-config' | 76 | cups-config = 'cups-config' |
77 | g-ir-scanner = '${STAGING_BINDIR}/g-ir-scanner-wrapper' | 77 | g-ir-scanner = '${STAGING_BINDIR}/g-ir-scanner-wrapper' |
78 | g-ir-compiler = '${STAGING_BINDIR}/g-ir-compiler-wrapper' | 78 | g-ir-compiler = '${STAGING_BINDIR}/g-ir-compiler-wrapper' |
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index dc1cac734f..c784221062 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc | |||
@@ -24,9 +24,7 @@ GLIBCVERSION ?= "2.36" | |||
24 | LINUXLIBCVERSION ?= "5.19%" | 24 | LINUXLIBCVERSION ?= "5.19%" |
25 | QEMUVERSION ?= "7.1%" | 25 | QEMUVERSION ?= "7.1%" |
26 | GOVERSION ?= "1.19%" | 26 | GOVERSION ?= "1.19%" |
27 | # This can not use wildcards like 8.0.% since it is also used in mesa to denote | 27 | LLVMVERSION ?= "15.%" |
28 | # llvm version being used, so always bump it with llvm recipe version bump | ||
29 | LLVMVERSION ?= "15.0.6" | ||
30 | RUSTVERSION ?= "1.66%" | 28 | RUSTVERSION ?= "1.66%" |
31 | 29 | ||
32 | PREFERRED_VERSION_gcc ?= "${GCCVERSION}" | 30 | PREFERRED_VERSION_gcc ?= "${GCCVERSION}" |
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 115621228a..93b3b59a91 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -58,7 +58,7 @@ ANY_OF_DISTRO_FEATURES:class-target = "opengl vulkan" | |||
58 | 58 | ||
59 | PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}" | 59 | PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}" |
60 | 60 | ||
61 | MESA_LLVM_RELEASE ?= "${LLVMVERSION}" | 61 | MESA_LLVM_RELEASE ?= "" |
62 | 62 | ||
63 | # set the MESA_BUILD_TYPE to either 'release' (default) or 'debug' | 63 | # set the MESA_BUILD_TYPE to either 'release' (default) or 'debug' |
64 | # by default the upstream mesa sources build a debug release | 64 | # by default the upstream mesa sources build a debug release |