Skip to content

Commit c9e9028

Browse files
committed
COMPILER_MLIR_DIR files
1 parent ebf6ae8 commit c9e9028

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/base.cmake

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@ add_library(microlite INTERFACE)
4646

4747
if (CONFIG_IDF_TARGET)
4848
set(TF_ESP_DIR "${CMAKE_CURRENT_LIST_DIR}/../third_party/esp-tflite-micro")
49-
set(TF_LITE_DIR "${TF_ESP_DIR}/tensorflow/lite")
49+
set(TF_DIR "${TF_ESP_DIR}/tensorflow")
50+
set(TF_LITE_DIR "${TF_DIR}/lite")
5051
set(TF_MICRO_DIR "${TF_LITE_DIR}/micro")
51-
set(COMPILER_MLIR_DIR "${TF_ESP_DIR}/tensorflow/compiler/mlir")
52+
set(COMPILER_MLIR_DIR "${TF_DIR}/compiler/mlir")
5253
set(TF_MICROLITE_LOG
5354
${TF_MICRO_DIR}/debug_log.cc
5455
${TF_MICRO_DIR}/micro_time.cc
@@ -138,7 +139,8 @@ file(GLOB TF_MICRO_TFLITE_BRIDGE_SRCS
138139
"${TF_MICRO_DIR}/tflite_bridge/*.c")
139140

140141
file(GLOB TF_MLIR_API_SRCS
141-
"${CMAKE_CURRENT_LIST_DIR}/tflm/tensorflow/compiler/mlir/lite/core/api/error_reporter.cc"
142+
"${COMPILER_MLIR_DIR}/lite/core/api/error_reporter.cc"
143+
"${COMPILER_MLIR_DIR}/lite/schema/schema_utils.cc"
142144
)
143145

144146
set (BOARD_ADDITIONAL_SRCS "")

0 commit comments

Comments
 (0)