1*03907ee1SPatrick WilliamsSubject: LLVM_INCLUDE_BENCHMARKS with llvm 14.0.1 failing to build 2*03907ee1SPatrick Williams 3*03907ee1SPatrick Williamshttps://github.com/llvm/llvm-project/issues/54941 4*03907ee1SPatrick Williams 5*03907ee1SPatrick WilliamsThe LLVM_INCLUDE_BENCHMARKS is turned OFF to fix the build error as 6*03907ee1SPatrick Williamsper the discussions in the above link. We will work on the issue and 7*03907ee1SPatrick Williamsreplace the workaround with actual fix once committed in LLVM. 8*03907ee1SPatrick Williams 9*03907ee1SPatrick WilliamsPlease refer the following link for more discussions on the issue:- 10*03907ee1SPatrick Williamshttps://github.com/rust-lang/rust/issues/96054 11*03907ee1SPatrick Williams 12*03907ee1SPatrick WilliamsUpstream-Status: Pending 13*03907ee1SPatrick WilliamsSigned-off-by: Pgowda <pgowda.cve@gmail.com> 14*03907ee1SPatrick Williams 15*03907ee1SPatrick Williams--- a/llvm/CMakeLists.txt 2022-04-22 00:45:30.543445478 -0700 16*03907ee1SPatrick Williams+++ b/llvm/CMakeLists.txt 2022-04-22 00:45:42.095232974 -0700 17*03907ee1SPatrick Williams@@ -615,7 +615,7 @@ option(LLVM_INCLUDE_GO_TESTS "Include th 18*03907ee1SPatrick Williams 19*03907ee1SPatrick Williams option(LLVM_BUILD_BENCHMARKS "Add LLVM benchmark targets to the list of default 20*03907ee1SPatrick Williams targets. If OFF, benchmarks still could be built using Benchmarks target." OFF) 21*03907ee1SPatrick Williams-option(LLVM_INCLUDE_BENCHMARKS "Generate benchmark targets. If OFF, benchmarks can't be built." ON) 22*03907ee1SPatrick Williams+option(LLVM_INCLUDE_BENCHMARKS "Generate benchmark targets. If OFF, benchmarks can't be built." OFF) 23*03907ee1SPatrick Williams 24*03907ee1SPatrick Williams option (LLVM_BUILD_DOCS "Build the llvm documentation." OFF) 25*03907ee1SPatrick Williams option (LLVM_INCLUDE_DOCS "Generate build targets for llvm documentation." ON) 26