fixed flowbench

This commit is contained in:
Markus Pilman 2022-06-28 10:23:38 -06:00
parent 1bdbd89839
commit a2ee14d3fb
2 changed files with 4 additions and 20 deletions

View File

@ -1,23 +1,7 @@
set(FLOWBENCH_SRCS
flowbench.actor.cpp
BenchCallback.actor.cpp
BenchEncrypt.cpp
BenchHash.cpp
BenchIterate.cpp
BenchIONet2.actor.cpp
BenchMem.cpp
BenchMetadataCheck.cpp
BenchNet2.actor.cpp
BenchPopulate.cpp
BenchRandom.cpp
BenchRef.cpp
BenchStream.actor.cpp
BenchTimer.cpp
BenchVersionVector.cpp
GlobalData.h
GlobalData.cpp)
project (flowbench)
fdb_find_sources(FLOWBENCH_SRCS)
# include the configurations from benchmark.cmake
configure_file(benchmark.cmake googlebenchmark-download/CMakeLists.txt)
# executing the configuration step
@ -46,6 +30,6 @@ add_subdirectory(
${CMAKE_CURRENT_BINARY_DIR}/googlebenchmark-build
EXCLUDE_FROM_ALL
)
include_directories(${CMAKE_CURRENT_BINARY_DIR}/googlebenchmark-src/include)
add_flow_target(EXECUTABLE NAME flowbench SRCS ${FLOWBENCH_SRCS})
target_include_directories(flowbench PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/include" "${CMAKE_CURRENT_BINARY_DIR}/include" ${CMAKE_CURRENT_BINARY_DIR}/googlebenchmark-src/include)
target_link_libraries(flowbench benchmark pthread flow fdbclient)