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
17 lines
379 B
CMake
17 lines
379 B
CMake
include(FeatureSummary)
|
|
|
|
find_program(LLVMAR_EXECUTABLE
|
|
NAMES llvm-ar
|
|
DOC "The llvm-ar executable"
|
|
)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(LLVMAr
|
|
DEFAULT_MSG
|
|
LLVMAR_EXECUTABLE)
|
|
|
|
SET_PACKAGE_PROPERTIES(LLVMAr PROPERTIES
|
|
URL https://llvm.org/docs/CommandGuide/llvm-ar.html
|
|
DESCRIPTION "create, modify, and extract from archives"
|
|
)
|