TexasInstruments / edgeai-tidl-tools

Edgeai TIDL Tools and Examples - This repository contains Tools and example developed for Deep learning runtime (DLRT) offering provided by TI’s edge AI solutions.
Other
129 stars 33 forks source link

Latest setup.sh checkin breaks gcc-arm installation #72

Closed verderog closed 2 months ago

verderog commented 6 months ago

@vtrip97 Lines 428/429 of your checkin of setup.sh do not reset the path and cause gcc-arm and cl7x which follow it to get installed to an unexpected location.

verderog commented 6 months ago

Quick fix, add cd - as shown below:

# graph optimizer tool setup
if [[ $arch == x86_64 && $skip_model_optimizer -eq 0 ]]; then
    cd $SCRIPTDIR/scripts/osrt_model_tools/onnx_tools/tidl-onnx-model-optimizer
    source ./setup.sh
    cd -
fi
verderog commented 2 months ago

Fixed in a8b62829572fe24af1d68e7c940474488aedfce1