From 7e27058a1065b301a13b7eb84fd84eca335e2f64 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 14 Sep 2023 11:02:29 +0000 Subject: automatic import of onnxruntime --- onnxruntime.spec | 2 ++ 1 file changed, 2 insertions(+) (limited to 'onnxruntime.spec') 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 -- cgit v1.2.3