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 06f3600..54013c5 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -17,6 +17,7 @@ Source6: mp11-boost-1.82.0.zip
Source7: re2-2022-06-01.zip
Source8: SafeInt-3.0.28.zip
Source9: GSL-4.0.0.zip
+Source10: flatbuffers-1.12.0.zip
BuildRoot: %{_buildrootdir}
#编译所需包(按照文档写的)
BuildRequires: cmake gcc gcc-c++ python3 git python-numpy python-packaging openssl openssl-devel iputils bash
@@ -49,6 +50,7 @@ mv %{SOURCE6} ../BUILD
mv %{SOURCE7} ../BUILD
mv %{SOURCE8} ../BUILD
mv %{SOURCE9} ../BUILD
+mv %{SOURCE10} ../BUILD
unzip -q -o ../SOURCES/main.zip -d ../BUILD