From 093738b66514afe01abfb7c220b5b33bbeda4bc7 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 9 Sep 2023 04:07:01 +0000 Subject: automatic import of onnxruntime --- onnxruntime.spec | 6 +++--- sources | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/onnxruntime.spec b/onnxruntime.spec index eb62ac2..531c78d 100644 --- a/onnxruntime.spec +++ b/onnxruntime.spec @@ -32,11 +32,11 @@ ONNXRuntime npu unzip -q -o ../SOURCES/main.zip -d ../BUILD %build -#ping https://github.com -#ping https://github.com/abseil/abseil-cpp/archive/refs/tags/20220623.1.zip - #cd %{name}-%{version} cd %{name}-main + +git clone https://gitee.com/LeaSwen/onnxruntime1.15.1_dep.git + git init . && bash build.sh --config Release --build_shared_lib --parallel --compile_no_warning_as_error --skip_submodule_sync --allow_running_as_root --skip_tests --build_wheel --build_dir build/CPU %if %{with_npu} diff --git a/sources b/sources index 867650a..08f9285 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -64b9c875448f801ff23accb228d7d6a2 main.zip +600f74d3500b031a6884b762c7aeb997 main.zip -- cgit v1.2.3