From 9931bc64f580cd42893b49bf73dde7a55f1ff221 Mon Sep 17 00:00:00 2001 From: HaoRen <864068456@qq.com> Date: Thu, 27 Jun 2019 17:02:07 +0800 Subject: [PATCH] add dependecy of collective_helper (#18365) * add dependecy of collective_helper * test=develop fix dependecy of collective_helper --- paddle/fluid/platform/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/platform/CMakeLists.txt b/paddle/fluid/platform/CMakeLists.txt index 93f29b57c86..da2c51daa86 100644 --- a/paddle/fluid/platform/CMakeLists.txt +++ b/paddle/fluid/platform/CMakeLists.txt @@ -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) -- GitLab