Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

4 changes: 2 additions & 2 deletions tur-pypi-312/python3.12-tflite-runtime/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.tensorflow.org/lite
TERMUX_PKG_DESCRIPTION="TensorFlow Lite Python bindings"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux-user-repository"
TERMUX_PKG_VERSION="2.18.0"
TERMUX_PKG_VERSION="2.19.0"
TERMUX_PKG_SRCURL=git+https://github.com/tensorflow/tensorflow
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="python, python-numpy, python-pip"
Expand Down Expand Up @@ -37,7 +37,7 @@ termux_step_pre_configure() {
# Copied from tensorflow/lite/tools/pip_package/build_pip_package_with_cmake.sh
export TENSORFLOW_DIR="$TERMUX_PKG_SRCDIR"
local TENSORFLOW_LITE_DIR="$TENSORFLOW_DIR/tensorflow/lite"
local TENSORFLOW_VERSION=$(grep "_VERSION = " "$TENSORFLOW_DIR/tensorflow/tools/pip_package/setup.py" | cut -d= -f2 | sed "s/[ '-]//g")
local TENSORFLOW_VERSION=$(grep -E '^_VERSION.*$' "$TENSORFLOW_DIR/tensorflow/tools/pip_package/setup.py" | cut -d= -f2 | sed "s/[ '-]//g")
export PACKAGE_VERSION="$TENSORFLOW_VERSION"
export PROJECT_NAME="tflite_runtime"
TFLITE_BUILD_DIR="$TERMUX_PKG_BUILDDIR/build-wheel"
Expand Down