deleted file mode 100644
@@ -1,28 +0,0 @@
-From a1bcf09a43fc44ad5e04c441ee45cc23d16cf7d2 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Wed, 9 Dec 2020 17:59:01 +0800
-Subject: [PATCH] customize for yocto
-
-Upstream-Status: Inappropriate [oe specific]
-
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- tensorflow_estimator/tools/pip_package/build_pip_package.sh | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tensorflow_estimator/tools/pip_package/build_pip_package.sh b/tensorflow_estimator/tools/pip_package/build_pip_package.sh
-index d4953a6..e08cd8a 100755
---- a/tensorflow_estimator/tools/pip_package/build_pip_package.sh
-+++ b/tensorflow_estimator/tools/pip_package/build_pip_package.sh
-@@ -38,7 +38,7 @@ function prepare_src() {
-
- # Verifies all expected files are in pip.
- # Creates init files in all directory in pip.
-- python tensorflow_estimator/tools/pip_package/create_pip_helper.py --pip-root "${TMPDIR}/tensorflow_estimator/" --bazel-root "./tensorflow_estimator"
-+ nativepython3 tensorflow_estimator/tools/pip_package/create_pip_helper.py --pip-root "${TMPDIR}/tensorflow_estimator/" --bazel-root "./tensorflow_estimator"
- }
-
- function build_wheel() {
-2.18.2
-
deleted file mode 100644
@@ -1,57 +0,0 @@
-DESCRIPTION = "A high-level TensorFlow API that greatly simplifies machine \
-learning programming."
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=01e86893010a1b87e69a213faa753ebd"
-
-SRC_URI = "git://github.com/tensorflow/estimator.git;branch=r2.15;protocol=https \
- file://0001-customize-for-yocto.patch \
- "
-SRCREV = "b5f91f8e4113396f0a5f090d6a52d676271caf48"
-
-inherit python3native bazel tensorflow_ver
-
-DEPENDS += " \
- python3-pip-native \
- python3-wheel-native \
- python3-six-native \
- python3-protobuf-native \
- python3-absl-native \
- python3-astor-native \
- python3-gast-native \
- python3-termcolor-native \
- python3-wrapt-native \
- python3-opt-einsum-native \
- python3-astunparse-native \
- flatbuffers-native \
- tensorflow-native \
- tf-keras-native \
-"
-
-do_compile () {
- unset CC
- export TMPDIR="${WORKDIR}"
- export PYTHON_BIN_PATH="${PYTHON}"
-
- ${BAZEL} build \
- --subcommands --explain=${T}/explain.log \
- --verbose_explanations --verbose_failures \
- --verbose_failures \
- --python_path="${PYTHON}" \
- //tensorflow_estimator/tools/pip_package:build_pip_package
-
- ${S}/bazel-bin/tensorflow_estimator/tools/pip_package/build_pip_package \
- ${WORKDIR}/estimator_pip
-}
-
-do_install () {
- echo "Installing pip package"
- install -d ${D}${PYTHON_SITEPACKAGES_DIR}
- ${STAGING_BINDIR_NATIVE}/pip3 install --disable-pip-version-check -v --no-deps \
- -t ${D}/${PYTHON_SITEPACKAGES_DIR} --no-cache-dir ${WORKDIR}/estimator_pip/*.whl
-
- rm -rf ${D}/${PYTHON_SITEPACKAGES_DIR}/tensorflow_estimator-${PV}.dist-info
-}
-
-FILES:${PN} += "${libdir}/*"
-
-BBCLASSEXTEND = "native"
Due to commit [1], remove Estimator from Tensorflow. [1] https://github.com/tensorflow/tensorflow/commit/aa35dc27617676322972f2fd482ed43a7a7e1d16 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> --- .../0001-customize-for-yocto.patch | 28 --------- .../tensorflow/tensorflow-estimator_2.15.0.bb | 57 ------------------- 2 files changed, 85 deletions(-) delete mode 100644 recipes-framework/tensorflow/tensorflow-estimator/0001-customize-for-yocto.patch delete mode 100644 recipes-framework/tensorflow/tensorflow-estimator_2.15.0.bb