mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-31 23:27:43 +00:00
Add --skip_tests to example command line as the included ops are being reduced. (#5554)
This commit is contained in:
parent
d220c9f950
commit
6d35be215f
1 changed files with 3 additions and 3 deletions
|
|
@ -48,7 +48,7 @@ See [here](https://github.com/microsoft/onnxruntime/blob/master/BUILD.md#start-b
|
|||
|
||||
The follow options can be used to reduce the build size. Enable all options that your scenario allows.
|
||||
- Reduce build to required operator kernels
|
||||
- Add `--include_ops_by_config <config file produced by step 1>` to the build parameters.
|
||||
- Add `--include_ops_by_config <config file produced by step 1> --skip_tests` to the build parameters.
|
||||
- See the documentation on the [Reduced Operator Kernel build](Reduced_Operator_Kernel_build.md) for more information. This step can also be done pre-build if needed.
|
||||
|
||||
- Enable minimal build (`--minimal_build`)
|
||||
|
|
@ -79,11 +79,11 @@ The `Release` configuration could also be used if you wish to prioritize perform
|
|||
|
||||
##### Windows
|
||||
|
||||
`<ONNX Runtime repository root>\build.bat --config=MinSizeRel --cmake_generator="Visual Studio 16 2019" --build_shared_lib --minimal_build --disable_ml_ops --disable_exceptions --include_ops_by_config <config file produced by step 1>`
|
||||
`<ONNX Runtime repository root>\build.bat --config=MinSizeRel --cmake_generator="Visual Studio 16 2019" --build_shared_lib --minimal_build --disable_ml_ops --disable_exceptions --include_ops_by_config <config file produced by step 1> --skip_tests`
|
||||
|
||||
##### Linux
|
||||
|
||||
`<ONNX Runtime repository root>/build.sh --config=MinSizeRel --build_shared_lib --minimal_build --disable_ml_ops --disable_exceptions --include_ops_by_config <config file produced by step 1>`
|
||||
`<ONNX Runtime repository root>/build.sh --config=MinSizeRel --build_shared_lib --minimal_build --disable_ml_ops --disable_exceptions --include_ops_by_config <config file produced by step 1> --skip_tests`
|
||||
|
||||
##### Building ONNX Runtime Python Wheel as part of Minimal build
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue