Skip to content

Commit

Permalink
mozconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlex94 committed Jul 11, 2023
1 parent a7606ee commit 04762af
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .mozconfig-aarch64-apple-darwin
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ unset MOZ_STDCXX_COMPAT

if test "$WFX_RELEASE" || test "$WFX_PRE_RELEASE"; then
ac_add_options --enable-lto
ac_add_options --enable-optimize="-O3 -mcpu=apple-m1 -w"
if test "$GEN_PGO"; then
ac_add_options --enable-optimize="-O3 -mcpu=apple-m1 -w"
else
ac_add_options --enable-optimize="-O3 -mcpu=apple-m1 -mllvm -polly -mllvm -polly-parallel -mllvm -polly-omp-backend=LLVM -mllvm -polly-vectorizer=stripmine -w"
fi
ac_add_options --enable-release
ac_add_options --enable-rust-simd
ac_add_options RUSTC_OPT_LEVEL=3
Expand All @@ -43,6 +47,13 @@ elif test -f "$HOME/.mozbuild/sccache/sccache"; then
fi
ac_add_options --enable-install-strip
ac_add_options --enable-jxl
if test "$GEN_PGO"; then
ac_add_options --enable-profile-generate=cross
elif test "$USE_PGO"; then
ac_add_options --enable-profile-use=cross
ac_add_options --with-pgo-jarlog="$GITHUB_WORKSPACE"/en-US.log
ac_add_options --with-pgo-profile-path="$GITHUB_WORKSPACE"/merged.profdata
fi
ac_add_options --enable-strip
if test "$WFX_RELEASE"; then
ac_add_options --enable-update-channel=release
Expand Down

0 comments on commit 04762af

Please sign in to comment.