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 /python-onnxruntime.spec | |
parent | d0c78ddfa7609ec94d19402eacf2ad5c07df102c (diff) |
automatic import of onnxruntime
Diffstat (limited to 'python-onnxruntime.spec')
-rw-r--r-- | python-onnxruntime.spec | 2 |
1 files changed, 2 insertions, 0 deletions
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 |