Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
FunASR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
modelscope
FunASR
Commits
e1a759a3
Commit
e1a759a3
authored
1 year ago
by
boji123
Browse files
Options
Downloads
Patches
Plain Diff
[refator] modify grpc cmake
parent
a86c35e1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
funasr/runtime/grpc/CMakeLists.txt
+4
-12
4 additions, 12 deletions
funasr/runtime/grpc/CMakeLists.txt
with
4 additions
and
12 deletions
funasr/runtime/grpc/CMakeLists.txt
+
4
−
12
View file @
e1a759a3
...
@@ -11,6 +11,7 @@ set(CMAKE_CXX_STANDARD 14 CACHE STRING "The C++ version to be used.")
...
@@ -11,6 +11,7 @@ set(CMAKE_CXX_STANDARD 14 CACHE STRING "The C++ version to be used.")
set
(
CMAKE_POSITION_INDEPENDENT_CODE ON
)
set
(
CMAKE_POSITION_INDEPENDENT_CODE ON
)
set
(
CMAKE_RUNTIME_OUTPUT_DIRECTORY
${
CMAKE_BINARY_DIR
}
/bin
)
set
(
CMAKE_RUNTIME_OUTPUT_DIRECTORY
${
CMAKE_BINARY_DIR
}
/bin
)
set
(
CMAKE_VERBOSE_MAKEFILE on
)
set
(
CMAKE_VERBOSE_MAKEFILE on
)
set
(
BUILD_TESTING OFF
)
include
(
common.cmake
)
include
(
common.cmake
)
...
@@ -48,23 +49,14 @@ add_subdirectory(${PROJECT_SOURCE_DIR}/../onnxruntime/third_party/kaldi-native-f
...
@@ -48,23 +49,14 @@ add_subdirectory(${PROJECT_SOURCE_DIR}/../onnxruntime/third_party/kaldi-native-f
add_subdirectory
(
${
PROJECT_SOURCE_DIR
}
/../onnxruntime/src src
)
add_subdirectory
(
${
PROJECT_SOURCE_DIR
}
/../onnxruntime/src src
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/../onnxruntime/third_party/glog
)
include_directories
(
${
PROJECT_SOURCE_DIR
}
/../onnxruntime/third_party/glog
)
set
(
BUILD_TESTING OFF
)
add_subdirectory
(
${
PROJECT_SOURCE_DIR
}
/../onnxruntime/third_party/glog glog
)
add_subdirectory
(
${
PROJECT_SOURCE_DIR
}
/../onnxruntime/third_party/glog glog
)
# rg_grpc_proto
# rg_grpc_proto
add_library
(
rg_grpc_proto
add_library
(
rg_grpc_proto
${
rg_grpc_srcs
}
${
rg_grpc_hdrs
}
${
rg_proto_srcs
}
${
rg_proto_hdrs
}
)
${
rg_grpc_srcs
}
${
rg_grpc_hdrs
}
${
rg_proto_srcs
}
${
rg_proto_hdrs
}
)
target_link_libraries
(
rg_grpc_proto
target_link_libraries
(
rg_grpc_proto
${
_REFLECTION
}
${
_GRPC_GRPCPP
}
${
_PROTOBUF_LIBPROTOBUF
}
)
${
_REFLECTION
}
${
_GRPC_GRPCPP
}
${
_PROTOBUF_LIBPROTOBUF
}
)
add_executable
(
paraformer-server
add_executable
(
paraformer-server paraformer-server.cc
)
paraformer-server.cc
)
target_link_libraries
(
paraformer-server
target_link_libraries
(
paraformer-server
rg_grpc_proto
rg_grpc_proto
funasr
funasr
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment