diff options
author | CoprDistGit <infra@openeuler.org> | 2023-09-15 01:47:39 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-09-15 01:47:39 +0000 |
commit | b559f7db7aa85c6f8dad9989c6eb90a4e06a8758 (patch) | |
tree | 842e453760507c2a763fc30eea222339e4a59360 | |
parent | 606efdbb5b60dff352988464b82cade5e1e61af7 (diff) |
automatic import of onnxruntime
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | onnxruntime.spec | 2 | ||||
-rw-r--r-- | sources | 3 |
3 files changed, 5 insertions, 1 deletions
@@ -4,3 +4,4 @@ /abseil-cpp-20230802.0.zip /date-3.0.1.zip /nsync-1.26.0.zip +/protobuf-21.12.zip 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 @@ -1,4 +1,5 @@ 3d4793b3d644fd184a2b9f57da1c4839 abseil-cpp-20230802.0.zip cf556cc376d15055b8235b05b2fc6253 date-3.0.1.zip -a209b67554b49f78b32e406b5273768c main.zip +658ba9cce7c4ac0257b953042fca7bb7 main.zip 0d04a7781642dc1d2e6ae318cf73c7ae nsync-1.26.0.zip +d084cfc9d6f86abbda9aae9e0ae0526a protobuf-21.12.zip |