We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d11c20 commit a76bcf7Copy full SHA for a76bcf7
cachelib/CMakeLists.txt
@@ -43,6 +43,7 @@ set(PACKAGE_BUGREPORT "https://github.com/facebook/TBD")
43
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
44
45
option(BUILD_TESTS "If enabled, compile the tests." ON)
46
+option(BUILD_WITH_DTO "If enabled, build with DSA transparent offloading." OFF)
47
48
49
set(BIN_INSTALL_DIR bin CACHE STRING
cachelib/cachebench/CMakeLists.txt
@@ -51,6 +51,10 @@ endif()
51
add_executable (cachebench main.cpp)
52
target_link_libraries(cachebench cachelib_cachebench)
53
54
+if (BUILD_WITH_DTO)
55
+ target_link_libraries(cachebench accel-config dto)
56
+endif ()
57
+
58
install(
59
TARGETS
60
cachebench
0 commit comments