Build with system TBB (#11244)

* Build with system TBB

* Fixes

* Check whether system TBB is available

* Try to fix ONNX Runtime build with system TBB

* Test

* Fixed compilation of threading.cpp

* Fixed unset of cache dirs

* Limit dearch paths of TBB

* Try to enable pip packages with custom TBB

* Fix for TBB 2021.2

* Install only needed TBB libraries

* Install TBB from system to pip package

* Reverted usage of TBBROOT

* Fixed oneTBB case

* Try to fix Android

* Escape some paths

* Added samples path

* Fixed TBBBind usage for case of system TBB
This commit is contained in:
Ilya Lavrenov
2022-03-31 18:05:59 +03:00
committed by GitHub
parent d99104cf55
commit 3c724a1dee
20 changed files with 275 additions and 157 deletions

View File

@@ -167,12 +167,8 @@ This section provides step-by-step instructions on how to run the Benchmark Tool
```sh
omz_downloader --name googlenet-v1 -o <models_dir>
```
<<<<<<< HEAD
3. Convert the model to the OpenVINO IR format. Run the Model Optimizer using the `mo` command with the path to the model, model format and output directory to generate the IR files:
=======
2. Convert the model to the OpenVINO IR format. Run the Model Optimizer using the `mo` command with the path to the model, model format (which must be FP32 for CPU and FPG) and output directory to generate the IR files:
>>>>>>> cf8ccb590a... Removed obsolete code snippets (#11061)
```sh
mo --input_model <models_dir>/public/googlenet-v1/googlenet-v1.caffemodel --data_type FP32 --output_dir <ir_dir>
```