diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-09-29 11:13:28 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-15 14:16:12 +0100 |
commit | 1144b124f30df41f15cd7ea9a55dd3f162ade191 (patch) | |
tree | efa84dd17a292bd13cc2c06320c4809ed0c671b4 /meta/recipes-devtools/llvm/llvm | |
parent | 52e5e97ab4bb86df1ac097f2a3de3ce4483e15db (diff) | |
download | poky-1144b124f30df41f15cd7ea9a55dd3f162ade191.tar.gz |
llvm: Update to 9.0.0
libOptRemarks has been renamed as libRemarks
RISC-V backend is now supported
(From OE-Core rev: 7f4870132ece9efa7f1404e2620a2e05055bca12)
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/llvm')
-rw-r--r-- | meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch | 9 | ||||
-rw-r--r-- | meta/recipes-devtools/llvm/llvm/0007-llvm-allow-env-override-of-exe-path.patch | 8 |
2 files changed, 4 insertions, 13 deletions
diff --git a/meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch b/meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch index 789c308863..d75c94e9e9 100644 --- a/meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch +++ b/meta/recipes-devtools/llvm/llvm/0006-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch | |||
@@ -1,13 +1,11 @@ | |||
1 | From 4c08879d2dfbe7face4e679ac8499dc7bff2dd20 Mon Sep 17 00:00:00 2001 | 1 | From dbeecdb307be8b783b42cbc89dcb9c5e7f528989 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 21 May 2016 00:33:20 +0000 | 3 | Date: Sat, 21 May 2016 00:33:20 +0000 |
4 | Subject: [PATCH 06/19] llvm: TargetLibraryInfo: Undefine libc functions if | 4 | Subject: [PATCH] llvm: TargetLibraryInfo: Undefine libc functions if they are macros |
5 | they are macros | ||
6 | 5 | ||
7 | musl defines some functions as macros and not inline functions | 6 | musl defines some functions as macros and not inline functions |
8 | if this is the case then make sure to undefine them | 7 | if this is the case then make sure to undefine them |
9 | 8 | ||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
12 | --- | 10 | --- |
13 | .../llvm/Analysis/TargetLibraryInfo.def | 21 +++++++++++++++++++ | 11 | .../llvm/Analysis/TargetLibraryInfo.def | 21 +++++++++++++++++++ |
@@ -87,6 +85,3 @@ index afed404f04c..876888656f2 100644 | |||
87 | TLI_DEFINE_ENUM_INTERNAL(tmpfile64) | 85 | TLI_DEFINE_ENUM_INTERNAL(tmpfile64) |
88 | TLI_DEFINE_STRING_INTERNAL("tmpfile64") | 86 | TLI_DEFINE_STRING_INTERNAL("tmpfile64") |
89 | /// int toascii(int c); | 87 | /// int toascii(int c); |
90 | -- | ||
91 | 2.22.0 | ||
92 | |||
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 f47080c9fd..58dce513c2 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,14 +1,13 @@ | |||
1 | From b66d6f39a374b8df41e7235351e5dee2e81f440c Mon Sep 17 00:00:00 2001 | 1 | From 61b00e1e051e367f5483d7b5253b6c85a9e8a90f Mon Sep 17 00:00:00 2001 |
2 | From: Martin Kelly <mkelly@xevo.com> | 2 | From: Martin Kelly <mkelly@xevo.com> |
3 | Date: Fri, 19 May 2017 00:22:57 -0700 | 3 | Date: Fri, 19 May 2017 00:22:57 -0700 |
4 | Subject: [PATCH 07/19] llvm: allow env override of exe path | 4 | Subject: [PATCH] llvm: allow env override of exe path |
5 | 5 | ||
6 | When using a native llvm-config from inside a sysroot, we need llvm-config to | 6 | When using a native llvm-config from inside a sysroot, we need llvm-config to |
7 | return the libraries, include directories, etc. from inside the sysroot rather | 7 | return the libraries, include directories, etc. from inside the sysroot rather |
8 | than from the native sysroot. Thus provide an env override for calling | 8 | than from the native sysroot. Thus provide an env override for calling |
9 | llvm-config from a target sysroot. | 9 | llvm-config from a target sysroot. |
10 | 10 | ||
11 | Upstream-Status: Pending | ||
12 | Signed-off-by: Martin Kelly <mkelly@xevo.com> | 11 | Signed-off-by: Martin Kelly <mkelly@xevo.com> |
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
14 | --- | 13 | --- |
@@ -33,6 +32,3 @@ index 7ef7c46a262..a4f7ed82c7b 100644 | |||
33 | // This just needs to be some symbol in the binary; C++ doesn't | 32 | // This just needs to be some symbol in the binary; C++ doesn't |
34 | // allow taking the address of ::main however. | 33 | // allow taking the address of ::main however. |
35 | void *P = (void *)(intptr_t)GetExecutablePath; | 34 | void *P = (void *)(intptr_t)GetExecutablePath; |
36 | -- | ||
37 | 2.22.0 | ||
38 | |||