Skip to content

Commit

Permalink
mozconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlex94 committed Jul 18, 2023
1 parent 4d818f9 commit 47e0bea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .mozconfig-aarch64-apple-darwin
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# Targetting ARM64 builds. Expected to be run on Linux.

POLLY="-mllvm -polly -mllvm -polly-run-dce -mllvm -polly-run-inliner -mllvm -polly-opt-fusion=max -mllvm -polly-ast-use-context -mllvm -polly-parallel -mllvm -polly-omp-backend=LLVM -mllvm -polly-vectorizer=stripmine -mllvm -polly-invariant-load-hoisting -mllvm -polly-scheduling=static"
POLLY="-mllvm -inline-threshold=1000 -mllvm -polly -mllvm -polly-position=early -mllvm -polly-dependences-computeout=500000 -mllvm -polly-detect-profitability-min-per-loop-insts=40 -mllvm -polly-tiling=true -mllvm -polly-prevect-width=256 -mllvm -polly-vectorizer=stripmine -mllvm -polly-scheduling=dynamic -mllvm -polly-scheduling-chunksize=1 -mllvm -polly-invariant-load-hoisting -mllvm -polly-loopfusion-greedy -mllvm -polly-run-inliner -mllvm -polly-run-dce -mllvm -polly-enable-delicm=true -mllvm -extra-vectorizer-passes -mllvm -enable-cond-stores-vec -mllvm -slp-vectorize-hor-store -mllvm -enable-loopinterchange -mllvm -enable-loop-distribute -mllvm -enable-unroll-and-jam -mllvm -enable-loop-flatten -mllvm -interleave-small-loop-scalar-reduction -mllvm -unroll-runtime-multi-exit -mllvm -aggressive-ext-opt -mllvm -enable-interleaved-mem-accesses -mllvm -enable-masked-interleaved-mem-accesses"
TOOLS=$HOME/macos-cross
export CC="$HOME"/macos-cross/clang/bin/clang
export CXX="$HOME"/macos-cross/clang/bin/clang++
Expand All @@ -20,9 +20,9 @@ unset MOZ_STDCXX_COMPAT
if test "$WFX_RELEASE" || test "$WFX_PRE_RELEASE"; then
ac_add_options --enable-lto=cross
if test "$GEN_PGO"; then
ac_add_options --enable-optimize="-O3 -mcpu=apple-m1 -w"
ac_add_options --enable-optimize="-O3 -mcpu=apple-m1 -fno-math-errno -fno-trapping-math -falign-functions=32 -funroll-loops -fno-semantic-interposition -fcf-protection=none -mharden-sls=none -fomit-frame-pointer -mprefer-vector-width=256 -w"
else
ac_add_options --enable-optimize="-O3 -mcpu=apple-m1 $POLLY -w"
ac_add_options --enable-optimize="-O3 -mcpu=apple-m1 $POLLY -fno-math-errno -fno-trapping-math -falign-functions=32 -funroll-loops -fno-semantic-interposition -fcf-protection=none -mharden-sls=none -fomit-frame-pointer -mprefer-vector-width=256 -w"
fi
ac_add_options --enable-release
ac_add_options --enable-rust-simd
Expand Down
6 changes: 3 additions & 3 deletions .mozconfig-x86_64-apple-darwin
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# Targetting X64 builds. Expected to be run on Linux.

