Fix TFLite makefile build by downloading and compiling ruy correctly
PiperOrigin-RevId: 304936481 Change-Id: I12d903d65b5a47a6c1103e3c8a1f1b8042c764d6
This commit is contained in:
parent
e068a4c413
commit
ee3cca1499
@ -119,7 +119,8 @@ $(wildcard tensorflow/lite/*.c) \
|
|||||||
$(wildcard tensorflow/lite/c/*.c) \
|
$(wildcard tensorflow/lite/c/*.c) \
|
||||||
$(wildcard tensorflow/lite/core/*.cc) \
|
$(wildcard tensorflow/lite/core/*.cc) \
|
||||||
$(wildcard tensorflow/lite/core/api/*.cc) \
|
$(wildcard tensorflow/lite/core/api/*.cc) \
|
||||||
$(wildcard tensorflow/lite/experimental/resource/*.cc)
|
$(wildcard tensorflow/lite/experimental/resource/*.cc) \
|
||||||
|
$(wildcard tensorflow/lite/tools/make/downloads/ruy/ruy/*.cc)
|
||||||
ifneq ($(BUILD_TYPE),micro)
|
ifneq ($(BUILD_TYPE),micro)
|
||||||
CORE_CC_ALL_SRCS += \
|
CORE_CC_ALL_SRCS += \
|
||||||
$(wildcard tensorflow/lite/kernels/*.cc) \
|
$(wildcard tensorflow/lite/kernels/*.cc) \
|
||||||
@ -151,6 +152,11 @@ $(wildcard tensorflow/lite/*/*/*/example*.cc) \
|
|||||||
$(wildcard tensorflow/lite/*/*/*/test*.cc) \
|
$(wildcard tensorflow/lite/*/*/*/test*.cc) \
|
||||||
$(wildcard tensorflow/lite/*/*/*/*test.cc) \
|
$(wildcard tensorflow/lite/*/*/*/*test.cc) \
|
||||||
$(wildcard tensorflow/lite/*/*/*/*tool.cc) \
|
$(wildcard tensorflow/lite/*/*/*/*tool.cc) \
|
||||||
|
$(wildcard tensorflow/lite/*/*/*/*/*/benchmark.cc) \
|
||||||
|
$(wildcard tensorflow/lite/*/*/*/*/*/example*.cc) \
|
||||||
|
$(wildcard tensorflow/lite/*/*/*/*/*/test*.cc) \
|
||||||
|
$(wildcard tensorflow/lite/*/*/*/*/*/*test.cc) \
|
||||||
|
$(wildcard tensorflow/lite/*/*/*/*/*/*tool.cc) \
|
||||||
$(wildcard tensorflow/lite/kernels/*test_main.cc) \
|
$(wildcard tensorflow/lite/kernels/*test_main.cc) \
|
||||||
$(wildcard tensorflow/lite/kernels/*test_util*.cc) \
|
$(wildcard tensorflow/lite/kernels/*test_util*.cc) \
|
||||||
tensorflow/lite/tflite_with_xnnpack.cc \
|
tensorflow/lite/tflite_with_xnnpack.cc \
|
||||||
|
@ -107,6 +107,7 @@ download_and_extract() {
|
|||||||
|
|
||||||
download_and_extract "${EIGEN_URL}" "${DOWNLOADS_DIR}/eigen" "${EIGEN_SHA}"
|
download_and_extract "${EIGEN_URL}" "${DOWNLOADS_DIR}/eigen" "${EIGEN_SHA}"
|
||||||
download_and_extract "${GEMMLOWP_URL}" "${DOWNLOADS_DIR}/gemmlowp" "${GEMMLOWP_SHA}"
|
download_and_extract "${GEMMLOWP_URL}" "${DOWNLOADS_DIR}/gemmlowp" "${GEMMLOWP_SHA}"
|
||||||
|
download_and_extract "${RUY_URL}" "${DOWNLOADS_DIR}/ruy" "${RUY_SHA}"
|
||||||
download_and_extract "${GOOGLETEST_URL}" "${DOWNLOADS_DIR}/googletest" "${GOOGLETEST_SHA}"
|
download_and_extract "${GOOGLETEST_URL}" "${DOWNLOADS_DIR}/googletest" "${GOOGLETEST_SHA}"
|
||||||
download_and_extract "${ABSL_URL}" "${DOWNLOADS_DIR}/absl" "${ABSL_SHA}"
|
download_and_extract "${ABSL_URL}" "${DOWNLOADS_DIR}/absl" "${ABSL_SHA}"
|
||||||
download_and_extract "${NEON_2_SSE_URL}" "${DOWNLOADS_DIR}/neon_2_sse"
|
download_and_extract "${NEON_2_SSE_URL}" "${DOWNLOADS_DIR}/neon_2_sse"
|
||||||
|
Loading…
Reference in New Issue
Block a user