diff options
author | CoprDistGit <infra@openeuler.org> | 2024-04-16 07:09:24 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-04-16 07:09:24 +0000 |
commit | 23b344e3d80f0125c1b62d0d7c2c33b9012119b7 (patch) | |
tree | 4d099c227561125a2b91df2ce96213f39bd19354 | |
parent | 6db2c35a0a829f232cd55c4df5d2991109a34d09 (diff) |
automatic import of onnxruntime
-rw-r--r-- | python-onnxruntime.spec | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python-onnxruntime.spec b/python-onnxruntime.spec index 305365c..b66ee78 100644 --- a/python-onnxruntime.spec +++ b/python-onnxruntime.spec @@ -32,7 +32,6 @@ BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling -BuildRequires: python3-flatbuffers %description %{pkg_description} @@ -62,7 +61,7 @@ Documentation files for the %{name} package rm -r cmake/external tar -xzf %{SOURCE1} --directory=. tar -xzf %{SOURCE2} --directory=. -python3 tools/ci_build/replace_urls_in_deps.py --new_dir deps +python3 tools/ci_build/replace_urls_in_deps.py --new_dir %{_builddir}/%{pkg_name}-%{pkg_version}/deps %build bash build.sh --build_dir build --config RelWithDebInfo --skip_tests --enable_pybind --build_wheel --build_shared_lib --skip_submodule_sync |