Skip to content

Commit

Permalink
[benchmark] Fix buildbots failing to identify regex support
Browse files Browse the repository at this point in the history
This is cleanup after newly introduced google/benchmark library
(rL340809). Many buildbots fail to identify regex engine support, so
this should presumably fix the issue.

llvm-svn: 340827
  • Loading branch information
kirillbobyrev committed Aug 28, 2018
1 parent 10d87ab commit 3e331e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,8 @@ if (LLVM_INCLUDE_BENCHMARKS)
set(BENCHMARK_ENABLE_INSTALL OFF CACHE BOOL "Don't install benchmark" FORCE)
set(BENCHMARK_DOWNLOAD_DEPENDENCIES OFF CACHE BOOL "Don't download dependencies" FORCE)
set(BENCHMARK_ENABLE_GTEST_TESTS OFF CACHE BOOL "Disable Google Test in benchmark" FORCE)
# Since LLVM requires C++11 it is safe to assume that std::regex is available.
set(HAVE_STD_REGEX ON CACHE BOOL "OK" FORCE)

add_subdirectory(utils/benchmark)
add_subdirectory(benchmarks)
Expand Down

0 comments on commit 3e331e0

Please sign in to comment.