summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-14 11:02:29 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-14 11:02:29 +0000
commit7e27058a1065b301a13b7eb84fd84eca335e2f64 (patch)
tree45f58cb9752fd1c709bf3e8fb54f522c916886eb
parent1aaa3e623b60f8caad5c0c2f90ca822a0a003608 (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 8a53837..c1aee2f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/main.zip
/abseil-cpp-20220623.1.zip
/abseil-cpp-20230802.0.zip
+/date-3.0.1.zip
diff --git a/onnxruntime.spec b/onnxruntime.spec
index 06fddc8..5a56783 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -9,6 +9,7 @@ License: MIT
URL: https://onnxruntime.ai/
Source0: https://github.com/Liiswen/onnxruntime/archive/refs/heads/main.zip
Source1: abseil-cpp-20230802.0.zip
+Source2: date-3.0.1.zip
BuildRoot: %{_buildrootdir}
#编译所需包(按照文档写的)
BuildRequires: cmake gcc gcc-c++ python3 git python-numpy python-packaging openssl openssl-devel iputils bash
@@ -33,6 +34,7 @@ ONNXRuntime npu
du -sh ../SOURCES/*
mv ../SOURCES/abseil-cpp-20230802.0.zip ../BUILD
+mv %{Source2} ../BUILD
unzip -q -o ../SOURCES/main.zip -d ../BUILD
diff --git a/sources b/sources
index a700041..85b2408 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,3 @@
3d4793b3d644fd184a2b9f57da1c4839 abseil-cpp-20230802.0.zip
-18c79e15e2aceda696269f29b228d239 main.zip
+cf556cc376d15055b8235b05b2fc6253 date-3.0.1.zip
+bb854e3ecbe04729a5bfb6203408ac41 main.zip