chmeeedalf / gecko-dev

POWER-targeted JIT fork of Mozilla.
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Introduction
Other
11 stars 1 forks source link

patches for 128ESR #5

Open classilla opened 2 months ago

classilla commented 2 months ago

Apply in order. Includes LTO-PGO and webrtc patches, plus a provisional fix for bug 1912623. Does not yet support Ion or Wasm (Baseline Compiler and Baseline Interpreter only).

.mozconfig for browser:

export CC=/usr/bin/gcc
export CXX=/usr/bin/g++

mk_add_options MOZ_MAKE_FLAGS="-j24"
ac_add_options --enable-application=browser
ac_add_options --enable-optimize="-O3 -mcpu=power9 -fpermissive"
ac_add_options --enable-release
ac_add_options --enable-linker=bfd
ac_add_options --enable-lto=full
ac_add_options --enable-jit
ac_add_options --without-wasm-sandboxed-libraries
ac_add_options --with-libclang-path=/usr/lib64
ac_add_options MOZ_PGO=1

export GN=/home/censored/bin/gn # if you haz
export RUSTC_OPT_LEVEL=2

.mozconfig for JS shell only (this builds a debug shell for development purposes):

export CC=/usr/bin/gcc
export CXX=/usr/bin/g++

mk_add_options MOZ_MAKE_FLAGS="-j24"
ac_add_options --enable-optimize="-Og -mcpu=power9 -fpermissive -DXXH_NO_INLINE_HINTS=1"
ac_add_options --enable-debug
ac_add_options --enable-application=js
ac_add_options --enable-jit
ac_add_options --enable-linker=bfd
ac_add_options --with-libclang-path="/usr/lib64/"

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj

esrpatches.zip

kth5 commented 1 day ago

These do not seem to apply to >=128.3.0esr anymore. :(