Pulled the latest (b000672), which adds an option to disable -Werror, which caused issues previously (see for instance https://reviews.llvm.org/D112012) Applied https://github.com/google/benchmark/pull/1305 to unblock, as this issue is causing downstream buildbot failures. The only change is in llvm/CMakeLists.txt, where we set BENCHMARK_ENABLE_WERROR to have the same value as LLVM_ENABLE_WERROR. This patch also introduces a convenience script to pull benchmark from upstream. Differential Revision: https://reviews.llvm.org/D115684
16 lines
339 B
CMake
16 lines
339 B
CMake
include(FeatureSummary)
|
|
|
|
find_program(LLVMRANLIB_EXECUTABLE
|
|
NAMES llvm-ranlib
|
|
DOC "The llvm-ranlib executable"
|
|
)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(LLVMRanLib
|
|
DEFAULT_MSG
|
|
LLVMRANLIB_EXECUTABLE)
|
|
|
|
SET_PACKAGE_PROPERTIES(LLVMRanLib PROPERTIES
|
|
DESCRIPTION "generate index for LLVM archive"
|
|
)
|