summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--onnxruntime.spec2
-rw-r--r--sources1
3 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index c1aee2f..367a520 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/abseil-cpp-20220623.1.zip
/abseil-cpp-20230802.0.zip
/date-3.0.1.zip
+/nsync-1.26.0.zip
diff --git a/onnxruntime.spec b/onnxruntime.spec
index d2a77f5..0c8195f 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -10,6 +10,7 @@ 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
+Source3: nsync-1.26.0.zip
BuildRoot: %{_buildrootdir}
#编译所需包(按照文档写的)
BuildRequires: cmake gcc gcc-c++ python3 git python-numpy python-packaging openssl openssl-devel iputils bash
@@ -35,6 +36,7 @@ ONNXRuntime npu
du -sh ../SOURCES/*
mv ../SOURCES/abseil-cpp-20230802.0.zip ../BUILD
mv %{SOURCE2} ../BUILD
+mv %{SOURCE3} ../BUILD
unzip -q -o ../SOURCES/main.zip -d ../BUILD
diff --git a/sources b/sources
index 54a4026..b5ac546 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,4 @@
3d4793b3d644fd184a2b9f57da1c4839 abseil-cpp-20230802.0.zip
cf556cc376d15055b8235b05b2fc6253 date-3.0.1.zip
a209b67554b49f78b32e406b5273768c main.zip
+0d04a7781642dc1d2e6ae318cf73c7ae nsync-1.26.0.zip