Fix the 'undefined dlopen/dlsym symbol' issue when building tflite benchmark model via Makefile and include external_delegate_provider.

PiperOrigin-RevId: 302801807
Change-Id: I373d455ca2215f0bab3661f3f74ac7c5d58d9f3a
This commit is contained in:
Chao Mei 2020-03-24 19:58:59 -07:00 committed by TensorFlower Gardener
parent ce714c45f4
commit 1030e2aa58
1 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,8 @@ LIBS := \
-lstdc++ \
-lpthread \
-lm \
-lz
-lz \
-ldl
# There are no rules for compiling objects for the host system (since we don't
# generate things like the protobuf compiler that require that), so all of
@ -217,6 +218,7 @@ BENCHMARK_LIB_SRCS := $(filter-out \
$(BENCHMARK_MAIN_SRC) \
$(BENCHMARK_PERF_OPTIONS_SRC) \
$(BENCHMARK_SRCS_DIR)/benchmark_plus_flex_main.cc \
$(BENCHMARK_SRCS_DIR)/external_delegate_provider.cc \
$(BENCHMARK_SRCS_DIR)/gpu_delegate_provider.cc \
$(BENCHMARK_SRCS_DIR)/hexagon_delegate_provider.cc \
$(BENCHMARK_SRCS_DIR)/nnapi_delegate_provider.cc \