summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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