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 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'onnxruntime.spec') 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} -- cgit v1.2.3