Browse Source

2024.5.10-去除ITN的依赖构建

master
Administrator 1 year ago
parent
commit
8cc4317e6a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      CMakeLists.txt
  2. +1
    -1
      cmake-linux/grpc.cmake

+ 1
- 1
CMakeLists.txt

@ -11,7 +11,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -pthread -fPIC")
set(LIB_BASE_DIR /root/projects/temp_xiaoke/asr_runtime/lib_files) set(LIB_BASE_DIR /root/projects/temp_xiaoke/asr_runtime/lib_files)
option(GRPC "whether to build with gRPC" ON) option(GRPC "whether to build with gRPC" ON)
option(ONNX "whether to build with ONNX" ON) option(ONNX "whether to build with ONNX" ON)
option(REBUILD "是否重新构筑项目依赖" OFF)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake-linux) list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake-linux)
# Model Option # Model Option
if(ONNX) if(ONNX)

+ 1
- 1
cmake-linux/grpc.cmake

@ -1,7 +1,7 @@
# On how to build grpc, you may refer to https://github.com/grpc/grpc # On how to build grpc, you may refer to https://github.com/grpc/grpc
set(grpc_build_dir "${LIB_BASE_DIR}/grpc-build") set(grpc_build_dir "${LIB_BASE_DIR}/grpc-build")
option(REBUILD "whether to build with ONNX" OFF)
if(REBUILD) if(REBUILD)
# install grpc # install grpc
execute_process(COMMAND mkdir -p ${grpc_build_dir}) execute_process(COMMAND mkdir -p ${grpc_build_dir})

Loading…
Cancel
Save