summaryrefslogtreecommitdiff
path: root/onnxruntime.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-18 11:40:27 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-18 11:40:27 +0000
commit353cc93b2409d5747ba9f0ee97f946ec13418a2e (patch)
tree295083288497827daaa439bfe14e17c16d3f4caf /onnxruntime.spec
parent73dabc5c3013d97d470053fbcc4c19c11b05b29d (diff)
automatic import of onnxruntime
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