summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/llvm
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-04-22 09:04:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-23 10:12:10 +0100
commit93c73856f488dcff238c529c3e141541eaff2494 (patch)
tree28c0eac3a1244cd932809249839acf21078b9bad /meta/recipes-devtools/llvm
parentcc6b1e2b1d0dd4b70016cac574f38d916cb9c127 (diff)
downloadpoky-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>
Diffstat (limited to 'meta/recipes-devtools/llvm')
-rw-r--r--meta/recipes-devtools/llvm/llvm/0001-nfc-Fix-missing-include.patch26
-rw-r--r--meta/recipes-devtools/llvm/llvm_git.bb7
2 files changed, 3 insertions, 30 deletions
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 @@
1From 3b7e611bd58ba842470d17374c550e14bceca5c7 Mon Sep 17 00:00:00 2001
2From: serge-sans-paille <sguelton@redhat.com>
3Date: Tue, 10 Nov 2020 14:55:25 +0100
4Subject: [PATCH] [nfc] Fix missing include
5
6Upstream-Status: Backport [https://github.com/llvm/llvm-project/commit/b498303066a63a203d24f739b2d2e0e56dca70d1]
7Signed-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
12diff --git a/llvm/utils/benchmark/src/benchmark_register.h b/llvm/utils/benchmark/src/benchmark_register.h
13index 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--
252.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
20PROVIDES += "llvm${PV}" 20PROVIDES += "llvm${PV}"
21 21
22MAJOR_VERSION = "11" 22MAJOR_VERSION = "12"
23MINOR_VERSION = "1" 23MINOR_VERSION = "0"
24PATCH_VERSION = "0" 24PATCH_VERSION = "0"
25 25
26PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}" 26PV = "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}"
@@ -29,12 +29,11 @@ LLVM_RELEASE = "${PV}"
29LLVM_DIR = "llvm${LLVM_RELEASE}" 29LLVM_DIR = "llvm${LLVM_RELEASE}"
30 30
31BRANCH = "release/${MAJOR_VERSION}.x" 31BRANCH = "release/${MAJOR_VERSION}.x"
32SRCREV = "1fdec59bffc11ae37eb51a1b9869f0696bfd5312" 32SRCREV = "fa0971b87fb2c9d14d1bba2551e61f02f18f329b"
33SRC_URI = "git://github.com/llvm/llvm-project.git;branch=${BRANCH} \ 33SRC_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
40UPSTREAM_CHECK_GITTAGREGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)" 39UPSTREAM_CHECK_GITTAGREGEX = "llvmorg-(?P<pver>\d+(\.\d+)+)"