Skip to content

Commit 82416f1

Browse files
committed
fix concurrency_test build error on mac
1 parent 9ebbfa6 commit 82416f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

paddle/fluid/framework/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ cc_library(lod_rank_table SRCS lod_rank_table.cc DEPS lod_tensor)
8484
cc_library(feed_fetch_method SRCS feed_fetch_method.cc DEPS lod_tensor scope glog)
8585

8686
if(WITH_DISTRIBUTE)
87-
cc_library(executor SRCS executor.cc DEPS op_registry device_context scope framework_proto glog lod_rank_table feed_fetch_method sendrecvop_grpc grpc++_unsecure grpc_unsecure gpr)
87+
cc_library(executor SRCS executor.cc DEPS op_registry device_context scope framework_proto glog lod_rank_table feed_fetch_method sendrecvop_grpc cares grpc++_unsecure grpc_unsecure gpr)
8888
set(DISTRIBUTE_COMPILE_FLAGS "-Wno-non-virtual-dtor -Wno-error=non-virtual-dtor -Wno-error=delete-non-virtual-dtor")
8989
set_source_files_properties(executor.cc PROPERTIES COMPILE_FLAGS ${DISTRIBUTE_COMPILE_FLAGS})
9090
else()
@@ -109,6 +109,6 @@ cc_test(cow_ptr_tests SRCS details/cow_ptr_test.cc)
109109

110110
# cc_test(channel_test SRCS channel_test.cc)
111111
cc_test(tuple_test SRCS tuple_test.cc )
112-
#cc_test(concurrency_test SRCS concurrency_test.cc DEPS go_op channel_close_op channel_create_op
113-
# channel_send_op channel_recv_op sum_op select_op elementwise_add_op compare_op
114-
# conditional_block_op while_op assign_op print_op executor proto_desc)
112+
cc_test(concurrency_test SRCS concurrency_test.cc DEPS go_op channel_close_op channel_create_op
113+
channel_send_op channel_recv_op sum_op select_op elementwise_add_op compare_op
114+
conditional_block_op while_op assign_op print_op executor proto_desc)

0 commit comments

Comments
 (0)