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 eeae074..b33b1bb 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -22,6 +22,7 @@ Source11: googletest-1.14.0.zip
Source12: cpuinfo-959002f82d7962a473d8bf301845f2af720e0aa4.zip
Source13: eigen-3.4.zip
Source14: onnx-e2525550194ce3d8a2c4a3af451c9d9b3ae6650e.zip
+Source15: pybind11-2.10.1.zip
BuildRoot: %{_buildrootdir}
#编译所需包(按照文档写的)
BuildRequires: cmake gcc gcc-c++ python3 git python-numpy python-packaging openssl openssl-devel iputils bash
@@ -59,6 +60,7 @@ mv %{SOURCE11} ../BUILD
mv %{SOURCE12} ../BUILD
mv %{SOURCE13} ../BUILD
mv %{SOURCE14} ../BUILD
+mv %{SOURCE15} ../BUILD
unzip -q -o ../SOURCES/main.zip -d ../BUILD