Force removal of toolchain files after build

This commit is contained in:
abejgonzalez
2021-10-25 22:30:22 -07:00
parent e6387e0627
commit 2e86495e80

View File

@@ -16,6 +16,6 @@ if [ ! -d "$HOME/$1-install" ]; then
# init all submodules including the tools
CHIPYARD_DIR="$LOCAL_CHIPYARD_DIR" NPROC=$CI_MAKE_NPROC $LOCAL_CHIPYARD_DIR/scripts/build-toolchains.sh $1
# de-init the toolchain area to save on space
git submodule deinit $LOCAL_CHIPYARD_DIR/toolchains/$1
# de-init the toolchain area to save on space (forced to ignore local changes)
git submodule deinit --force $LOCAL_CHIPYARD_DIR/toolchains/$1
fi