diff options
| author | Khem Raj <raj.khem@gmail.com> | 2021-04-22 09:04:32 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-23 10:12:10 +0100 |
| commit | 93c73856f488dcff238c529c3e141541eaff2494 (patch) | |
| tree | 28c0eac3a1244cd932809249839acf21078b9bad | |
| parent | cc6b1e2b1d0dd4b70016cac574f38d916cb9c127 (diff) | |
| download | poky-93c73856f488dcff238c529c3e141541eaff2494.tar.gz | |
llvm: Upgrade to LLVM 12 release
Drop backported patch
(From OE-Core rev: ca72375a3bbebcb9a7af4dce3c06716ac2c0f5fc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/conf/distro/include/tcmode-default.inc | 2 | ||||
| -rw-r--r-- | meta/recipes-devtools/llvm/llvm/0001-nfc-Fix-missing-include.patch | 26 | ||||
| -rw-r--r-- | meta/recipes-devtools/llvm/llvm_git.bb | 7 |
3 files changed, 4 insertions, 31 deletions
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc index 76ada982f9..67ca87240f 100644 --- a/meta/conf/distro/include/tcmode-default.inc +++ b/meta/conf/distro/include/tcmode-default.inc | |||
| @@ -26,7 +26,7 @@ QEMUVERSION ?= "5.2%" | |||
| 26 | GOVERSION ?= "1.16%" | 26 | GOVERSION ?= "1.16%" |
| 27 | # This can not use wildcards like 8.0.% since it is also used in mesa to denote | 27 | # This can not use wildcards like 8.0.% since it is also used in mesa to denote |
| 28 | # llvm version being used, so always bump it with llvm recipe version bump | 28 | # llvm version being used, so always bump it with llvm recipe version bump |
| 29 | LLVMVERSION ?= "11.1.0" | 29 | LLVMVERSION ?= "12.0.0" |
| 30 | 30 | ||
| 31 | PREFERRED_VERSION_gcc ?= "${GCCVERSION}" | 31 | PREFERRED_VERSION_gcc ?= "${GCCVERSION}" |
| 32 | PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" | 32 | PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" |
diff --git a/meta/recipes-devtools/llvm/llvm/0001-nfc-Fix-missing-include.patch b/meta/recipes-devtools/llvm/llvm/0001-nfc-Fix-missing-include.patch deleted file mode 100644 index f6dee77ab2..0000000000 --- a/meta/recipes-devtools/llvm/llvm/0001-nfc-Fix-missing-include.patch +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | From 3b7e611bd58ba842470d17374c550e14bceca5c7 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: serge-sans-paille <sguelton@redhat.com> | ||
| 3 | Date: Tue, 10 Nov 2020 14:55:25 +0100 | ||
| 4 | Subject: [PATCH] [nfc] Fix missing include | ||
| 5 | |||
| 6 | Upstream-Status: Backport [https://github.com/llvm/llvm-project/commit/b498303066a63a203d24f739b2d2e0e56dca70d1] | ||
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 8 | --- | ||
| 9 | llvm/utils/benchmark/src/benchmark_register.h | 1 + | ||
| 10 | 1 file changed, 1 insertion(+) | ||
| 11 | |||
| 12 | diff --git a/llvm/utils/benchmark/src/benchmark_register.h b/llvm/utils/benchmark/src/benchmark_register.h | ||
| 13 | index 0705e219f2fa..4caa5ad4da07 100644 | ||
| 14 | --- a/llvm/utils/benchmark/src/benchmark_register.h | ||
| 15 | +++ b/llvm/utils/benchmark/src/benchmark_register.h | ||
| 16 | @@ -1,6 +1,7 @@ | ||
| 17 | #ifndef BENCHMARK_REGISTER_H | ||
| 18 | #define BENCHMARK_REGISTER_H | ||
| 19 | |||
| 20 | +#include <limits> | ||
| 21 | #include <vector> | ||
| 22 | |||
| 23 | #include "check.h" | ||
| 24 | -- | ||
| 25 | 2.30.1 | ||
| 26 | |||
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index db6694339c..8a5d3dc9bf 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb | |||
| @@ -19,8 +19,8 @@ inherit cmake pkgconfig | |||
| 19 | 19 | ||
| 20 | PROVIDES += "llvm${PV}" | 20 | PROVIDES += "llvm${PV}" |
| 21 | 21 | ||
| 22 | MAJOR_VERSION = "11" | 22 | MAJOR_VERSION = "12" |
| 23 | MINOR_VERSION = "1" | 23 | MINOR_VERSION = "0" |
| 24 | PATCH_VERSION = "0" | 24 | PATCH_VERSION = "0" |
| 25 | 25 | ||
| 26 | PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}" | 26 | PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}" |
| @@ -29,12 +29,11 @@ LLVM_RELEASE = "${PV}" | |||
| 29 | LLVM_DIR = "llvm${LLVM_RELEASE}" | 29 | LLVM_DIR = "llvm${LLVM_RELEASE}" |
| 30 | 30 | ||
| 31 | BRANCH = "release/${MAJOR_VERSION}.x" | 31 | BRANCH = "release/${MAJOR_VERSION}.x" |
| 32 | SRCREV = "1fdec59bffc11ae37eb51a1b9869f0696bfd5312" | 32 | SRCREV = "fa0971b87fb2c9d14d1bba2551e61f02f18f329b" |
| 33 | SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH} \ | 33 | SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH} \ |
| 34 | file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2 \ | 34 | file://0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch;striplevel=2 \ |
| 35 | file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \ | 35 | file://0007-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \ |
| 36 | file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \ | 36 | file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \ |
| 37 | file://0001-nfc-Fix-missing-include.patch;striplevel=2 \ | ||
| 38 | " | 37 | " |
| 39 | 38 | ||
| 40 | UPSTREAM_CHECK_GITTAGREGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)" | 39 | UPSTREAM_CHECK_GITTAGREGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)" |
