From 6db2c35a0a829f232cd55c4df5d2991109a34d09 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 16 Apr 2024 06:36:08 +0000 Subject: automatic import of onnxruntime --- .gitignore | 1 + python-onnxruntime.spec | 2 ++ sources | 1 + 3 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index c80ad37..5e84770 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /3rd_party.tar.gz /onnxruntime-1.16.3.tar.gz +/deps.tar.gz diff --git a/python-onnxruntime.spec b/python-onnxruntime.spec index 582f25a..305365c 100644 --- a/python-onnxruntime.spec +++ b/python-onnxruntime.spec @@ -14,6 +14,7 @@ URL: https://github.com/microsoft/onnxruntime Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/onnxruntime-%{version}.tar.gz Source1: 3rd_party.tar.gz +Source2: deps.tar.gz Patch0: 0001-dont-install-tests.patch Patch1: 0002-use-system-python.patch @@ -60,6 +61,7 @@ Documentation files for the %{name} package %autosetup -p1 -n %{pkg_name}-%{pkg_version} rm -r cmake/external tar -xzf %{SOURCE1} --directory=. +tar -xzf %{SOURCE2} --directory=. python3 tools/ci_build/replace_urls_in_deps.py --new_dir deps %build diff --git a/sources b/sources index 8588a92..01814e4 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ 07e6061a2147a00d978db17a012ff19c 3rd_party.tar.gz +437be87a7792b4e4a7f40706cb5c6347 deps.tar.gz fe5a67af96cf281275d4c11b24526e65 onnxruntime-1.16.3.tar.gz -- cgit v1.2.3