summaryrefslogtreecommitdiff
path: root/onnxruntime.spec
diff options
context:
space:
mode:
Diffstat (limited to 'onnxruntime.spec')
-rw-r--r--onnxruntime.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/onnxruntime.spec b/onnxruntime.spec
index 6be1bcd..f415bc4 100644
--- a/onnxruntime.spec
+++ b/onnxruntime.spec
@@ -7,7 +7,8 @@ Release: 1
Summary: Cross-Platform Accelerated Machine Learning
License: MIT
URL: https://onnxruntime.ai/
-Source0: onnxruntime-1.15.1.zip
+Source0: https://github.com/Liiswen/onnxruntime/archive/refs/heads/main.zip
+Source1: abseil-cpp-20220623.1.zip
BuildRoot: %{_buildrootdir}
#编译所需包(按照文档写的)
BuildRequires: cmake gcc gcc-c++ python3 git python-numpy python-packaging openssl openssl-devel iputils bash
@@ -31,8 +32,10 @@ ONNXRuntime npu
#unzip -q -o ../SOURCES/v%{version}.zip -d ../BUILD
du -sh ../SOURCES/*
-#unzip -q -o ../SOURCES/onnxruntime-1.15.1.zip -d ../BUILD
-%setup -q
+mv ../SOURCES/abseil-cpp-20220623.1.zip ../BUILD
+unzip -q -o ../SOURCES/main.zip -d ../BUILD
+
+
#ping gitee.com
#git clone https://gitee.com/LeaSwen/onnxruntime1.15.1_dep.git