From 6eaa55c897394b7b20dbc5b03848a2b5933d73bd Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 27 Aug 2023 11:47:10 +0000 Subject: automatic import of onnxruntime --- onnxruntime.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime.spec b/onnxruntime.spec index 3efb353..91c2207 100644 --- a/onnxruntime.spec +++ b/onnxruntime.spec @@ -34,7 +34,7 @@ cd %{name}-%{version} #ln -s /usr/local/Ascend/ascendtoolkit/latest/x86_64-Linux/1ib64//libfmk_onnx_parser.so /usr/lib//libfmk_onnx_parser.so #ln -s /usr/local/Ascend/ascendtoolkit/latest/x86_64-Linux/1ib64/libacl_op_compiler.so /usr/lib/libacl_op_compiler.so -git init . && bash build.sh --config Release --build_shared_lib --use_cann --parallel --allow_running_as_root --skip_tests --build_wheel --build_dir build/NPU +git init . && bash build.sh --config Release --build_shared_lib --use_cann --parallel --allow_running_as_root --skip_tests --build_wheel --build_dir build/NPU --cann_home /usr/local/Ascend/ascend-toolkit/latest -- cgit v1.2.3