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
388 B
CMake
17 lines
388 B
CMake
include(FeatureSummary)
|
||
|
||
find_program(LLVMNM_EXECUTABLE
|
||
NAMES llvm-nm
|
||
DOC "The llvm-nm executable"
|
||
)
|
||
|
||
include(FindPackageHandleStandardArgs)
|
||
find_package_handle_standard_args(LLVMNm
|
||
DEFAULT_MSG
|
||
LLVMNM_EXECUTABLE)
|
||
|
||
SET_PACKAGE_PROPERTIES(LLVMNm PROPERTIES
|
||
URL https://llvm.org/docs/CommandGuide/llvm-nm.html
|
||
DESCRIPTION "list LLVM bitcode and object file’s symbol table"
|
||
)
|