Remove need for conda in build-toolchains-extra.sh

This commit is contained in:
abejgonzalez
2022-12-12 10:56:54 -08:00
parent a8d99eb6f7
commit a0ad9d2055
3 changed files with 15 additions and 19 deletions

View File

@@ -117,7 +117,16 @@ if do_skip "2"; then
fi
if do_skip "3"; then
$RDIR/scripts/build-toolchain-extra.sh $FORCE_FLAG $TOOLCHAIN_TYPE
if do_skip "1"; then
PREFIX=$CONDA_PREFIX/$TOOLCHAIN_TYPE
else
if [ -z "$RISCV" ] ; then
error "ERROR: If conda initialization skipped, \$RISCV variable must be defined."
exit 1
fi
PREFIX=$RISCV
fi
$RDIR/scripts/build-toolchain-extra.sh $TOOLCHAIN_TYPE -p $PREFIX
fi
if do_skip "4"; then