Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
24bbfb90
S
Serving
项目概览
PaddlePaddle
/
Serving
1 年多 前同步成功
通知
186
Star
833
Fork
253
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
105
列表
看板
标记
里程碑
合并请求
10
Wiki
2
Wiki
分析
仓库
DevOps
项目成员
Pages
S
Serving
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
105
Issue
105
列表
看板
标记
里程碑
合并请求
10
合并请求
10
Pages
分析
分析
仓库分析
DevOps
Wiki
2
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
24bbfb90
编写于
9月 23, 2019
作者:
M
MRXLT
提交者:
GitHub
9月 23, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #10 from PaddlePaddle/develop
update from origin
上级
e1d7a0f1
0fc8d573
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
12 addition
and
8 deletion
+12
-8
cmake/paddlepaddle.cmake
cmake/paddlepaddle.cmake
+8
-0
cube/cube-builder/CMakeLists.txt
cube/cube-builder/CMakeLists.txt
+1
-0
demo-serving/CMakeLists.txt
demo-serving/CMakeLists.txt
+1
-6
inferencer-fluid-cpu/CMakeLists.txt
inferencer-fluid-cpu/CMakeLists.txt
+1
-1
inferencer-fluid-gpu/CMakeLists.txt
inferencer-fluid-gpu/CMakeLists.txt
+1
-1
未找到文件。
cmake/paddlepaddle.cmake
浏览文件 @
24bbfb90
...
@@ -76,7 +76,15 @@ SET_PROPERTY(TARGET snappystream PROPERTY IMPORTED_LOCATION ${BINARY_DIR}/fluid_
...
@@ -76,7 +76,15 @@ SET_PROPERTY(TARGET snappystream PROPERTY IMPORTED_LOCATION ${BINARY_DIR}/fluid_
ADD_LIBRARY
(
xxhash STATIC IMPORTED GLOBAL
)
ADD_LIBRARY
(
xxhash STATIC IMPORTED GLOBAL
)
SET_PROPERTY
(
TARGET xxhash PROPERTY IMPORTED_LOCATION
${
BINARY_DIR
}
/fluid_install_dir/third_party/install/xxhash/lib/libxxhash.a
)
SET_PROPERTY
(
TARGET xxhash PROPERTY IMPORTED_LOCATION
${
BINARY_DIR
}
/fluid_install_dir/third_party/install/xxhash/lib/libxxhash.a
)
ADD_LIBRARY
(
iomp5 SHARED IMPORTED GLOBAL
)
SET_PROPERTY
(
TARGET iomp5 PROPERTY IMPORTED_LOCATION
${
BINARY_DIR
}
/fluid_install_dir/third_party/install/mklml/lib/libiomp5.so
)
ADD_LIBRARY
(
mklml_intel SHARED IMPORTED GLOBAL
)
SET_PROPERTY
(
TARGET mklml_intel PROPERTY IMPORTED_LOCATION
${
BINARY_DIR
}
/fluid_install_dir/third_party/install/mklml/lib/libmklml_intel.so
)
LIST
(
APPEND paddle_depend_libs
LIST
(
APPEND paddle_depend_libs
snappystream
snappystream
snappy
snappy
iomp5
mklml_intel
xxhash
)
xxhash
)
cube/cube-builder/CMakeLists.txt
浏览文件 @
24bbfb90
...
@@ -32,6 +32,7 @@ add_dependencies(cube-builder jsoncpp)
...
@@ -32,6 +32,7 @@ add_dependencies(cube-builder jsoncpp)
set
(
DYNAMIC_LIB
set
(
DYNAMIC_LIB
gflags
gflags
jsoncpp
jsoncpp
brpc
-lssl
-lssl
-lcrypto
-lcrypto
${
CURL_LIB
}
${
CURL_LIB
}
...
...
demo-serving/CMakeLists.txt
浏览文件 @
24bbfb90
...
@@ -26,11 +26,6 @@ endif()
...
@@ -26,11 +26,6 @@ endif()
include_directories
(
SYSTEM
${
CMAKE_CURRENT_LIST_DIR
}
/../kvdb/include
)
include_directories
(
SYSTEM
${
CMAKE_CURRENT_LIST_DIR
}
/../kvdb/include
)
find_library
(
MKLML_LIB NAMES libmklml_intel.so PATHS
${
CMAKE_BINARY_DIR
}
/Paddle/third_party/install/mklml/lib/
)
find_library
(
MKLML_IOMP_LIB NAMES libiomp5.so PATHS
${
CMAKE_BINARY_DIR
}
/Paddle/third_party/install/mklml/lib
)
include
(
op/CMakeLists.txt
)
include
(
op/CMakeLists.txt
)
include
(
proto/CMakeLists.txt
)
include
(
proto/CMakeLists.txt
)
add_executable
(
serving
${
serving_srcs
}
)
add_executable
(
serving
${
serving_srcs
}
)
...
@@ -64,7 +59,7 @@ target_link_libraries(serving kvdb rocksdb)
...
@@ -64,7 +59,7 @@ target_link_libraries(serving kvdb rocksdb)
if
(
WITH_GPU
)
if
(
WITH_GPU
)
target_link_libraries
(
serving
${
CUDA_LIBRARIES
}
)
target_link_libraries
(
serving
${
CUDA_LIBRARIES
}
)
endif
()
endif
()
target_link_libraries
(
serving
${
MKLML_LIB
}
${
MKLML_IOMP_LIB
}
-lpthread
target_link_libraries
(
serving
iomp5 mklml_intel
-lpthread
-lcrypto -lm -lrt -lssl -ldl -lz -lbz2
)
-lcrypto -lm -lrt -lssl -ldl -lz -lbz2
)
install
(
TARGETS serving
install
(
TARGETS serving
...
...
inferencer-fluid-cpu/CMakeLists.txt
浏览文件 @
24bbfb90
...
@@ -3,7 +3,7 @@ add_library(fluid_cpu_engine ${fluid_cpu_engine_srcs})
...
@@ -3,7 +3,7 @@ add_library(fluid_cpu_engine ${fluid_cpu_engine_srcs})
target_include_directories
(
fluid_cpu_engine PUBLIC
target_include_directories
(
fluid_cpu_engine PUBLIC
${
CMAKE_BINARY_DIR
}
/Paddle/fluid_install_dir/
)
${
CMAKE_BINARY_DIR
}
/Paddle/fluid_install_dir/
)
add_dependencies
(
fluid_cpu_engine pdserving extern_paddle configure
)
add_dependencies
(
fluid_cpu_engine pdserving extern_paddle configure
)
target_link_libraries
(
fluid_cpu_engine pdserving paddle_fluid
-liomp5 -l
mklml_intel -lpthread -lcrypto -lm -lrt -lssl -ldl -lz
)
target_link_libraries
(
fluid_cpu_engine pdserving paddle_fluid
iomp5
mklml_intel -lpthread -lcrypto -lm -lrt -lssl -ldl -lz
)
install
(
TARGETS fluid_cpu_engine
install
(
TARGETS fluid_cpu_engine
ARCHIVE DESTINATION
${
PADDLE_SERVING_INSTALL_DIR
}
/lib
ARCHIVE DESTINATION
${
PADDLE_SERVING_INSTALL_DIR
}
/lib
...
...
inferencer-fluid-gpu/CMakeLists.txt
浏览文件 @
24bbfb90
...
@@ -3,7 +3,7 @@ add_library(fluid_gpu_engine ${fluid_gpu_engine_srcs})
...
@@ -3,7 +3,7 @@ add_library(fluid_gpu_engine ${fluid_gpu_engine_srcs})
target_include_directories
(
fluid_gpu_engine PUBLIC
target_include_directories
(
fluid_gpu_engine PUBLIC
${
CMAKE_BINARY_DIR
}
/Paddle/fluid_install_dir/
)
${
CMAKE_BINARY_DIR
}
/Paddle/fluid_install_dir/
)
add_dependencies
(
fluid_gpu_engine pdserving extern_paddle configure
)
add_dependencies
(
fluid_gpu_engine pdserving extern_paddle configure
)
target_link_libraries
(
fluid_gpu_engine pdserving paddle_fluid
-liomp5 -l
mklml_intel -lpthread -lcrypto -lm -lrt -lssl -ldl -lz
)
target_link_libraries
(
fluid_gpu_engine pdserving paddle_fluid
iomp5
mklml_intel -lpthread -lcrypto -lm -lrt -lssl -ldl -lz
)
install
(
TARGETS fluid_gpu_engine
install
(
TARGETS fluid_gpu_engine
ARCHIVE DESTINATION
${
PADDLE_SERVING_INSTALL_DIR
}
/lib
ARCHIVE DESTINATION
${
PADDLE_SERVING_INSTALL_DIR
}
/lib
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录