devops(firefox): fix arm build dependency management

This commit is contained in:
Andrey Lushnikov 2021-02-02 23:03:54 -07:00
parent 11f570be61
commit 986bddaecc

View file

@ -80,7 +80,7 @@ echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig
if [[ $1 == "--full" ]]; then
if [[ "$(uname)" == "Darwin" && "$(uname -m)" == "arm64" ]]; then
./mach artifact toolchain --from-build macosx64-node
mv node "$HOME/.mozbuild"
mv node "$HOME/.mozbuild/node"
elif [[ "$(uname)" == "Darwin" || "$(uname)" == "Linux" ]]; then
SHELL=/bin/sh ./mach bootstrap --application-choice=browser --no-interactive --no-system-changes
fi