cachelib/cachelib-disable-binary_trace_gen.diff
Michel Lind 8595ee4fe2 Update to the 2025.02.03.00 tag; Fixes: RHBZ#2341686
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2025-02-07 14:59:42 -06:00

43 lines
1.1 KiB
Diff

--- a/cachelib/cachebench/CMakeLists.txt
+++ b/cachelib/cachebench/CMakeLists.txt
@@ -41,25 +41,6 @@ target_link_libraries(cachelib_cachebenc
gflags
)
-add_library (cachelib_binary_trace_gen
- ./runner/Runner.cpp
- ./runner/Stressor.cpp
- ./util/CacheConfig.cpp
- ./util/Config.cpp
- ./workload/BlockChunkCache.cpp
- ./workload/BlockChunkReplayGenerator.cpp
- ./workload/PieceWiseCache.cpp
- ./workload/OnlineGenerator.cpp
- ./workload/WorkloadGenerator.cpp
- ./workload/PieceWiseReplayGenerator.cpp
- )
-add_dependencies(cachelib_binary_trace_gen thrift_generated_files)
-target_link_libraries(cachelib_binary_trace_gen PUBLIC
- cachelib_datatype
- cachelib_allocator
- gflags
-)
-
if ((CMAKE_SYSTEM_NAME STREQUAL Linux) AND
(CMAKE_SYSTEM_PROCESSOR STREQUAL x86_64))
else()
@@ -68,14 +49,11 @@ endif()
add_executable (cachebench main.cpp)
-add_executable (binary_trace_gen binary_trace_gen.cpp)
target_link_libraries(cachebench cachelib_cachebench)
-target_link_libraries(binary_trace_gen cachelib_binary_trace_gen)
install(
TARGETS
cachebench
- binary_trace_gen
DESTINATION ${BIN_INSTALL_DIR}
)