From 28c809ccc116aaf232e8ed2c3b4e720d9c7f2cfb Mon Sep 17 00:00:00 2001 From: Chongyun Lee Date: Sun, 9 Mar 2025 14:52:19 +0800 Subject: [PATCH] python3.12-onnxruntime: bump to 1.21.0 --- ...ython-find-Development-before-Development.Module.patch | 8 ++++---- tur-pypi-312/python3.12-onnxruntime/build.sh | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tur-pypi-312/python3.12-onnxruntime/0002-cmake-python-find-Development-before-Development.Module.patch b/tur-pypi-312/python3.12-onnxruntime/0002-cmake-python-find-Development-before-Development.Module.patch index e031724..fde0c4e 100644 --- a/tur-pypi-312/python3.12-onnxruntime/0002-cmake-python-find-Development-before-Development.Module.patch +++ b/tur-pypi-312/python3.12-onnxruntime/0002-cmake-python-find-Development-before-Development.Module.patch @@ -1,10 +1,10 @@ --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt -@@ -593,6 +593,7 @@ +@@ -673,6 +673,7 @@ if (onnxruntime_REQUIRE_PYTHON_EMBED_LIB) - find_package(Python 3.8 COMPONENTS Interpreter Development NumPy) + find_package(Python 3.10 COMPONENTS Interpreter Development NumPy) else() -+ find_package(Python 3.8 COMPONENTS Development) - find_package(Python 3.8 COMPONENTS Interpreter Development.Module NumPy) ++ find_package(Python 3.10 COMPONENTS Development) + find_package(Python 3.10 COMPONENTS Interpreter Development.Module NumPy) endif() message("Numpy version: ${Python_NumPy_VERSION}") diff --git a/tur-pypi-312/python3.12-onnxruntime/build.sh b/tur-pypi-312/python3.12-onnxruntime/build.sh index adeea1b..962a9d3 100644 --- a/tur-pypi-312/python3.12-onnxruntime/build.sh +++ b/tur-pypi-312/python3.12-onnxruntime/build.sh @@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://onnxruntime.ai/ TERMUX_PKG_DESCRIPTION="Cross-platform, high performance ML inferencing and training accelerator" TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="1.20.2" +TERMUX_PKG_VERSION="1.21.0" TERMUX_PKG_SRCURL=git+https://github.com/microsoft/onnxruntime TERMUX_PKG_DEPENDS="libc++, python" TERMUX_PKG_BUILD_DEPENDS="python-numpy"