Exclude flowbench target from all
This commit is contained in:
parent
7506caaac4
commit
7ddbd1847d
|
@ -164,6 +164,7 @@ endif()
|
|||
add_subdirectory(fdbbackup)
|
||||
add_subdirectory(contrib)
|
||||
add_subdirectory(tests)
|
||||
add_subdirectory(flowbench EXCLUDE_FROM_ALL)
|
||||
if(WITH_PYTHON)
|
||||
add_subdirectory(bindings)
|
||||
endif()
|
||||
|
@ -177,11 +178,6 @@ else()
|
|||
include(CPack)
|
||||
endif()
|
||||
|
||||
set(BUILD_FLOWBENCH OFF CACHE BOOL "Build microbenchmark program (builds google microbenchmark dependency)")
|
||||
if(BUILD_FLOWBENCH)
|
||||
add_subdirectory(flowbench)
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
|
||||
add_link_options(-lexecinfo)
|
||||
endif()
|
||||
|
|
|
@ -11,7 +11,7 @@ Summary
|
|||
Usage
|
||||
=====
|
||||
|
||||
- To build the `flowbench` executable, add `-DBUILD_FLOWBENCH=ON` to your cmake command.
|
||||
- To build the `flowbench` executable, run `ninja flowbench` or `make flowbench` depending on which build system you're using.
|
||||
- Then you can run `bin/flowbench --help` to see possible uses of `flowbench`.
|
||||
- Running `bin/flowbench` directly will run all registered benchmarks, but you may want to limit your run to a subset of benchmarks. This can be done by running `bin/flowbench --benchmark_filter=<regex>`
|
||||
- All benchmark names can be listed with `bin/flowbench --benchmark_list_tests`
|
||||
|
|
Loading…
Reference in New Issue