diff options
Diffstat (limited to 'onnxruntime.spec')
-rw-r--r-- | onnxruntime.spec | 5 |
1 files changed, 4 insertions, 1 deletions
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 |