summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch
diff options
context:
space:
mode:
authorPgowda <pgowda.cve@gmail.com>2022-04-26 06:02:05 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-27 23:30:11 +0100
commit0bd00122643aacd4a0156979436da909cc483b2e (patch)
tree4b63d804b5b76b30b6a2c7d556cf323d05af93e7 /meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch
parent7838c778af26e0a828e67f6cc9cb57db8197eb2e (diff)
downloadpoky-0bd00122643aacd4a0156979436da909cc483b2e.tar.gz
rust: update 1.59.0 -> 1.60.0
Rust has been upgraded to rust-1.60.0 that uses LLVM 14. Please refer the following link for more detailed features. https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html https://github.com/rust-lang/rust/blob/master/RELEASES.md (From OE-Core rev: 786a9a66486cf179ee4c9e295569fcd8c37fef78) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch')
-rw-r--r--meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch b/meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch
new file mode 100644
index 0000000000..ff31c0bc32
--- /dev/null
+++ b/meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch
@@ -0,0 +1,25 @@
1Subject: LLVM_INCLUDE_BENCHMARKS with llvm 14.0.1 failing to build
2
3https://github.com/llvm/llvm-project/issues/54941
4
5The LLVM_INCLUDE_BENCHMARKS is turned OFF to fix the build error as
6per the discussions in the above link. We will work on the issue and
7replace the workaround with actual fix once committed in LLVM.
8
9Please refer the following link for more discussions on the issue:-
10https://github.com/rust-lang/rust/issues/96054
11
12Upstream-Status: Pending
13Signed-off-by: Pgowda <pgowda.cve@gmail.com>
14
15--- a/llvm/CMakeLists.txt 2022-04-22 00:45:30.543445478 -0700
16+++ b/llvm/CMakeLists.txt 2022-04-22 00:45:42.095232974 -0700
17@@ -615,7 +615,7 @@ option(LLVM_INCLUDE_GO_TESTS "Include th
18
19 option(LLVM_BUILD_BENCHMARKS "Add LLVM benchmark targets to the list of default
20 targets. If OFF, benchmarks still could be built using Benchmarks target." OFF)
21-option(LLVM_INCLUDE_BENCHMARKS "Generate benchmark targets. If OFF, benchmarks can't be built." ON)
22+option(LLVM_INCLUDE_BENCHMARKS "Generate benchmark targets. If OFF, benchmarks can't be built." OFF)
23
24 option (LLVM_BUILD_DOCS "Build the llvm documentation." OFF)
25 option (LLVM_INCLUDE_DOCS "Generate build targets for llvm documentation." ON)