blob: ff31c0bc3230edf2606655163e926a679dbd984e [file] [log] [blame]
Patrick Williams03907ee2022-05-01 06:28:52 -05001Subject: 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)