diff options
author | CoprDistGit <infra@openeuler.org> | 2023-09-13 12:50:01 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-09-13 12:50:01 +0000 |
commit | d0c3bd2eccb1c5b6d74784e188733ab1f32a3be1 (patch) | |
tree | 8e7a5965815d28a9034f39d3788e32070316dd72 | |
parent | c050380f01697fb897dcd092e0c2675e10823f5e (diff) |
automatic import of onnxruntime
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | onnxruntime-1.15.1.zip | 3 | ||||
-rw-r--r-- | onnxruntime.spec | 9 | ||||
-rw-r--r-- | sources | 3 |
4 files changed, 9 insertions, 7 deletions
@@ -1,2 +1,3 @@ /v1.15.1.zip /main.zip +/abseil-cpp-20220623.1.zip diff --git a/onnxruntime-1.15.1.zip b/onnxruntime-1.15.1.zip deleted file mode 100644 index 2666c26..0000000 --- a/onnxruntime-1.15.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c2ba80621a2ffe94b05dbd6d60f47663b13e2cd4a0121a5a0348ab3e3e5546fa -size 393051755 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 @@ -1 +1,2 @@ -600f74d3500b031a6884b762c7aeb997 main.zip +72a05e8ae9b3122515e8ff9d30d59c15 abseil-cpp-20220623.1.zip +47df0483bdb8a49ed0ee25607309a3b0 main.zip |