From 5adf6d36f62cf36f7c49abd80bf4922b896d7e48 Mon Sep 17 00:00:00 2001 From: Robert Nelson <robertcnelson@gmail.com> Date: Fri, 14 Apr 2023 15:36:42 -0500 Subject: [PATCH] ti-tensorflow-8.6 (8.6.0.0) Signed-off-by: Robert Nelson <robertcnelson@gmail.com> --- .../suite/bullseye/debian/changelog | 6 ++++ .../suite/bullseye/debian/compat | 1 + .../suite/bullseye/debian/control | 31 +++++++++++++++++++ .../suite/bullseye/debian/install | 15 +++++++++ ti-tensorflow-8.6/suite/bullseye/debian/rules | 14 +++++++++ ti-tensorflow-8.6/version.sh | 20 ++++++++++++ 6 files changed, 87 insertions(+) create mode 100644 ti-tensorflow-8.6/suite/bullseye/debian/changelog create mode 100644 ti-tensorflow-8.6/suite/bullseye/debian/compat create mode 100644 ti-tensorflow-8.6/suite/bullseye/debian/control create mode 100644 ti-tensorflow-8.6/suite/bullseye/debian/install create mode 100755 ti-tensorflow-8.6/suite/bullseye/debian/rules create mode 100644 ti-tensorflow-8.6/version.sh diff --git a/ti-tensorflow-8.6/suite/bullseye/debian/changelog b/ti-tensorflow-8.6/suite/bullseye/debian/changelog new file mode 100644 index 000000000..5504ae60d --- /dev/null +++ b/ti-tensorflow-8.6/suite/bullseye/debian/changelog @@ -0,0 +1,6 @@ +ti-tensorflow-8.6 (8.6.0.0-0~bullseye+20230414) bullseye; urgency=low + + * Rebuild for repos.rcn-ee.com + + -- Robert Nelson <robertcnelson@gmail.com> Fri, 14 Apr 2023 15:36:34 -0500 + diff --git a/ti-tensorflow-8.6/suite/bullseye/debian/compat b/ti-tensorflow-8.6/suite/bullseye/debian/compat new file mode 100644 index 000000000..ec635144f --- /dev/null +++ b/ti-tensorflow-8.6/suite/bullseye/debian/compat @@ -0,0 +1 @@ +9 diff --git a/ti-tensorflow-8.6/suite/bullseye/debian/control b/ti-tensorflow-8.6/suite/bullseye/debian/control new file mode 100644 index 000000000..6e2c6a491 --- /dev/null +++ b/ti-tensorflow-8.6/suite/bullseye/debian/control @@ -0,0 +1,31 @@ +Source: ti-tensorflow-8.6 +Section: misc +Priority: optional +Maintainer: Robert Nelson <robertcnelson@gmail.com> +Build-Depends: + debhelper (>= 9) + , curl + , cmake + , dh-python + , git + , libtool + , python3-dev + , python3-numpy + , python3-pip + , python3-pybind11 + , swig + , ti-tensorflow-src-8.6 + , tree + , unzip + , zlib1g-dev +Standards-Version: 4.5.1 + +Package: ti-tensorflow-8.6 +Architecture: arm64 +Depends: + ${misc:Depends} + , python3-numpy +Breaks: python3-tflite-runtime +Conflicts: python3-tflite-runtime +Description: TI tensorflow 8.6 + TI tensorflow 8.6 diff --git a/ti-tensorflow-8.6/suite/bullseye/debian/install b/ti-tensorflow-8.6/suite/bullseye/debian/install new file mode 100644 index 000000000..8dc03195f --- /dev/null +++ b/ti-tensorflow-8.6/suite/bullseye/debian/install @@ -0,0 +1,15 @@ +./tmp/opt/tensorflow/tensorflow/lite/*.h /usr/include/tensorflow/lite/ +./tmp/opt/tensorflow/tensorflow/lite/c/*.h /usr/include/tensorflow/lite/c/ +./tmp/opt/tensorflow/tensorflow/lite/core/*.h /usr/include/tensorflow/lite/core/ +./tmp/opt/tensorflow/tensorflow/lite/core/api/*.h /usr/include/tensorflow/lite/core/api/ +./tmp/opt/tensorflow/tensorflow/lite/kernels/*.h /usr/include/tensorflow/lite/kernels/ +./tmp/opt/tensorflow/tensorflow/lite/profiling/*.h /usr/include/tensorflow/lite/profiling/ +./tmp/opt/tensorflow/tensorflow/lite/schema/*.h /usr/include/tensorflow/lite/schema/ +./tmp/opt/tensorflow/tensorflow/lite/schema/schema.fbs /usr/include/tensorflow/lite/schema/ +./tmp/opt/tensorflow/tensorflow/lite/tools/*.h /usr/include/tensorflow/lite/tools/ +./tmp/opt/tensorflow/tensorflow/lite/delegates/nnapi/*.h /usr/include/tensorflow/lite/delegates/nnapi/ +./tmp/opt/tensorflow/tensorflow/lite/experimental/resource/*.h /usr/include/tensorflow/lite/experimental/resource/ +./tmp/opt/tensorflow/tensorflow/lite/kernels/internal/*.h /usr/include/tensorflow/lite/kernels/internal/ +./tmp/opt/tensorflow/tensorflow/lite/tools/pip_package/gen/tflite_pip/tmp/usr/* /usr +./tmp/opt/tflite_build/*.a /usr/lib +#tmp/opt/* /opt diff --git a/ti-tensorflow-8.6/suite/bullseye/debian/rules b/ti-tensorflow-8.6/suite/bullseye/debian/rules new file mode 100755 index 000000000..46da3a655 --- /dev/null +++ b/ti-tensorflow-8.6/suite/bullseye/debian/rules @@ -0,0 +1,14 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +override_dh_auto_configure: + mkdir -p ./tmp/opt/tensorflow/ ; cp -r /opt/tensorflow/* ./tmp/opt/tensorflow/ + python3 -m pip install --extra-index-url https://google-coral.github.io/py-repo/ tflite_runtime + mkdir -p ./tmp/opt/tflite_build/ ; cd ./tmp/opt/tflite_build/ ; cmake ../tensorflow/tensorflow/lite ; cmake --build . -j ; cp -v ./libtensorflow-lite.a /usr/lib/ ; BUILD_DEB=y ../tensorflow/tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh ; cd ../tensorflow/tensorflow/lite/tools/pip_package/gen/tflite_pip/ ; dpkg-deb -xv python3-tflite-runtime_2.8.2-1_arm64.deb ./tmp/ + cd ./tmp/opt/tensorflow/ ; tree + +%: + dh $@ diff --git a/ti-tensorflow-8.6/version.sh b/ti-tensorflow-8.6/version.sh new file mode 100644 index 000000000..047a2d941 --- /dev/null +++ b/ti-tensorflow-8.6/version.sh @@ -0,0 +1,20 @@ +#!/bin/bash -e + +package_name="ti-tensorflow-8.6" +debian_pkg_name="${package_name}" +package_version="8.6.0.0" +package_source="" +src_dir="" + +git_repo="" +git_sha="" +reprepro_dir="t/${package_name}" +dl_path="pool/main/${reprepro_dir}/" + +debian_version="${package_version}-0" +debian_untar="" +debian_patch="" + +clear_changelog="enable" + +bullseye_version="~bullseye+20230414" -- GitLab