From d9a29a170fc9ad3252c230fe8e73a1d225bd0c7e Mon Sep 17 00:00:00 2001 From: Kirill Bobyrev Date: Tue, 28 Aug 2018 15:36:50 +0000 Subject: [PATCH] [benchmark] Stop building benchmarks by default Although the benchmark regex-related build issue seems to be fixed, it appears that benchmark library triggers some stage 2 clang-cl bugs: http://lab.llvm.org:8011/builders/clang-x86-windows-msvc2015/builds/13495/steps/build%20stage%202/logs/stdio The only sensible option now is to prevent benchmark library from building in the default configuration. llvm-svn: 340836 --- CMakeLists.txt | 2 +- docs/CMake.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 26a0bcf6f2f..0867b4be626 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -495,7 +495,7 @@ option(LLVM_INCLUDE_GO_TESTS "Include the Go bindings tests in test build target option(LLVM_BUILD_BENCHMARKS "Add LLVM benchmark targets to the list of default targets. If OFF, benchmarks still could be built using Benchmarks target." OFF) -option(LLVM_INCLUDE_BENCHMARKS "Generate benchmark targets. If OFF, benchmarks can't be built." ON) +option(LLVM_INCLUDE_BENCHMARKS "Generate benchmark targets. If OFF, benchmarks can't be built." OFF) option (LLVM_BUILD_DOCS "Build the llvm documentation." OFF) option (LLVM_INCLUDE_DOCS "Generate build targets for llvm documentation." ON) diff --git a/docs/CMake.rst b/docs/CMake.rst index 9ed6cb7678f..c6d5cd9aa42 100644 --- a/docs/CMake.rst +++ b/docs/CMake.rst @@ -254,7 +254,7 @@ LLVM-specific variables Adds benchmarks to the list of default targets. Defaults to OFF. **LLVM_INCLUDE_BENCHMARKS**:BOOL - Generate build targets for the LLVM benchmarks. Defaults to ON. + Generate build targets for the LLVM benchmarks. Defaults to OFF. **LLVM_APPEND_VC_REV**:BOOL Embed version control revision info (svn revision number or Git revision id).