mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
llvm: update 14.0.6 -> 15.0.1
'Release' type follows standard practice elsewhere in core, particularly rust-llvm as well. (From OE-Core rev: 20adf74207b8c3eac7871e27da2df1aa26fca3b6) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c109408ceb
commit
507a50cf29
@@ -26,7 +26,7 @@ QEMUVERSION ?= "7.1%"
|
|||||||
GOVERSION ?= "1.19%"
|
GOVERSION ?= "1.19%"
|
||||||
# This can not use wildcards like 8.0.% since it is also used in mesa to denote
|
# 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
|
# llvm version being used, so always bump it with llvm recipe version bump
|
||||||
LLVMVERSION ?= "14.0.6"
|
LLVMVERSION ?= "15.0.1"
|
||||||
RUSTVERSION ?= "1.64%"
|
RUSTVERSION ?= "1.64%"
|
||||||
|
|
||||||
PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
|
PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
|
||||||
|
|||||||
@@ -19,14 +19,14 @@ inherit cmake pkgconfig
|
|||||||
|
|
||||||
PROVIDES += "llvm${PV}"
|
PROVIDES += "llvm${PV}"
|
||||||
|
|
||||||
PV = "14.0.6"
|
PV = "15.0.1"
|
||||||
|
|
||||||
MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
|
MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
|
||||||
|
|
||||||
LLVM_RELEASE = "${PV}"
|
LLVM_RELEASE = "${PV}"
|
||||||
|
|
||||||
BRANCH = "release/${MAJOR_VERSION}.x"
|
BRANCH = "release/${MAJOR_VERSION}.x"
|
||||||
SRCREV = "f28c006a5895fc0e329fe15fead81e37457cb1d1"
|
SRCREV = "b73d2c8c720a8c8e6e73b11be4e27afa6cb75bdf"
|
||||||
SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \
|
SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \
|
||||||
file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
|
file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
|
||||||
file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
|
file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
|
||||||
@@ -80,6 +80,7 @@ EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \
|
|||||||
-DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \
|
-DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \
|
||||||
-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \
|
-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON \
|
||||||
-DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \
|
-DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-G Ninja"
|
-G Ninja"
|
||||||
|
|
||||||
EXTRA_OECMAKE:append:class-target = "\
|
EXTRA_OECMAKE:append:class-target = "\
|
||||||
|
|||||||
Reference in New Issue
Block a user