Skip to content

Commit

Permalink
Use full LTO; drop CPU requirements.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlex94 committed May 13, 2024
1 parent c47cb10 commit 18ade7a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .mozconfig-aarch64-apple-darwin
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mk_add_options "export PATH=$TOOLS/cctools/bin:$HOME/macos-cross/clang/bin:$PATH
unset MOZ_STDCXX_COMPAT

if test "$WFX_RELEASE" || test "$WFX_PRE_RELEASE"; then
ac_add_options --enable-lto=cross
ac_add_options --enable-lto=cross,full
ac_add_options --enable-optimize="-mcpu=apple-m1 -O3 -w"
ac_add_options --enable-release
ac_add_options --enable-rust-simd
Expand Down
2 changes: 1 addition & 1 deletion .mozconfig-x86_64-apple-darwin
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mk_add_options "export PATH=$TOOLS/cctools/bin:$HOME/macos-cross/clang/bin:$PATH
unset MOZ_STDCXX_COMPAT

if test "$WFX_RELEASE" || test "$WFX_PRE_RELEASE"; then
ac_add_options --enable-lto=cross
ac_add_options --enable-lto=cross,full
ac_add_options --enable-optimize="-march=nehalem -mtune=haswell -O3 -w"
ac_add_options --enable-release
ac_add_options --enable-rust-simd
Expand Down
4 changes: 2 additions & 2 deletions .mozconfig-x86_64-pc-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ else
fi

if test "$WFX_RELEASE" || test "$WFX_PRE_RELEASE"; then
ac_add_options --enable-lto
ac_add_options --enable-optimize="-march=core2 -mtune=haswell -O3 -w"
ac_add_options --enable-lto=full
ac_add_options --enable-optimize="-march=x86-64 -msse3 -mtune=haswell -O3 -w"
ac_add_options --enable-release
ac_add_options --enable-rust-simd
ac_add_options RUSTC_OPT_LEVEL=3
Expand Down
4 changes: 2 additions & 2 deletions .mozconfig-x86_64-pc-windows-msvc
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export WINEDEBUG=-all
mk_add_options "export PATH=$EXTRA_PATH$PATH"

if test "$WFX_RELEASE" || test "$WFX_PRE_RELEASE"; then
ac_add_options --enable-lto=cross
ac_add_options --enable-optimize="-clang:-march=penryn -clang:-mtune=haswell -clang:-O3 -w"
ac_add_options --enable-lto=cross,full
ac_add_options --enable-optimize="-clang:-march=x86-64 -clang:-msse3 -clang:-mtune=haswell -clang:-O3 -w"
ac_add_options --enable-release
ac_add_options --enable-rust-simd
ac_add_options RUSTC_OPT_LEVEL=3
Expand Down

0 comments on commit 18ade7a

Please sign in to comment.