Skip to content

Commit

Permalink
update mozconfigs and installer
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex313031 committed May 20, 2024
1 parent 28c3e7f commit 2f001e9
Show file tree
Hide file tree
Showing 22 changed files with 612 additions and 56 deletions.
8 changes: 0 additions & 8 deletions mozconfigs/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -2484,14 +2484,6 @@ def aggregate(files):
See ``DEFINES`` for specifics.
""",
),
"WASM_LIBS": (
List,
list,
"""Wasm system link libraries.
This variable contains a list of wasm system libaries to link against.
""",
),
"CMFLAGS": (
List,
list,
Expand Down
1 change: 0 additions & 1 deletion mozconfigs/mozconfig
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j16"
export MOZ_MAKE_FLAGS="-j16"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
1 change: 0 additions & 1 deletion mozconfigs/mozconfig-arm64
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j16"
export MOZ_MAKE_FLAGS="-j16"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
1 change: 0 additions & 1 deletion mozconfigs/mozconfig-avx2
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j16"
export MOZ_MAKE_FLAGS="-j16"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
1 change: 0 additions & 1 deletion mozconfigs/mozconfig-debug
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j16"
export MOZ_MAKE_FLAGS="-j16"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
1 change: 0 additions & 1 deletion mozconfigs/mozconfig-macos-arm64
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j5"
export MOZ_MAKE_FLAGS="-j5"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
1 change: 0 additions & 1 deletion mozconfigs/mozconfig-macos-arm64-cross
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j5"
export MOZ_MAKE_FLAGS="-j5"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
1 change: 0 additions & 1 deletion mozconfigs/mozconfig-macos-x64
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j5"
export MOZ_MAKE_FLAGS="-j5"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
5 changes: 2 additions & 3 deletions mozconfigs/mozconfig-macos-x64-cross
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ export MOZ_REQUIRE_SIGNING=
export MOZ_TELEMETRY_REPORTING=

# API Keys
ac_add_options --with-google-location-service-api-keyfile=ga
ac_add_options --with-google-safebrowsing-api-keyfile=ga
ac_add_options --with-google-location-service-api-keyfile=@TOPSRCDIR@/ga
ac_add_options --with-google-safebrowsing-api-keyfile=@TOPSRCDIR@/ga

# Branding
ac_add_options --with-app-name=mercury
Expand All @@ -79,7 +79,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j5"
export MOZ_MAKE_FLAGS="-j5"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
1 change: 0 additions & 1 deletion mozconfigs/mozconfig-sse3
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j16"
export MOZ_MAKE_FLAGS="-j16"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
1 change: 0 additions & 1 deletion mozconfigs/mozconfig-sse4
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j16"
export MOZ_MAKE_FLAGS="-j16"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
12 changes: 4 additions & 8 deletions mozconfigs/mozconfig-win
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ac_add_options --enable-install-strip
ac_add_options --enable-clang-plugin
ac_add_options --enable-lto
ac_add_options --enable-wasm-avx
ac_add_options --enable-optimize="-O2 -O3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -Xclang -O3"
ac_add_options --enable-optimize="-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -Xclang -O3"
ac_add_options --enable-rust-simd
ac_add_options --enable-hardening
#ac_add_options --disable-trace-logging
Expand Down Expand Up @@ -70,9 +70,6 @@ export MOZ_DATA_REPORTING=0
export MOZ_REQUIRE_SIGNING=
export MOZ_TELEMETRY_REPORTING=

# Installer
export WIN32_REDIST_DIR="/c/Program Files/Microsoft Visual Studio/2022/Community/VC/Redist/MSVC/14.38.33130/x64/Microsoft.VC143.CRT"

# API Keys
ac_add_options --with-google-location-service-api-keyfile=@TOPSRCDIR@/ga
ac_add_options --with-google-safebrowsing-api-keyfile=@TOPSRCDIR@/ga
Expand All @@ -87,7 +84,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j16"
export MOZ_MAKE_FLAGS="-j16"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand All @@ -112,9 +108,9 @@ elif test "$USE_PGO"; then
fi

# Compiler, Linker, and Rust flags
export CFLAGS="-O3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes /clang:-O3 /arch:AVX"
export CPPFLAGS="-O3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes /clang:-O3 /arch:AVX"
export CXXFLAGS="-O3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes /clang:-O3 /arch:AVX"
export CFLAGS="-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes /clang:-O3 /arch:AVX"
export CPPFLAGS="-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes /clang:-O3 /arch:AVX"
export CXXFLAGS="-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes /clang:-O3 /arch:AVX"
export LDFLAGS="-Wl,-O3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes"
POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
export RUSTFLAGS="-C target-feature=+avx -C codegen-units=1"
Expand Down
12 changes: 4 additions & 8 deletions mozconfigs/mozconfig-win-avx2
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ac_add_options --enable-install-strip
ac_add_options --enable-clang-plugin
ac_add_options --enable-lto
ac_add_options --enable-wasm-avx
ac_add_options --enable-optimize="-O2 -O3 -march=x86-64-v3 -Xclang -O3"
ac_add_options --enable-optimize="-O2 -march=x86-64-v3 -Xclang -O3"
ac_add_options --enable-rust-simd
ac_add_options --enable-hardening
#ac_add_options --disable-trace-logging
Expand Down Expand Up @@ -70,9 +70,6 @@ export MOZ_DATA_REPORTING=0
export MOZ_REQUIRE_SIGNING=
export MOZ_TELEMETRY_REPORTING=

# Installer
export WIN32_REDIST_DIR="/c/Program Files/Microsoft Visual Studio/2022/Community/VC/Redist/MSVC/14.38.33130/x64/Microsoft.VC143.CRT"

# API Keys
ac_add_options --with-google-location-service-api-keyfile=@TOPSRCDIR@/ga
ac_add_options --with-google-safebrowsing-api-keyfile=@TOPSRCDIR@/ga
Expand All @@ -87,7 +84,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j16"
export MOZ_MAKE_FLAGS="-j16"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand All @@ -112,9 +108,9 @@ elif test "$USE_PGO"; then
fi

# Compiler, Linker, and Rust flags
export CFLAGS="-O3 -march=x86-64-v3 /clang:-O3 /clang:-ffp-contract=fast /arch:AVX2"
export CPPFLAGS="-O3 -march=x86-64-v3 /clang:-O3 /clang:-ffp-contract=fast /arch:AVX2"
export CXXFLAGS="-O3 -march=x86-64-v3 /clang:-O3 /clang:-ffp-contract=fast /arch:AVX2"
export CFLAGS="-O2 -march=x86-64-v3 /clang:-O3 /clang:-ffp-contract=fast /arch:AVX2"
export CPPFLAGS="-O2 -march=x86-64-v3 /clang:-O3 /clang:-ffp-contract=fast /arch:AVX2"
export CXXFLAGS="-O2 -march=x86-64-v3 /clang:-O3 /clang:-ffp-contract=fast /arch:AVX2"
export LDFLAGS="-Wl,-O3 -march=x86-64-v3"
POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
export RUSTFLAGS="-C target-cpu=haswell -C target-feature=+avx2 -C codegen-units=1"
Expand Down
1 change: 0 additions & 1 deletion mozconfigs/mozconfig-win-avx2-cross
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j16"
export MOZ_MAKE_FLAGS="-j16"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
1 change: 0 additions & 1 deletion mozconfigs/mozconfig-win-cross
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j16"
export MOZ_MAKE_FLAGS="-j16"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
1 change: 0 additions & 1 deletion mozconfigs/mozconfig-win-debug
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j16"
export MOZ_MAKE_FLAGS="-j16"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand Down
12 changes: 4 additions & 8 deletions mozconfigs/mozconfig-win-sse3
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ac_add_options --enable-install-strip
ac_add_options --enable-clang-plugin
ac_add_options --enable-lto
#ac_add_options --enable-wasm-avx
ac_add_options --enable-optimize="-O2 -O3 -msse3 -Xclang -O3"
ac_add_options --enable-optimize="-O2 -msse3 -Xclang -O3"
ac_add_options --enable-rust-simd
ac_add_options --enable-hardening
#ac_add_options --disable-trace-logging
Expand Down Expand Up @@ -70,9 +70,6 @@ export MOZ_DATA_REPORTING=0
export MOZ_REQUIRE_SIGNING=
export MOZ_TELEMETRY_REPORTING=

# Installer
export WIN32_REDIST_DIR="/c/Program Files/Microsoft Visual Studio/2022/Community/VC/Redist/MSVC/14.38.33130/x64/Microsoft.VC143.CRT"

# API Keys
ac_add_options --with-google-location-service-api-keyfile=@TOPSRCDIR@/ga
ac_add_options --with-google-safebrowsing-api-keyfile=@TOPSRCDIR@/ga
Expand All @@ -87,7 +84,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j16"
export MOZ_MAKE_FLAGS="-j16"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand All @@ -112,9 +108,9 @@ elif test "$USE_PGO"; then
fi

# Compiler, Linker, and Rust flags
export CFLAGS="-O3 -msse3 /clang:-O3"
export CPPFLAGS="-O3 -msse3 /clang:-O3"
export CXXFLAGS="-O3 -msse3 /clang:-O3"
export CFLAGS="-O2 -msse3 /clang:-O3"
export CPPFLAGS="-O2 -msse3 /clang:-O3"
export CXXFLAGS="-O2 -msse3 /clang:-O3"
export LDFLAGS="-Wl,-O3 -msse3"
POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
export RUSTFLAGS="-C target-feature=+sse3 -C codegen-units=1"
Expand Down
12 changes: 4 additions & 8 deletions mozconfigs/mozconfig-win-sse4
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ac_add_options --enable-install-strip
ac_add_options --enable-clang-plugin
ac_add_options --enable-lto
#ac_add_options --enable-wasm-avx
ac_add_options --enable-optimize="-O2 -O3 -msse3 -mssse3 -msse4.1 -Xclang -O3"
ac_add_options --enable-optimize="-O2 -msse3 -mssse3 -msse4.1 -Xclang -O3"
ac_add_options --enable-rust-simd
ac_add_options --enable-hardening
#ac_add_options --disable-trace-logging
Expand Down Expand Up @@ -70,9 +70,6 @@ export MOZ_DATA_REPORTING=0
export MOZ_REQUIRE_SIGNING=
export MOZ_TELEMETRY_REPORTING=

# Installer
export WIN32_REDIST_DIR="/c/Program Files/Microsoft Visual Studio/2022/Community/VC/Redist/MSVC/14.38.33130/x64/Microsoft.VC143.CRT"

# API Keys
ac_add_options --with-google-location-service-api-keyfile=@TOPSRCDIR@/ga
ac_add_options --with-google-safebrowsing-api-keyfile=@TOPSRCDIR@/ga
Expand All @@ -87,7 +84,6 @@ ac_add_options --with-distribution-id=com.alex313031.mercury

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j16"
export MOZ_MAKE_FLAGS="-j16"

# Autoclobber
mk_add_options AUTOCLOBBER=1
Expand All @@ -112,9 +108,9 @@ elif test "$USE_PGO"; then
fi

# Compiler, Linker, and Rust flags
export CFLAGS="-O3 -msse3 -mssse3 -msse4.1 /clang:-O3"
export CPPFLAGS="-O3 -msse3 -mssse3 -msse4.1 /clang:-O3"
export CXXFLAGS="-O3 -msse3 -mssse3 -msse4.1 /clang:-O3"
export CFLAGS="-O2 -msse3 -mssse3 -msse4.1 /clang:-O3"
export CPPFLAGS="-O2 -msse3 -mssse3 -msse4.1 /clang:-O3"
export CXXFLAGS="-O2 -msse3 -mssse3 -msse4.1 /clang:-O3"
export LDFLAGS="-Wl,-O3 -msse3 -mssse3 -msse4.1"
POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
export RUSTFLAGS="-C target-feature=+sse4.1 -C codegen-units=1"
Expand Down
Binary file added other-licenses/7zstub/firefox/7zSD.ARM64.sfx
Binary file not shown.
Binary file modified other-licenses/7zstub/firefox/7zSD.Win32.sfx
Binary file not shown.
Loading

0 comments on commit 2f001e9

Please sign in to comment.