Skip to content

Commit 48b012e

Browse files
krajrpurdie
authored andcommitted
rust-llvm: Disable benchmarks by cmake options
Drop patch to exclusively disable it in code It seems to be fixed upstream [1] [1] rust-lang/cmake-rs#158 Signed-off-by: Khem Raj <[email protected]> Signed-off-by: Mathieu Dubois-Briand <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
1 parent 5d16b7a commit 48b012e

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

meta/recipes-devtools/rust/rust-llvm/0003-llvm-fix-include-benchmarks.patch

Lines changed: 0 additions & 25 deletions
This file was deleted.

meta/recipes-devtools/rust/rust-llvm_1.85.1.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ require rust-source.inc
1010

1111
SRC_URI += "file://0002-llvm-allow-env-override-of-exe-path.patch;striplevel=2 \
1212
file://0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch;striplevel=2 \
13-
file://0003-llvm-fix-include-benchmarks.patch;striplevel=2 \
1413
"
1514

1615
S = "${RUSTSRC}/src/llvm-project/llvm"
@@ -50,6 +49,7 @@ EXTRA_OECMAKE = " \
5049
-DLLVM_INCLUDE_EXAMPLES=OFF \
5150
-DLLVM_BUILD_TESTS=OFF \
5251
-DLLVM_INCLUDE_TESTS=OFF \
52+
-DLLVM_INCLUDE_BENCHMARKS=OFF \
5353
-DLLVM_TARGET_ARCH=${TARGET_ARCH} \
5454
-DCMAKE_INSTALL_PREFIX:PATH=${libdir}/llvm-rust \
5555
"

0 commit comments

Comments
 (0)