mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 18:07:31 +09:00
New mozconfig for Win32 MSVC
This commit is contained in:
parent
175e0de509
commit
15bec18421
1 changed files with 7 additions and 13 deletions
|
|
@ -3,13 +3,12 @@
|
||||||
##Uncomment PGO for release build
|
##Uncomment PGO for release build
|
||||||
|
|
||||||
# 16 jobs for 16 cores
|
# 16 jobs for 16 cores
|
||||||
mk_add_options MOZ_MAKE_FLAGS="-j16"
|
mk_add_options MOZ_MAKE_FLAGS="-j6"
|
||||||
|
|
||||||
# x86 build
|
# x86 build
|
||||||
ac_add_options --host=i686-pc-mingw32
|
ac_add_options --host=i686-pc-mingw32
|
||||||
ac_add_options --target=i686-pc-mingw32
|
ac_add_options --target=i686-pc-mingw32
|
||||||
WIN32_REDIST_DIR=$VCINSTALLDIR/Redist/MSVC/14.16.27012/x86
|
WIN32_REDIST_DIR=$VCINSTALLDIR/Redist/MSVC/14.16.27012/x86
|
||||||
WIN_UCRT_REDIST_DIR=$WINDOWSSDKDIR/Redist/10.0.19041.0/ucrt/DLLs/r86
|
|
||||||
|
|
||||||
# Build only Hydra
|
# Build only Hydra
|
||||||
ac_add_options --enable-application=basilisk
|
ac_add_options --enable-application=basilisk
|
||||||
|
|
@ -27,25 +26,23 @@ ac_add_options --disable-debug-js-modules
|
||||||
ac_add_options --disable-debug-symbols
|
ac_add_options --disable-debug-symbols
|
||||||
ac_add_options --disable-tests
|
ac_add_options --disable-tests
|
||||||
ac_add_options --enable-devtools
|
ac_add_options --enable-devtools
|
||||||
#ac_add_options --enable-install-strip
|
ac_add_options --disable-jemalloc
|
||||||
ac_add_options --enable-jemalloc
|
|
||||||
ac_add_options --enable-js-lto
|
ac_add_options --enable-js-lto
|
||||||
ac_add_options --enable-optimize="-O2 -Ob2ity -GS- -GFAT -Qpar -Qfast_transcendentals -openmp"
|
ac_add_options --enable-optimize="-O2 -Ob2ity- -GS- -GFAT -Qpar -Qfast_transcendentals -openmp -std:c++17 -D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS"
|
||||||
ac_add_options --enable-phoenix-extensions
|
ac_add_options --enable-phoenix-extensions
|
||||||
ac_add_options --enable-release
|
ac_add_options --enable-release
|
||||||
ac_add_options --enable-shared-js
|
ac_add_options --enable-shared-js
|
||||||
ac_add_options --enable-strip
|
ac_add_options --disable-strip
|
||||||
MOZ_OPTIMIZE=1
|
MOZ_OPTIMIZE=1
|
||||||
export MOZ_OPTIMIZE=1
|
export MOZ_OPTIMIZE=1
|
||||||
mk_add_options MOZ_OPTIMIZE=1
|
mk_add_options MOZ_OPTIMIZE=1
|
||||||
export MOZILLA_OFFICIAL=1
|
export MOZILLA_OFFICIAL=1
|
||||||
export STRIP_FLAGS="--strip-debug --strip-unneeded"
|
|
||||||
|
|
||||||
# Media settings
|
# Media settings
|
||||||
ac_add_options --enable-av1
|
ac_add_options --disable-av1
|
||||||
ac_add_options --enable-jxl
|
ac_add_options --enable-jxl
|
||||||
ac_add_options --enable-raw
|
ac_add_options --enable-raw
|
||||||
ac_add_options --enable-webrtc
|
ac_add_options --disable-webrtc
|
||||||
|
|
||||||
# Client settings
|
# Client settings
|
||||||
ac_add_options --disable-crashreporter
|
ac_add_options --disable-crashreporter
|
||||||
|
|
@ -70,9 +67,6 @@ ac_add_options OPT_LEVEL="3"
|
||||||
export MOZ_LTO=1
|
export MOZ_LTO=1
|
||||||
ac_add_options MOZ_LTO=1
|
ac_add_options MOZ_LTO=1
|
||||||
|
|
||||||
# Compiler and Linker flags
|
# Linker flags
|
||||||
export CFLAGS="-O2"
|
|
||||||
export CPPFLAGS="-O2"
|
|
||||||
export CXXFLAGS="-O2"
|
|
||||||
export 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 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 VERBOSE=1
|
export VERBOSE=1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue