summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/distro/include/tcmode-default.inc2
-rw-r--r--meta/recipes-devtools/llvm/llvm/0001-nfc-Fix-missing-include.patch26
-rw-r--r--meta/recipes-devtools/llvm/llvm_git.bb7
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%"
26GOVERSION ?= "1.16%" 26GOVERSION ?= "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
29LLVMVERSION ?= "11.1.0" 29LLVMVERSION ?= "12.0.0"
30 30
31PREFERRED_VERSION_gcc ?= "${GCCVERSION}" 31PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
32PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}" 32PREFERRED_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 @@
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+)+)"