mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 03:33:02 +01:00
llvm: update 13.0.1 -> 14.0.0
llvm-config no longer links with libLLVM, so there is no need to install it in -native (and it isn't built in the first place). This also significantly speeds up llvm-native build. (From OE-Core rev: ee06fc2a19665461e143fe3bf7e94b703652e1cf) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d1ecc1ed48
commit
cbb01bd465
@@ -26,7 +26,7 @@ QEMUVERSION ?= "6.2%"
|
||||
GOVERSION ?= "1.17%"
|
||||
# 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 ?= "13.0.1"
|
||||
LLVMVERSION ?= "14.0.0"
|
||||
RUSTVERSION ?= "1.59%"
|
||||
|
||||
PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
|
||||
|
||||
@@ -19,7 +19,7 @@ inherit cmake pkgconfig
|
||||
|
||||
PROVIDES += "llvm${PV}"
|
||||
|
||||
PV = "13.0.1"
|
||||
PV = "14.0.0"
|
||||
|
||||
MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
|
||||
|
||||
@@ -27,7 +27,7 @@ LLVM_RELEASE = "${PV}"
|
||||
LLVM_DIR = "llvm${LLVM_RELEASE}"
|
||||
|
||||
BRANCH = "release/${MAJOR_VERSION}.x"
|
||||
SRCREV = "75e33f71c2dae584b13a7d1186ae0a038ba98838"
|
||||
SRCREV = "329fda39c507e8740978d10458451dcdb21563be"
|
||||
SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \
|
||||
file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2 \
|
||||
file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
|
||||
@@ -145,7 +145,6 @@ do_install() {
|
||||
do_install:class-native() {
|
||||
install -D -m 0755 ${B}/bin/llvm-tblgen ${D}${bindir}/llvm-tblgen${PV}
|
||||
install -D -m 0755 ${B}/bin/llvm-config ${D}${bindir}/llvm-config${PV}
|
||||
install -D -m 0755 ${B}/lib/libLLVM-${MAJOR_VERSION}.so ${D}${libdir}/libLLVM-${MAJOR_VERSION}.so
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-libllvm ${PN}-liboptremarks ${PN}-liblto"
|
||||
|
||||
Reference in New Issue
Block a user