NobuoTsukamoto / meta-tensorflow-lite

Yocto layer for TensorFlow Lite interpreter with Python / C++.
MIT License
33 stars 18 forks source link

Review of dependencies #17

Closed NobuoTsukamoto closed 2 years ago

NobuoTsukamoto commented 2 years ago

Some dependencies are unnecessary and should be removed.

diff --git a/recipes-framework/tensorflow-lite/python3-tensorflow-lite_2.7.1.bb b/recipes-framework/tensorflow-lite/python3-tensorflow-lite_2.7.1.bb
index 5191a37..f2b5770 100644
--- a/recipes-framework/tensorflow-lite/python3-tensorflow-lite_2.7.1.bb
+++ b/recipes-framework/tensorflow-lite/python3-tensorflow-lite_2.7.1.bb
@@ -25,11 +25,7 @@ SRC_URI:append:riscv32 = " \

 S = "${WORKDIR}/git"

-DEPENDS += "gzip-native \
-            unzip-native \
-            zlib \
-            python3 \
-            python3-native \
+DEPENDS += " \
             python3-numpy-native \
             python3-pip-native \
             python3-wheel-native \
@@ -37,12 +33,6 @@ DEPENDS += "gzip-native \
             python3-pybind11 \
 "

-RDEPENDS:${PN} += " \
-    python3 \
-    python3-numpy \
-    python3-pybind11 \
-"
-
 inherit setuptools3 cmake