From 6561cee12578550d7d6c2df1fed5fdcb2d3f26fe Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sat, 9 Sep 2023 06:10:51 +0000 Subject: automatic import of onnxruntime --- onnxruntime.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/onnxruntime.spec b/onnxruntime.spec index 531c78d..98d7256 100644 --- a/onnxruntime.spec +++ b/onnxruntime.spec @@ -30,12 +30,15 @@ ONNXRuntime npu %prep #unzip -q -o ../SOURCES/v%{version}.zip -d ../BUILD unzip -q -o ../SOURCES/main.zip -d ../BUILD + +git clone https://gitee.com/LeaSwen/onnxruntime1.15.1_dep.git + %build #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 -- cgit v1.2.3