Xiaoxia/onetbb old version (#12303)
* support oneTBB old version * fix oneTBB version mismatch issues * fix clang issue * add 'tbb' path to setupvars.sh and OpenVINOConfig.cmake.in * Update scripts/setupvars/setupvars.sh Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com> Co-authored-by: Shen, Wanglei <wanglei.shen@intel.com>
This commit is contained in:
@@ -55,6 +55,8 @@ if [ -e "$INSTALLDIR/runtime/3rdparty/tbb" ]; then
|
||||
|
||||
if [ -e "$INSTALLDIR/runtime/3rdparty/tbb/lib/cmake/TBB" ]; then
|
||||
export TBB_DIR=$INSTALLDIR/runtime/3rdparty/tbb/lib/cmake/TBB
|
||||
elif [ -e "$INSTALLDIR/runtime/3rdparty/tbb/lib/cmake/tbb" ]; then
|
||||
export TBB_DIR=$INSTALLDIR/runtime/3rdparty/tbb/lib/cmake/tbb
|
||||
elif [ -e "$INSTALLDIR/runtime/3rdparty/tbb/lib64/cmake/TBB" ]; then
|
||||
export TBB_DIR=$INSTALLDIR/runtime/3rdparty/tbb/lib64/cmake/TBB
|
||||
elif [ -e "$INSTALLDIR/runtime/3rdparty/tbb/cmake" ]; then
|
||||
|
||||
Reference in New Issue
Block a user