mirror of
https://github.com/zen-browser/desktop.git
synced 2026-01-06 21:37:50 +00:00
chore: Update mozconfig to disable profile generation and use cross profile for Windows builds
This commit is contained in:
6
.github/workflows/macos-alpha-build.yml
vendored
6
.github/workflows/macos-alpha-build.yml
vendored
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user