Skip to content

Commit 0996efe

Browse files
authored
Add old benchmarks back to make build (#2315)
BUG=none
1 parent 5beca7c commit 0996efe

File tree

1 file changed

+3
-0
lines changed
  • tensorflow/lite/micro/tools/make

1 file changed

+3
-0
lines changed

tensorflow/lite/micro/tools/make/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -293,12 +293,14 @@ MICRO_LITE_INTEGRATION_TESTS += $(shell find $(TENSORFLOW_ROOT)tensorflow/lite/m
293293
MICRO_LITE_GEN_MUTABLE_OP_RESOLVER_TEST += \
294294
$(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/tools/gen_micro_mutable_op_resolver_test/person_detect/Makefile.inc)
295295

296+
OLD_MICRO_LITE_BENCHMARKS := $(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/benchmarks/Makefile.inc)
296297
MICRO_LITE_BENCHMARKS := $(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/tools/benchmarking/Makefile.inc)
297298

298299
MICRO_LITE_LAYER_BY_LAYER_OUTPUT := $(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/tools/Makefile.inc)
299300

300301
# TODO(b/152645559): move all benchmarks to benchmarks directory.
301302
MICROLITE_BENCHMARK_SRCS := \
303+
$(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/benchmarks/*benchmark.cc) \
302304
$(wildcard $(TENSORFLOW_ROOT)tensorflow/lite/micro/tools/benchmarking/*benchmark.cc)
303305

304306
CODEGEN_PREPROCESSOR_PATH := $(BINDIR)codegen_preprocessor
@@ -754,6 +756,7 @@ include ${MICRO_LITE_LAYER_BY_LAYER_OUTPUT}
754756
endif
755757

756758
# Load the benchmarks.
759+
include $(OLD_MICRO_LITE_BENCHMARKS)
757760
include $(MICRO_LITE_BENCHMARKS)
758761

759762
# Load custom kernel tests.

0 commit comments

Comments
 (0)