POLLY="-mllvm -polly -mllvm -polly-run-dce -mllvm -polly-run-inliner -mllvm -polly-opt-fusion=max -mllvm -polly-ast-use-context -mllvm -polly-parallel -mllvm -polly-omp-backend=LLVM -mllvm -polly-vectorizer=stripmine -mllvm -polly-invariant-load-hoisting -mllvm -polly-scheduling=static"
POLLY="-mllvm -inline-threshold=1000 -mllvm -polly -mllvm -polly-position=early -mllvm -polly-dependences-computeout=500000 -mllvm -polly-detect-profitability-min-per-loop-insts=40 -mllvm -polly-tiling=true -mllvm -polly-prevect-width=256 -mllvm -polly-vectorizer=stripmine -mllvm -polly-scheduling=dynamic -mllvm -polly-scheduling-chunksize=1 -mllvm -polly-invariant-load-hoisting -mllvm -polly-loopfusion-greedy -mllvm -polly-run-inliner -mllvm -polly-run-dce -mllvm -polly-enable-delicm=true -mllvm -extra-vectorizer-passes -mllvm -enable-cond-stores-vec -mllvm -slp-vectorize-hor-store -mllvm -enable-loopinterchange -mllvm -enable-loop-distribute -mllvm -enable-unroll-and-jam -mllvm -enable-loop-flatten -mllvm -interleave-small-loop-scalar-reduction -mllvm -unroll-runtime-multi-exit -mllvm -aggressive-ext-opt -mllvm -enable-interleaved-mem-accesses -mllvm -enable-masked-interleaved-mem-accesses"
TOOLS=$HOME/macos-cross
export CC="$HOME"/macos-cross/clang/bin/clang
export CXX="$HOME"/macos-cross/clang/bin/clang++
Expand All @@ -20,9 +20,9 @@ unset MOZ_STDCXX_COMPAT
if test "$WFX_RELEASE" || test "$WFX_PRE_RELEASE"; then
ac_add_options --enable-lto=cross
if test "$GEN_PGO"; then
ac_add_options --enable-optimize="-O3 -march=nehalem -mtune=haswell -w"
ac_add_options --enable-optimize="-O3 -march=nehalem -mtune=haswell -fno-math-errno -fno-trapping-math -falign-functions=32 -funroll-loops -fno-semantic-interposition -fcf-protection=none -mharden-sls=none -fomit-frame-pointer -mprefer-vector-width=256 -w"
else
ac_add_options --enable-optimize="-O3 -march=nehalem -mtune=haswell $POLLY -w"
ac_add_options --enable-optimize="-O3 -march=nehalem -mtune=haswell $POLLY -fno-math-errno -fno-trapping-math -falign-functions=32 -funroll-loops -fno-semantic-interposition -fcf-protection=none -mharden-sls=none -fomit-frame-pointer -mprefer-vector-width=256 -w"
fi
ac_add_options --enable-release
ac_add_options --enable-rust-simd
Expand Down
6 changes: 3 additions & 3 deletions .mozconfig-x86_64-pc-windows-msvc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
export CROSS_BUILD=1
POLLY="-mllvm -polly -mllvm -polly-run-dce -mllvm -polly-run-inliner -mllvm -polly-opt-fusion=max -mllvm -polly-ast-use-context -mllvm -polly-parallel -mllvm -polly-omp-backend=LLVM -mllvm -polly-vectorizer=stripmine -mllvm -polly-invariant-load-hoisting -mllvm -polly-scheduling=static"
POLLY="-mllvm -inline-threshold=1000 -mllvm -polly -mllvm -polly-position=early -mllvm -polly-dependences-computeout=500000 -mllvm -polly-detect-profitability-min-per-loop-insts=40 -mllvm -polly-tiling=true -mllvm -polly-prevect-width=256 -mllvm -polly-vectorizer=stripmine -mllvm -polly-scheduling=dynamic -mllvm -polly-scheduling-chunksize=1 -mllvm -polly-invariant-load-hoisting -mllvm -polly-loopfusion-greedy -mllvm -polly-run-inliner -mllvm -polly-run-dce -mllvm -polly-enable-delicm=true -mllvm -extra-vectorizer-passes -mllvm -enable-cond-stores-vec -mllvm -slp-vectorize-hor-store -mllvm -enable-loopinterchange -mllvm -enable-loop-distribute -mllvm -enable-unroll-and-jam -mllvm -enable-loop-flatten -mllvm -interleave-small-loop-scalar-reduction -mllvm -unroll-runtime-multi-exit -mllvm -aggressive-ext-opt -mllvm -enable-interleaved-mem-accesses -mllvm -enable-masked-interleaved-mem-accesses"
TOOLS=$HOME/win-cross
WINSYSROOT="$HOME/win-root"

Expand All @@ -27,9 +27,9 @@ mk_add_options "export PATH=$EXTRA_PATH$PATH"
if test "$WFX_RELEASE" || test "$WFX_PRE_RELEASE"; then
ac_add_options --enable-lto=cross
if test "$GEN_PGO"; then
ac_add_options --enable-optimize="-O2 -Qvec -clang:-march=penryn -clang:-mtune=haswell -w"
ac_add_options --enable-optimize="-O2 -Qvec -clang:-march=penryn -clang:-mtune=haswell -clang:-fno-math-errno -clang:-fno-trapping-math -clang:-falign-functions=32 -clang:-funroll-loops -clang:-fno-semantic-interposition -clang:-fcf-protection=none -clang:-mharden-sls=none -clang:-fomit-frame-pointer -clang:-mprefer-vector-width=256 -w"
else
ac_add_options --enable-optimize="-O2 -Qvec -clang:-march=penryn -clang:-mtune=haswell $POLLY -w"
ac_add_options --enable-optimize="-O2 -Qvec -clang:-march=penryn -clang:-mtune=haswell $POLLY -clang:-fno-math-errno -clang:-fno-trapping-math -clang:-falign-functions=32 -clang:-funroll-loops -clang:-fno-semantic-interposition -clang:-fcf-protection=none -clang:-mharden-sls=none -clang:-fomit-frame-pointer -clang:-mprefer-vector-width=256 -w"
fi
ac_add_options --enable-release
ac_add_options --enable-rust-simd
Expand Down

0 comments on commit 47e0bea

Please sign in to comment.