Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
update cmakelist
雾聪0cf5dfec2c83
diff --git a/runtime/onnxruntime/bin/CMakeLists.txt b/runtime/onnxruntime/bin/CMakeLists.txtindex 081746ab9..d664310a5 100644--- a/runtime/onnxruntime/bin/CMakeLists.txt+++ b/runtime/onnxruntime/bin/CMakeLists.txt@@ -29,6 +29,7 @@ add_executable(funasr-onnx-online-punc "funasr-onnx-online-punc.cpp" ${RELATION_target_link_libraries(funasr-onnx-online-punc PUBLIC funasr)add_executable(funasr-onnx-offline-rtf "funasr-onnx-offline-rtf.cpp" ${RELATION_SOURCE})+target_link_options(funasr-onnx-offline PRIVATE "-Wl,--no-as-needed")target_link_libraries(funasr-onnx-offline-rtf PUBLIC funasr)add_executable(funasr-onnx-2pass "funasr-onnx-2pass.cpp" ${RELATION_SOURCE})diff --git a/runtime/onnxruntime/src/CMakeLists.txt b/runtime/onnxruntime/src/CMakeLists.txtindex d6c8a205e..6d6b66b28 100644--- a/runtime/onnxruntime/src/CMakeLists.txt+++ b/runtime/onnxruntime/src/CMakeLists.txt@@ -1,7 +1,12 @@file(GLOB files1 "*.cpp")+list(REMOVE_ITEM files1 "${CMAKE_CURRENT_SOURCE_DIR}/paraformer-torch.cpp")set(files ${files1})+if(GPU)+ set(files ${files} "${CMAKE_CURRENT_SOURCE_DIR}/paraformer-torch.cpp")+endif()+message("files: "${files})if(WIN32)