Skip to content

Commit 3daf69a

Browse files
authored
python3.12-tflite-runtime: bump to 2.19.0 (#221)
1 parent b473729 commit 3daf69a

File tree

2 files changed

+2
-24
lines changed

2 files changed

+2
-24
lines changed

tur-pypi-312/python3.12-tflite-runtime/0002-include-neon2sse-for-xnnpack.patch

Lines changed: 0 additions & 22 deletions
This file was deleted.

tur-pypi-312/python3.12-tflite-runtime/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.tensorflow.org/lite
22
TERMUX_PKG_DESCRIPTION="TensorFlow Lite Python bindings"
33
TERMUX_PKG_LICENSE="Apache-2.0"
44
TERMUX_PKG_MAINTAINER="@termux-user-repository"
5-
TERMUX_PKG_VERSION="2.18.0"
5+
TERMUX_PKG_VERSION="2.19.0"
66
TERMUX_PKG_SRCURL=git+https://github.com/tensorflow/tensorflow
77
TERMUX_PKG_AUTO_UPDATE=true
88
TERMUX_PKG_DEPENDS="python, python-numpy, python-pip"
@@ -37,7 +37,7 @@ termux_step_pre_configure() {
3737
# Copied from tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh
3838
export TENSORFLOW_DIR="$TERMUX_PKG_SRCDIR"
3939
local TENSORFLOW_LITE_DIR="$TENSORFLOW_DIR/tensorflow/lite"
40-
local TENSORFLOW_VERSION=$(grep "_VERSION = " "$TENSORFLOW_DIR/tensorflow/tools/pip_package/setup.py" | cut -d= -f2 | sed "s/[ '-]//g")
40+
local TENSORFLOW_VERSION=$(grep -E '^_VERSION.*$' "$TENSORFLOW_DIR/tensorflow/tools/pip_package/setup.py" | cut -d= -f2 | sed "s/[ '-]//g")
4141
export PACKAGE_VERSION="$TENSORFLOW_VERSION"
4242
export PROJECT_NAME="tflite_runtime"
4343
TFLITE_BUILD_DIR="$TERMUX_PKG_BUILDDIR/build-wheel"

0 commit comments

Comments
 (0)