summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-16 13:00:55 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-16 13:00:55 +0000
commite7a24c0fde027ee10c3bcadb00f63bdf7fb4c4a1 (patch)
treec134651f9d0700fe79857fe331da85c646616807
parentee5e19d461296c9861052b85773b55629b98d26d (diff)
automatic import of onnxruntime
-rw-r--r--python-onnxruntime.spec6
1 files changed, 0 insertions, 6 deletions
diff --git a/python-onnxruntime.spec b/python-onnxruntime.spec
index 25a7695..004fc08 100644
--- a/python-onnxruntime.spec
+++ b/python-onnxruntime.spec
@@ -75,12 +75,6 @@ bash build.sh --build_dir build \
--build_shared_lib \
--skip_submodule_sync
-# Build python libs
-mv ./onnxruntime ./onnxruntime.src
-cp -R %{_builddir}/build/RelWithDebInfo/onnxruntime ./onnxruntime
-cp %{_builddir}/build/RelWithDebInfo/requirements.txt ./requirements.txt
-%pyproject_build
-
%install
# onnxruntime
%__cmake --install %{_builddir}/build/RelWithDebInfo --prefix=%{buildroot}