Browse Source

devops: fix Firefox build on Apple Silicon (#7068)

pull/7069/head
Andrey Lushnikov 6 days ago
committed by GitHub
parent
commit
eda097f5e5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      browser_patches/firefox-beta/build.sh

6
browser_patches/firefox-beta/build.sh

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

Loading…
Cancel
Save