From 52c457c5b35a4bcba14dc29e4f0e49d0aca606e0 Mon Sep 17 00:00:00 2001 From: Deepak Panickal Date: Tue, 23 Aug 2022 23:32:04 +0100 Subject: [PATCH] Fix cmake and makefile --- .github/workflows/c-cpp.yml | 4 ++-- CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 284742d..87b7e4c 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -23,8 +23,8 @@ jobs: git checkout f474248365ad48654ba8a27ac5bf49a6afbb80e7 git apply ../tflite_micro_compiler/patches/tflite-micro.patch git apply ../tflite_micro_compiler/patches/tflite-micro-makefile.patch - make -Bf tensorflow/lite/micro/tools/make/Makefile NO_INTERPRETER=TRUE microlite - make -Bf tensorflow/lite/micro/tools/make/Makefile microlite + make -Bf tensorflow/lite/micro/tools/make/Makefile NO_INTERPRETER=TRUE microlite -j2 + make -Bf tensorflow/lite/micro/tools/make/Makefile microlite -j2 - name: Requirements (Windows) if: matrix.config.os == 'windows-latest' run: | diff --git a/CMakeLists.txt b/CMakeLists.txt index 0aa702e..5f72a87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,9 +21,9 @@ IF(NOT GET_TF_SRC) ${TFLMD_SRC}/ruy ) IF(WIN32) - SET(TF_LIB ${TFLM_SRC}/tools/make/gen/windows_x86_64/lib/libtensorflow-microlite.a) + SET(TF_LIB ${TFLM_SRC}/tools/make/gen/windows_x86_64_default/lib/libtensorflow-microlite.a) ELSE() - SET(TF_LIB ${TFLM_SRC}/tools/make/gen/linux_x86_64/lib/libtensorflow-microlite.a) + SET(TF_LIB ${TFLM_SRC}/tools/make/gen/linux_x86_64_default/lib/libtensorflow-microlite.a) ENDIF() ELSE() MESSAGE(FATAL_ERROR "\