Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
419506f5
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2299
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
419506f5
编写于
12月 04, 2018
作者:
H
heqiaozhi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refine for compile pslib.so
上级
2301abc4
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
4 addition
and
3 deletion
+4
-3
cmake/external/pslib.cmake
cmake/external/pslib.cmake
+1
-1
cmake/external/pslib_brpc.cmake
cmake/external/pslib_brpc.cmake
+1
-1
paddle/fluid/CMakeLists.txt
paddle/fluid/CMakeLists.txt
+1
-0
paddle/fluid/framework/CMakeLists.txt
paddle/fluid/framework/CMakeLists.txt
+1
-1
未找到文件。
cmake/external/pslib.cmake
浏览文件 @
419506f5
...
...
@@ -66,7 +66,7 @@ ExternalProject_Add(
CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=
${
PSLIB_INSTALL_ROOT
}
)
ADD_LIBRARY
(
pslib S
TATIC
IMPORTED GLOBAL
)
ADD_LIBRARY
(
pslib S
HARED
IMPORTED GLOBAL
)
SET_PROPERTY
(
TARGET pslib PROPERTY IMPORTED_LOCATION
${
PSLIB_LIB
}
)
ADD_DEPENDENCIES
(
pslib
${
PSLIB_PROJECT
}
)
LIST
(
APPEND external_project_dependencies pslib
)
...
...
cmake/external/pslib_brpc.cmake
浏览文件 @
419506f5
...
...
@@ -41,7 +41,7 @@ SET(PSLIB_BRPC_INSTALL_DIR ${PSLIB_BRPC_INSTALL_ROOT}/${PSLIB_BRPC_DST_DIR})
SET
(
PSLIB_BRPC_ROOT
${
PSLIB_BRPC_INSTALL_DIR
}
)
SET
(
PSLIB_BRPC_INC_DIR
${
PSLIB_BRPC_ROOT
}
/include
)
SET
(
PSLIB_BRPC_LIB_DIR
${
PSLIB_BRPC_ROOT
}
/lib
)
SET
(
PSLIB_BRPC_LIB
${
PSLIB_BRPC_LIB_DIR
}
/lib
ps.so
)
SET
(
PSLIB_BRPC_LIB
${
PSLIB_BRPC_LIB_DIR
}
/lib
brpc.a
)
SET
(
PSLIB_BRPC_IOMP_LIB
${
PSLIB_BRPC_LIB_DIR
}
/libiomp5.so
)
#todo what is this
SET
(
CMAKE_INSTALL_RPATH
"
${
CMAKE_INSTALL_RPATH
}
"
"
${
PSLIB_BRPC_ROOT
}
/lib"
)
...
...
paddle/fluid/CMakeLists.txt
浏览文件 @
419506f5
add_subdirectory
(
memory
)
add_subdirectory
(
platform
)
add_subdirectory
(
framework
)
#add_subdirectory(distributed)
add_subdirectory
(
operators
)
add_subdirectory
(
string
)
add_subdirectory
(
recordio
)
...
...
paddle/fluid/framework/CMakeLists.txt
浏览文件 @
419506f5
...
...
@@ -180,7 +180,7 @@ cc_library(parallel_executor SRCS parallel_executor.cc DEPS
graph build_strategy
fast_threaded_ssa_graph_executor variable_helper
)
cc_library
(
async_executor SRCS async_executor.cc data_feed.cc data_feed_factory.cc executor_thread_worker.cc DEPS op_registry device_context scope framework_proto glog lod_rank_table feed_fetch_method graph_to_program_pass async_executor_proto variable_helper pslib
)
cc_library
(
async_executor SRCS async_executor.cc data_feed.cc data_feed_factory.cc executor_thread_worker.cc DEPS op_registry device_context scope framework_proto glog lod_rank_table feed_fetch_method graph_to_program_pass async_executor_proto variable_helper pslib
_brpc pslib
)
cc_test
(
data_feed_test SRCS data_feed_test.cc DEPS async_executor
)
cc_library
(
prune SRCS prune.cc DEPS framework_proto
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录