summaryrefslogtreecommitdiff
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
parentb559f7db7aa85c6f8dad9989c6eb90a4e06a8758 (diff)
automatic import of onnxruntime
-rw-r--r--.gitignore1
-rw-r--r--onnxruntime.spec2
-rw-r--r--sources3
3 files changed, 5 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 5553dd8..17a9818 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/date-3.0.1.zip
/nsync-1.26.0.zip
/protobuf-21.12.zip
+/json-3.10.5.zip
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
diff --git a/sources b/sources
index b827ce7..72d6c5a 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,6 @@
3d4793b3d644fd184a2b9f57da1c4839 abseil-cpp-20230802.0.zip
cf556cc376d15055b8235b05b2fc6253 date-3.0.1.zip
-658ba9cce7c4ac0257b953042fca7bb7 main.zip
+accaeb6a75f5972f479ef9139fa65b9e json-3.10.5.zip
+de01bf240145c69c2278cd1b0dd8afb7 main.zip
0d04a7781642dc1d2e6ae318cf73c7ae nsync-1.26.0.zip
d084cfc9d6f86abbda9aae9e0ae0526a protobuf-21.12.zip