CMakeLists.txt 1.0 KB
Newer Older
1
if(WITH_PSLIB)
2
    cc_library(fleet_wrapper SRCS fleet_wrapper.cc DEPS framework_proto variable_helper scope pslib_brpc pslib)
M
bug fix  
malin10 已提交
3
    cc_library(tree_wrapper SRCS tree_wrapper.cc)
4
else()
5
    cc_library(fleet_wrapper SRCS fleet_wrapper.cc DEPS framework_proto variable_helper scope)
6
endif(WITH_PSLIB)
D
dongdaxiang 已提交
7

8 9 10
if(WITH_NCCL)
    cc_library(nccl_wrapper SRCS nccl_wrapper.cc DEPS framework_proto variable_helper scope)
endif()
H
hutuxian 已提交
11
if(WITH_BOX_PS)
H
hutuxian 已提交
12
    nv_library(box_wrapper SRCS box_wrapper.cc box_wrapper.cu DEPS framework_proto lod_tensor box_ps)
H
hutuxian 已提交
13 14 15
else()
    cc_library(box_wrapper SRCS box_wrapper.cc DEPS framework_proto lod_tensor)
endif(WITH_BOX_PS)
16 17 18 19 20 21 22

if(WITH_GLOO)
    cc_library(gloo_wrapper SRCS gloo_wrapper.cc DEPS framework_proto variable_helper scope gloo)
else()
    cc_library(gloo_wrapper SRCS gloo_wrapper.cc DEPS framework_proto variable_helper scope)
endif(WITH_GLOO)

T
Thunderbrook 已提交
23
cc_library(heter_wrapper SRCS heter_wrapper.cc DEPS framework_proto device_context heter_service_proto)
T
Thunderbrook 已提交
24

25
cc_test(test_fleet SRCS test_fleet.cc DEPS fleet_wrapper gloo_wrapper fs shell)