Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Serving
提交
e9b51a99
S
Serving
项目概览
PaddlePaddle
/
Serving
大约 2 年 前同步成功
通知
187
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看板
提交
e9b51a99
编写于
8月 05, 2021
作者:
Y
Ybjjwwang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix cube cmake
上级
5699ab64
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
15 addition
and
15 deletion
+15
-15
core/cube/CMakeLists.txt
core/cube/CMakeLists.txt
+2
-4
core/cube/cube-agent/CMakeLists.txt
core/cube/cube-agent/CMakeLists.txt
+0
-1
core/cube/cube-agent/src/CMakeLists.txt
core/cube/cube-agent/src/CMakeLists.txt
+1
-0
core/cube/cube-transfer/CMakeLists.txt
core/cube/cube-transfer/CMakeLists.txt
+8
-6
core/cube/cube-transfer/src/CMakeLists.txt
core/cube/cube-transfer/src/CMakeLists.txt
+4
-3
python/CMakeLists.txt
python/CMakeLists.txt
+0
-1
未找到文件。
core/cube/CMakeLists.txt
浏览文件 @
e9b51a99
...
@@ -11,10 +11,8 @@
...
@@ -11,10 +11,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License
# limitations under the License
#execute_process(COMMAND go env -w GO111MODULE=off)
add_subdirectory
(
cube-server
)
add_subdirectory
(
cube-server
)
add_subdirectory
(
cube-api
)
add_subdirectory
(
cube-api
)
add_subdirectory
(
cube-builder
)
add_subdirectory
(
cube-builder
)
#
add_subdirectory(cube-transfer)
add_subdirectory
(
cube-transfer
)
#
add_subdirectory(cube-agent)
add_subdirectory
(
cube-agent
)
core/cube/cube-agent/CMakeLists.txt
浏览文件 @
e9b51a99
...
@@ -15,7 +15,6 @@
...
@@ -15,7 +15,6 @@
set
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
set
(
CMAKE_MODULE_PATH
${
CMAKE_MODULE_PATH
}
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
project
(
cube-agent Go
)
project
(
cube-agent Go
)
include
(
cmake/golang.cmake
)
include
(
cmake/golang.cmake
)
ExternalGoProject_Add
(
agent-docopt-go github.com/docopt/docopt-go
)
ExternalGoProject_Add
(
agent-docopt-go github.com/docopt/docopt-go
)
...
...
core/cube/cube-agent/src/CMakeLists.txt
浏览文件 @
e9b51a99
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
set
(
SOURCE_FILE cube-agent.go
)
set
(
SOURCE_FILE cube-agent.go
)
add_go_executable
(
cube-agent
${
SOURCE_FILE
}
)
add_go_executable
(
cube-agent
${
SOURCE_FILE
}
)
add_dependencies
(
cube-agent paddle_python
)
add_dependencies
(
cube-agent agent-docopt-go
)
add_dependencies
(
cube-agent agent-docopt-go
)
add_dependencies
(
cube-agent agent-logex
)
add_dependencies
(
cube-agent agent-logex
)
add_dependencies
(
cube-agent agent-pipeline
)
add_dependencies
(
cube-agent agent-pipeline
)
core/cube/cube-transfer/CMakeLists.txt
浏览文件 @
e9b51a99
...
@@ -18,11 +18,13 @@ project(cube-transfer Go)
...
@@ -18,11 +18,13 @@ project(cube-transfer Go)
include
(
cmake/golang.cmake
)
include
(
cmake/golang.cmake
)
ExternalGoProject_Add
(
rfw github.com/mipearson/rfw
)
ExternalGoProject_Add
(
transfer-rfw github.com/mipearson/rfw
)
ExternalGoProject_Add
(
docopt-go github.com/docopt/docopt-go
)
ExternalGoProject_Add
(
transfer-docopt-go github.com/docopt/docopt-go
)
add_custom_target
(
logex
ExternalGoProject_Add
(
transfer-logex github.com/Badangel/logex
)
COMMAND env GOPATH=
${
GOPATH
}
${
CMAKE_Go_COMPILER
}
get github.com/Badangel/logex
DEPENDS rfw
)
#add_custom_target(logex
# COMMAND env GOPATH=${GOPATH} ${CMAKE_Go_COMPILER} get github.com/Badangel/logex
# DEPENDS rfw)
add_subdirectory
(
src
)
add_subdirectory
(
src
)
install
(
DIRECTORY
${
CMAKE_CURRENT_LIST_DIR
}
/conf DESTINATION
${
PADDLE_SERVING_INSTALL_DIR
}
)
#
install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/conf DESTINATION ${PADDLE_SERVING_INSTALL_DIR})
core/cube/cube-transfer/src/CMakeLists.txt
浏览文件 @
e9b51a99
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
set
(
SOURCE_FILE cube-transfer.go
)
set
(
SOURCE_FILE cube-transfer.go
)
add_go_executable
(
cube-transfer
${
SOURCE_FILE
}
)
add_go_executable
(
cube-transfer
${
SOURCE_FILE
}
)
add_dependencies
(
cube-transfer docopt-go
)
add_dependencies
(
cube-transfer paddle_python
)
add_dependencies
(
cube-transfer rfw
)
add_dependencies
(
cube-transfer transfer-docopt-go
)
add_dependencies
(
cube-transfer logex
)
add_dependencies
(
cube-transfer transfer-rfw
)
add_dependencies
(
cube-transfer transfer-logex
)
python/CMakeLists.txt
浏览文件 @
e9b51a99
...
@@ -81,7 +81,6 @@ if (SERVER)
...
@@ -81,7 +81,6 @@ if (SERVER)
if
(
WITH_LITE
)
if
(
WITH_LITE
)
set
(
VERSION_SUFFIX 2
)
set
(
VERSION_SUFFIX 2
)
endif
()
endif
()
add_custom_command
(
add_custom_command
(
OUTPUT
${
PADDLE_SERVING_BINARY_DIR
}
/.timestamp
OUTPUT
${
PADDLE_SERVING_BINARY_DIR
}
/.timestamp
COMMAND cp -r
COMMAND cp -r
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录