Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
- uses: actions/checkout@v4
- name: Build runtime
run: |
cmake -B build -S runtime -DBUILD_TESTING=OFF
cmake --build build -j$(nproc 2>/dev/null || sysctl -n hw.ncpu)
cmake -B build -S runtime -DBUILD_TESTING=ON
cmake --build build --parallel
4 changes: 2 additions & 2 deletions runtime/bin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
add_executable(processor_main processor_main.cc)
target_link_libraries(processor_main PUBLIC wetext_processor)
target_link_libraries(processor_main PUBLIC gflags glog)
target_link_libraries(processor_main PRIVATE wetext_processor)
target_link_libraries(processor_main PRIVATE gflags glog)
3 changes: 0 additions & 3 deletions runtime/cmake/openfst.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ if(NOT ANDROID)
FetchContent_Declare(openfst
URL https://github.com/csukuangfj/openfst/archive/refs/tags/v1.8.5-2026-04-11.tar.gz
URL_HASH SHA256=57fbc4b950ae81b1a0e1e298af15652da968a6723a592b7874e9b4027a80a5b4
# PATCH_COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/patch/openfst ${openfst_SOURCE_DIR}
)
FetchContent_MakeAvailable(openfst)
# add_dependencies(fst gflags glog)
# target_link_libraries(fst PUBLIC gflags_nothreads_static glog)
include_directories(${openfst_SOURCE_DIR}/src/include)
else()
set(openfst_BINARY_DIR ${build_DIR}/wenet-openfst-android-1.0.2.aar/jni)
Expand Down
1 change: 0 additions & 1 deletion runtime/patch/CPPLINT.cfg

This file was deleted.

23 changes: 0 additions & 23 deletions runtime/patch/openfst/src/CMakeLists.txt

This file was deleted.

67 changes: 0 additions & 67 deletions runtime/patch/openfst/src/extensions/special/CMakeLists.txt

This file was deleted.

219 changes: 0 additions & 219 deletions runtime/patch/openfst/src/include/fst/flags.h

This file was deleted.

Loading
Loading