summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-20 07:50:36 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-20 07:50:36 +0000
commit6d55a88112eaa53fb69d489a1c7b4ac91a207795 (patch)
treef7b1729e702693e2628a73259e8101b19b56ec1d
parent55cc7407ec08f24c86ec08e5b96fde990426f6fc (diff)
automatic import of onnxruntime
-rw-r--r--onnxruntime.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/onnxruntime.spec b/onnxruntime.spec
index 24df225..9ff376a 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -25,7 +25,7 @@ Source14: onnx-e2525550194ce3d8a2c4a3af451c9d9b3ae6650e.zip
Source15: pybind11-2.10.1.zip
BuildRoot: %{_buildrootdir}
#编译所需包(按照文档写的)
-BuildRequires: cmake>=3.26.4 gcc gcc-c++ python3 git python-numpy python-packaging openssl openssl-devel iputils bash
+BuildRequires: cmake gcc gcc-c++ python3 git python-numpy python-packaging openssl openssl-devel iputils bash
#安装所需包(感觉没啥需要的?)
Requires: bash
Provides: onnxruntime-python-API
@@ -44,7 +44,7 @@ ONNXRuntime npu
%prep
#unzip -q -o ../SOURCES/v%{version}.zip -d ../BUILD
-
+cmake --version
du -sh ../SOURCES/*
mv ../SOURCES/abseil-cpp-20230802.0.zip ../BUILD
mv %{SOURCE2} ../BUILD