add dependecy of collective_helper (#18365)

* add dependecy of collective_helper

* test=develop
fix dependecy of collective_helper
nan-debug-tool
HaoRen 6 years ago committed by Yi Liu
parent 19da59ed3f
commit 9931bc64f5

@ -75,7 +75,7 @@ cc_library(device_context SRCS device_context.cc init.cc DEPS simple_threadpool
temp_allocator ${dgc_deps})
if (WITH_DISTRIBUTE)
cc_library(collective_helper SRCS collective_helper.cc DEPS framework_proto)
cc_library(collective_helper SRCS collective_helper.cc DEPS framework_proto device_context enforce)
endif()
if(WIN32)

Loading…
Cancel
Save