diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-04-07 19:00:14 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-19 14:14:11 +0100 |
commit | cbb01bd465ceca64cd48c315f86b9239b742999e (patch) | |
tree | 655296fdc10364c5e5f34248214c723051ee23c7 /meta/recipes-devtools | |
parent | d1ecc1ed48c892bdc36d0fc8c9929e1b9f5e9d1e (diff) | |
download | poky-cbb01bd465ceca64cd48c315f86b9239b742999e.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/llvm/llvm_git.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index 9400bf0821..13f7fb763e 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb | |||
@@ -19,7 +19,7 @@ inherit cmake pkgconfig | |||
19 | 19 | ||
20 | PROVIDES += "llvm${PV}" | 20 | PROVIDES += "llvm${PV}" |
21 | 21 | ||
22 | PV = "13.0.1" | 22 | PV = "14.0.0" |
23 | 23 | ||
24 | MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}" | 24 | MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}" |
25 | 25 | ||
@@ -27,7 +27,7 @@ LLVM_RELEASE = "${PV}" | |||
27 | LLVM_DIR = "llvm${LLVM_RELEASE}" | 27 | LLVM_DIR = "llvm${LLVM_RELEASE}" |
28 | 28 | ||
29 | BRANCH = "release/${MAJOR_VERSION}.x" | 29 | BRANCH = "release/${MAJOR_VERSION}.x" |
30 | SRCREV = "75e33f71c2dae584b13a7d1186ae0a038ba98838" | 30 | SRCREV = "329fda39c507e8740978d10458451dcdb21563be" |
31 | SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \ | 31 | SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \ |
32 | file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2 \ | 32 | file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2 \ |
33 | file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \ | 33 | file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \ |
@@ -145,7 +145,6 @@ do_install() { | |||
145 | do_install:class-native() { | 145 | do_install:class-native() { |
146 | install -D -m 0755 ${B}/bin/llvm-tblgen ${D}${bindir}/llvm-tblgen${PV} | 146 | install -D -m 0755 ${B}/bin/llvm-tblgen ${D}${bindir}/llvm-tblgen${PV} |
147 | install -D -m 0755 ${B}/bin/llvm-config ${D}${bindir}/llvm-config${PV} | 147 | install -D -m 0755 ${B}/bin/llvm-config ${D}${bindir}/llvm-config${PV} |
148 | install -D -m 0755 ${B}/lib/libLLVM-${MAJOR_VERSION}.so ${D}${libdir}/libLLVM-${MAJOR_VERSION}.so | ||
149 | } | 148 | } |
150 | 149 | ||
151 | PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-libllvm ${PN}-liboptremarks ${PN}-liblto" | 150 | PACKAGES =+ "${PN}-bugpointpasses ${PN}-llvmhello ${PN}-libllvm ${PN}-liboptremarks ${PN}-liblto" |