summaryrefslogtreecommitdiff
path: root/onnxruntime.spec
diff options
context:
space:
mode:
Diffstat (limited to 'onnxruntime.spec')
-rw-r--r--onnxruntime.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/onnxruntime.spec b/onnxruntime.spec
index 1afaa0e..eeae074 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -21,6 +21,7 @@ Source10: flatbuffers-1.12.0.zip
Source11: googletest-1.14.0.zip
Source12: cpuinfo-959002f82d7962a473d8bf301845f2af720e0aa4.zip
Source13: eigen-3.4.zip
+Source14: onnx-e2525550194ce3d8a2c4a3af451c9d9b3ae6650e.zip
BuildRoot: %{_buildrootdir}
#编译所需包(按照文档写的)
BuildRequires: cmake gcc gcc-c++ python3 git python-numpy python-packaging openssl openssl-devel iputils bash
@@ -57,6 +58,7 @@ mv %{SOURCE10} ../BUILD
mv %{SOURCE11} ../BUILD
mv %{SOURCE12} ../BUILD
mv %{SOURCE13} ../BUILD
+mv %{SOURCE14} ../BUILD
unzip -q -o ../SOURCES/main.zip -d ../BUILD