[llvm] r340827 - [benchmark] Fix buildbots failing to identify regex support
Kirill Bobyrev via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 28 07:51:09 PDT 2018
Author: omtcyfz
Date: Tue Aug 28 07:51:09 2018
New Revision: 340827
URL: http://llvm.org/viewvc/llvm-project?rev=340827&view=rev
Log:
[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.
Modified:
llvm/trunk/CMakeLists.txt
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=340827&r1=340826&r2=340827&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Tue Aug 28 07:51:09 2018
@@ -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)
More information about the llvm-commits
mailing list