diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-16 06:36:08 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-16 06:36:08 +0000 |
commit | 6db2c35a0a829f232cd55c4df5d2991109a34d09 (patch) | |
tree | da79530f0e7506633f983a6f9c23febc62249a4d | |
parent | d0c78ddfa7609ec94d19402eacf2ad5c07df102c (diff) |
automatic import of onnxruntime
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-onnxruntime.spec | 2 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 4 insertions, 0 deletions
@@ -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 @@ -1,2 +1,3 @@ 07e6061a2147a00d978db17a012ff19c 3rd_party.tar.gz +437be87a7792b4e4a7f40706cb5c6347 deps.tar.gz fe5a67af96cf281275d4c11b24526e65 onnxruntime-1.16.3.tar.gz |