Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 3df07a2

Browse files
committed
[benchmark] Fix buildbots failing to identify regex support
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340827 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent cf50706 commit 3df07a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,8 @@ if (LLVM_INCLUDE_BENCHMARKS)
10261026
set(BENCHMARK_ENABLE_INSTALL OFF CACHE BOOL "Don't install benchmark" FORCE)
10271027
set(BENCHMARK_DOWNLOAD_DEPENDENCIES OFF CACHE BOOL "Don't download dependencies" FORCE)
10281028
set(BENCHMARK_ENABLE_GTEST_TESTS OFF CACHE BOOL "Disable Google Test in benchmark" FORCE)
1029+
# Since LLVM requires C++11 it is safe to assume that std::regex is available.
1030+
set(HAVE_STD_REGEX ON CACHE BOOL "OK" FORCE)
10291031

10301032
add_subdirectory(utils/benchmark)
10311033
add_subdirectory(benchmarks)

0 commit comments

Comments
 (0)