summaryrefslogtreecommitdiff
path: root/onnxruntime.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-14 13:00:50 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-14 13:00:50 +0000
commit606efdbb5b60dff352988464b82cade5e1e61af7 (patch)
tree6760ed6ed62bf23dc3b972d8f3d2109307b0868a /onnxruntime.spec
parent6452f2996b9c43df6de6c097a7b1460e9f0935cc (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 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