summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-09-19 14:06:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-22 07:45:17 +0100
commit2a581252eae2c506237fb22f1f39fc26849b6431 (patch)
tree031c248e83c60d05d0415b759466f0eba1b2c6a3 /meta
parent7b268c82765c055a9fc4431e9421f4698f85fb0e (diff)
downloadpoky-2a581252eae2c506237fb22f1f39fc26849b6431.tar.gz
llvm: Upgrade to 17.0.1
This is first release in 17.x major release (From OE-Core rev: 388c6dd0ac470a8e83233adf50ad8e7d9029728f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/include/tcmode-default.inc2
-rw-r--r--meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch18
-rw-r--r--meta/recipes-devtools/llvm/llvm_git.bb4
3 files changed, 12 insertions, 12 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index 69280fd210..a7fe1fc0fa 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -24,7 +24,7 @@ GLIBCVERSION ?= "2.38%"
24LINUXLIBCVERSION ?= "6.4%" 24LINUXLIBCVERSION ?= "6.4%"
25QEMUVERSION ?= "8.1%" 25QEMUVERSION ?= "8.1%"
26GOVERSION ?= "1.20%" 26GOVERSION ?= "1.20%"
27LLVMVERSION ?= "16.%" 27LLVMVERSION ?= "17.%"
28RUSTVERSION ?= "1.70%" 28RUSTVERSION ?= "1.70%"
29 29
30PREFERRED_VERSION_gcc ?= "${GCCVERSION}" 30PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
diff --git a/meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch b/meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch
index b01b8647c9..add38b3bb4 100644
--- a/meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch
+++ b/meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch
@@ -1,27 +1,26 @@
1Upstream-Status: Pending 1From 588a8694c6540e31140c7e242bfb5e279d6ca08c Mon Sep 17 00:00:00 2001
2Signed-off-by: Khem Raj <raj.khem@gmail.com>
3
4From 61b00e1e051e367f5483d7b5253b6c85a9e8a90f Mon Sep 17 00:00:00 2001
5From: Martin Kelly <mkelly@xevo.com> 2From: Martin Kelly <mkelly@xevo.com>
6Date: Fri, 19 May 2017 00:22:57 -0700 3Date: Fri, 19 May 2017 00:22:57 -0700
7Subject: [PATCH] llvm: allow env override of exe path 4Subject: [PATCH] llvm: allow env override of exe and libdir path
8 5
9When using a native llvm-config from inside a sysroot, we need llvm-config to 6When using a native llvm-config from inside a sysroot, we need llvm-config to
10return the libraries, include directories, etc. from inside the sysroot rather 7return the libraries, include directories, etc. from inside the sysroot rather
11than from the native sysroot. Thus provide an env override for calling 8than from the native sysroot. Thus provide an env override for calling
12llvm-config from a target sysroot. 9llvm-config from a target sysroot.
13 10
11Upstream-Status: Inappropriate [OE-specific]
12
14Signed-off-by: Martin Kelly <mkelly@xevo.com> 13Signed-off-by: Martin Kelly <mkelly@xevo.com>
15Signed-off-by: Khem Raj <raj.khem@gmail.com> 14Signed-off-by: Khem Raj <raj.khem@gmail.com>
16--- 15---
17 llvm/tools/llvm-config/llvm-config.cpp | 7 +++++++ 16 llvm/tools/llvm-config/llvm-config.cpp | 25 +++++++++++++++++++------
18 1 file changed, 7 insertions(+) 17 1 file changed, 19 insertions(+), 6 deletions(-)
19 18
20diff --git a/llvm/tools/llvm-config/llvm-config.cpp b/llvm/tools/llvm-config/llvm-config.cpp 19diff --git a/llvm/tools/llvm-config/llvm-config.cpp b/llvm/tools/llvm-config/llvm-config.cpp
21index 7ef7c46a262..a4f7ed82c7b 100644 20index e86eb2b44b10..7b2abf318dbe 100644
22--- a/llvm/tools/llvm-config/llvm-config.cpp 21--- a/llvm/tools/llvm-config/llvm-config.cpp
23+++ b/llvm/tools/llvm-config/llvm-config.cpp 22+++ b/llvm/tools/llvm-config/llvm-config.cpp
24@@ -225,6 +225,13 @@ Typical components:\n\ 23@@ -246,6 +246,13 @@ Typical components:\n\
25 24
26 /// Compute the path to the main executable. 25 /// Compute the path to the main executable.
27 std::string GetExecutablePath(const char *Argv0) { 26 std::string GetExecutablePath(const char *Argv0) {
@@ -35,3 +34,4 @@ index 7ef7c46a262..a4f7ed82c7b 100644
35 // This just needs to be some symbol in the binary; C++ doesn't 34 // This just needs to be some symbol in the binary; C++ doesn't
36 // allow taking the address of ::main however. 35 // allow taking the address of ::main however.
37 void *P = (void *)(intptr_t)GetExecutablePath; 36 void *P = (void *)(intptr_t)GetExecutablePath;
37
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index f3d6f24bd2..611aacba14 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -14,14 +14,14 @@ RDEPENDS:${PN}:append:class-target = " ncurses-terminfo"
14 14
15inherit cmake pkgconfig 15inherit cmake pkgconfig
16 16
17PV = "16.0.6" 17PV = "17.0.1"
18 18
19MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}" 19MAJOR_VERSION = "${@oe.utils.trim_version("${PV}", 1)}"
20 20
21LLVM_RELEASE = "${PV}" 21LLVM_RELEASE = "${PV}"
22 22
23BRANCH = "release/${MAJOR_VERSION}.x" 23BRANCH = "release/${MAJOR_VERSION}.x"
24SRCREV = "7cbf1a2591520c2491aa35339f227775f4d3adf6" 24SRCREV = "e19b7dc36bc047b9eb72078d034596be766da350"
25SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \ 25SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH};protocol=https \
26 file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \ 26 file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
27 file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \ 27 file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \