Skip to content

Commit

Permalink
fix tflite link error
Browse files Browse the repository at this point in the history
  • Loading branch information
mshr-h committed Oct 18, 2024
1 parent 707d895 commit bd2336c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/modules/contrib/TFLite.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ if(NOT USE_TFLITE STREQUAL "OFF")
find_library(TFLITE_CONTRIB_LIB libtensorflow-lite.a ${USE_TFLITE})
file(GLOB_RECURSE TFLITE_DEPS "${USE_TFLITE}/*.a")

# Manually exclude libfft2d_fft4f2d.a due to conflict with libfft2d_fftsg.a
list(REMOVE_ITEM TFLITE_DEPS "${USE_TFLITE}/_deps/fft2d-build/libfft2d_fft4f2d.a")

list(APPEND TVM_RUNTIME_LINKER_LIBS ${TFLITE_CONTRIB_LIB})
list(APPEND TVM_RUNTIME_LINKER_LIBS ${TFLITE_DEPS})

Expand Down

0 comments on commit bd2336c

Please sign in to comment.