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:
parent
ce714c45f4
commit
1030e2aa58
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue