diff options
Diffstat (limited to 'onnxruntime.spec')
-rw-r--r-- | onnxruntime.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/onnxruntime.spec b/onnxruntime.spec index b33b1bb..95df3cd 100644 --- a/onnxruntime.spec +++ b/onnxruntime.spec @@ -75,8 +75,8 @@ cd %{name}-main -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 - +#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 +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} export CPLUS_INCLUDE_PATH=/usr/local/Ascend/ascend-toolkit/latest/fwkacllib/include:$CPLUS_INCLUDE_PATH export CPLUS_INCLUDE_PATH=/usr/local/lib64/python3.9/site-packages/numpy/core/include:$CPLUS_INCLUDE_PATH |