mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
devops: fix FF build on MacOS (#16023)
It looks like FF on MacOS requires the `--enable-bootstrap` flag instead of the original dance with the master branch.
This commit is contained in:
parent
96574e49eb
commit
792aa6a080
@ -126,6 +126,9 @@ if [[ -z "${IS_JUGGLER}" ]]; then
|
||||
fi
|
||||
|
||||
if [[ -n "${IS_FULL}" ]]; then
|
||||
if is_mac; then
|
||||
echo "ac_add_options --enable-bootstrap" >> .mozconfig
|
||||
else
|
||||
# This is a slow but sure way to get all the necessary toolchains.
|
||||
# However, it will not work if tree is dirty.
|
||||
# Bail out if git repo is dirty.
|
||||
@ -142,8 +145,9 @@ if [[ -n "${IS_FULL}" ]]; then
|
||||
SHELL=/bin/sh ./mach --no-interactive bootstrap --application-choice=browser
|
||||
git checkout -
|
||||
rm -rf "${OBJ_FOLDER}"
|
||||
fi
|
||||
|
||||
if [[ ! -z "${WIN32_REDIST_DIR}" ]]; then
|
||||
if [[ -n "${WIN32_REDIST_DIR}" ]]; then
|
||||
# Having this option in .mozconfig kills incremental compilation.
|
||||
echo "export WIN32_REDIST_DIR=\"$WIN32_REDIST_DIR\"" >> .mozconfig
|
||||
fi
|
||||
|
||||
@ -126,6 +126,9 @@ if [[ -z "${IS_JUGGLER}" ]]; then
|
||||
fi
|
||||
|
||||
if [[ -n "${IS_FULL}" ]]; then
|
||||
if is_mac; then
|
||||
echo "ac_add_options --enable-bootstrap" >> .mozconfig
|
||||
else
|
||||
# This is a slow but sure way to get all the necessary toolchains.
|
||||
# However, it will not work if tree is dirty.
|
||||
# Bail out if git repo is dirty.
|
||||
@ -142,8 +145,9 @@ if [[ -n "${IS_FULL}" ]]; then
|
||||
SHELL=/bin/sh ./mach --no-interactive bootstrap --application-choice=browser
|
||||
git checkout -
|
||||
rm -rf "${OBJ_FOLDER}"
|
||||
fi
|
||||
|
||||
if [[ ! -z "${WIN32_REDIST_DIR}" ]]; then
|
||||
if [[ -n "${WIN32_REDIST_DIR}" ]]; then
|
||||
# Having this option in .mozconfig kills incremental compilation.
|
||||
echo "export WIN32_REDIST_DIR=\"$WIN32_REDIST_DIR\"" >> .mozconfig
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user