Skip to content

Commit

Permalink
func(tf): fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Mar 11, 2024
1 parent 803c433 commit e4cd8b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions func/tf/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
set(FAASM_USER tf)

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --target=$ENV{FAASM_WASM_TRIPLE} -pthread")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --target=$ENV{FAASM_WASM_TRIPLE} -pthread")
set(CMAKE_EXE_LINKER_FLAGS "$ENV{FAASM_WASM_EXE_LINKER_FLAGS}")

set(TF_LIB libtensorflow-lite.a)

faasm_example_func(check check.cpp)
Expand Down

0 comments on commit e4cd8b4

Please sign in to comment.