From f39b323ed7a72f54d36a93d7b17dd3b1acea2421 Mon Sep 17 00:00:00 2001 From: dongdaxiang Date: Sat, 23 Mar 2019 10:15:16 +0800 Subject: [PATCH] remove trainer_library in CMakeLists test=develop --- paddle/fluid/framework/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/paddle/fluid/framework/CMakeLists.txt b/paddle/fluid/framework/CMakeLists.txt index f1c8af2efc..384f7f6e50 100644 --- a/paddle/fluid/framework/CMakeLists.txt +++ b/paddle/fluid/framework/CMakeLists.txt @@ -172,11 +172,10 @@ else() endif() cc_library(executor_gc_helper SRCS executor_gc_helper.cc DEPS scope proto_desc operator garbage_collector) - if(WITH_DISTRIBUTE) cc_library(executor SRCS executor.cc DEPS op_registry device_context scope framework_proto glog fleet_wrapper lod_rank_table feed_fetch_method sendrecvop_rpc ${GLOB_DISTRIBUTE_DEPS} -graph_to_program_pass variable_helper trainer_library data_feed_proto ${NGRAPH_EXE_DEPS}) +graph_to_program_pass variable_helper data_feed_proto ${NGRAPH_EXE_DEPS}) set(DISTRIBUTE_COMPILE_FLAGS "-Wno-non-virtual-dtor -Wno-error=non-virtual-dtor -Wno-error=delete-non-virtual-dtor") set_source_files_properties(executor.cc PROPERTIES COMPILE_FLAGS ${DISTRIBUTE_COMPILE_FLAGS}) else() -- GitLab