diff options
Diffstat (limited to 'onnxruntime.spec')
-rw-r--r-- | onnxruntime.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/onnxruntime.spec b/onnxruntime.spec index 0c8195f..3873d06 100644 --- a/onnxruntime.spec +++ b/onnxruntime.spec @@ -11,6 +11,7 @@ Source0: https://github.com/Liiswen/onnxruntime/archive/refs/heads/main.z Source1: abseil-cpp-20230802.0.zip Source2: date-3.0.1.zip Source3: nsync-1.26.0.zip +Source4: protobuf-21.12.zip BuildRoot: %{_buildrootdir} #编译所需包(按照文档写的) BuildRequires: cmake gcc gcc-c++ python3 git python-numpy python-packaging openssl openssl-devel iputils bash @@ -37,6 +38,7 @@ du -sh ../SOURCES/* mv ../SOURCES/abseil-cpp-20230802.0.zip ../BUILD mv %{SOURCE2} ../BUILD mv %{SOURCE3} ../BUILD +mv %{SOURCE4} ../BUILD unzip -q -o ../SOURCES/main.zip -d ../BUILD |