From 11e4a8e03873de1c7847d9e4fe4afbe0e4f1de24 Mon Sep 17 00:00:00 2001 From: Zuyu ZHANG Date: Wed, 30 Oct 2024 12:12:03 -0700 Subject: [PATCH] Fix velox_query_replayer linking error (#11388) Summary: A follow-up fix PR for https://github.com/facebookincubator/velox/issues/11360 to address the linking error: ```cmake [1432/1435] Linking CXX executable velox/tool/trace/velox_query_replayer FAILED: velox/tool/trace/velox_query_replayer ... Undefined symbols for architecture arm64: "facebook::velox::tool::trace::TraceReplayRunner::run()", referenced from: _main in TraceReplayerMain.cpp.o "facebook::velox::tool::trace::TraceReplayRunner::init()", referenced from: _main in TraceReplayerMain.cpp.o "facebook::velox::tool::trace::TraceReplayRunner::TraceReplayRunner()", referenced from: _main in TraceReplayerMain.cpp.o "vtable for facebook::velox::tool::trace::TraceReplayRunner", referenced from: Reviewed By: xiaoxmeng Differential Revision: D65217021 Pulled By: kgpai fbshipit-source-id: 2e0e44d916a27853366d77d883f0add70993fdc0 --- velox/tool/trace/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/velox/tool/trace/CMakeLists.txt b/velox/tool/trace/CMakeLists.txt index 8c68c9967db3..0e0c1169e61e 100644 --- a/velox/tool/trace/CMakeLists.txt +++ b/velox/tool/trace/CMakeLists.txt @@ -17,7 +17,8 @@ velox_add_library( AggregationReplayer.cpp OperatorReplayerBase.cpp PartitionedOutputReplayer.cpp - TableWriterReplayer.cpp) + TableWriterReplayer.cpp + TraceReplayRunner.cpp) velox_link_libraries( velox_query_trace_replayer_base