chore: Update mozconfig to disable profile generation and use cross profile for Windows builds

This commit is contained in:
Mauro Balades
2024-08-03 00:40:45 +02:00
parent 052774c5c3
commit 38e4a7150c
3 changed files with 10 additions and 8 deletions

View File

@@ -83,7 +83,11 @@ jobs:
- name: build Zen
env:
SURFER_COMPAT: ${{ matrix.arch == 'x64' }}
run: sh .github/workflows/src/alpha-build.sh
run: |
if test "${{ matrix.arch }}" = "x64"; then
export ZEN_DISABLE_LTO=1
fi
sh .github/workflows/src/alpha-build.sh
- name: Rebuild Zen if failed
if: failure()

View File

@@ -48,9 +48,11 @@ if test "$ZEN_RELEASE"; then
ac_add_options --disable-vtune
export MOZ_LTO=1
ac_add_options MOZ_LTO=1
ac_add_options --enable-lto=full,cross
if ! test "$ZEN_DISABLE_LTO"; then
export MOZ_LTO=1
ac_add_options MOZ_LTO=1
ac_add_options --enable-lto=full,cross
fi
ac_add_options --enable-jemalloc

View File

@@ -13,10 +13,6 @@ if test "$SURFER_COMPAT" = "true"; then
ac_add_options MOZ_PGO=1
ac_add_options --target=x86_64-apple-darwin
# it crashes the builds
unset MOZ_LTO
ac_add_options --disable-lto
ac_add_options --enable-wasm-avx
ac_add_options --enable-optimize="-O3 -march=x86-64-v3"