summaryrefslogtreecommitdiff
path: root/onnxruntime.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-15 02:49:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-15 02:49:56 +0000
commit9e26917ab5973657d3bc48807a22e3f6802b6baa (patch)
treeb652de9d3f0ea2a4d569a53288e7a7a766a9c2fe /onnxruntime.spec
parentb559f7db7aa85c6f8dad9989c6eb90a4e06a8758 (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 3873d06..87a1c14 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -12,6 +12,7 @@ Source1: abseil-cpp-20230802.0.zip
Source2: date-3.0.1.zip
Source3: nsync-1.26.0.zip
Source4: protobuf-21.12.zip
+Source5: json-3.10.5.zip
BuildRoot: %{_buildrootdir}
#编译所需包(按照文档写的)
BuildRequires: cmake gcc gcc-c++ python3 git python-numpy python-packaging openssl openssl-devel iputils bash
@@ -39,6 +40,7 @@ mv ../SOURCES/abseil-cpp-20230802.0.zip ../BUILD
mv %{SOURCE2} ../BUILD
mv %{SOURCE3} ../BUILD
mv %{SOURCE4} ../BUILD
+mv %{SOURCE5} ../BUILD
unzip -q -o ../SOURCES/main.zip -d ../BUILD