Skip to content

Commit 51407be

Browse files
committed
⚰️ Remove useless patch & use glog, gflag in utils
1 parent ef6824f commit 51407be

11 files changed

Lines changed: 4 additions & 616 deletions

File tree

runtime/bin/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
add_executable(processor_main processor_main.cc)
2-
target_link_libraries(processor_main PUBLIC wetext_processor)
3-
target_link_libraries(processor_main PUBLIC gflags glog)
2+
target_link_libraries(processor_main PRIVATE wetext_processor)
3+
target_link_libraries(processor_main PRIVATE gflags glog)

runtime/cmake/openfst.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,8 @@ if(NOT ANDROID)
2929
FetchContent_Declare(openfst
3030
URL https://github.com/csukuangfj/openfst/archive/refs/tags/v1.8.5-2026-04-11.tar.gz
3131
URL_HASH SHA256=57fbc4b950ae81b1a0e1e298af15652da968a6723a592b7874e9b4027a80a5b4
32-
# PATCH_COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/patch/openfst ${openfst_SOURCE_DIR}
3332
)
3433
FetchContent_MakeAvailable(openfst)
35-
# add_dependencies(fst gflags glog)
36-
# target_link_libraries(fst PUBLIC gflags_nothreads_static glog)
3734
include_directories(${openfst_SOURCE_DIR}/src/include)
3835
else()
3936
set(openfst_BINARY_DIR ${build_DIR}/wenet-openfst-android-1.0.2.aar/jni)

runtime/patch/CPPLINT.cfg

Lines changed: 0 additions & 1 deletion
This file was deleted.

runtime/patch/openfst/src/CMakeLists.txt

Lines changed: 0 additions & 23 deletions
This file was deleted.

runtime/patch/openfst/src/extensions/special/CMakeLists.txt

Lines changed: 0 additions & 67 deletions
This file was deleted.

runtime/patch/openfst/src/include/fst/flags.h

Lines changed: 0 additions & 219 deletions
This file was deleted.

0 commit comments

Comments
 (0)