Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patches for 115ESR #4

Open
classilla opened this issue Sep 17, 2023 · 1 comment
Open

patches for 115ESR #4

classilla opened this issue Sep 17, 2023 · 1 comment

Comments

@classilla
Copy link
Collaborator

Apply in order. Includes LTO-PGO and webrtc patches. 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 MOZ_PGO=1

export GN=/home/censored/bin/gn # if you have it
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

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj

patches.zip

@classilla
Copy link
Collaborator Author

Updated set, includes baseline Wasm and full JS Ion. Does not work on POWER8, does not yet enable optimizing Wasm.
patches.zip

dhendrix added a commit to dhendrix/firefox-build-and-run that referenced this issue Nov 13, 2023
This replaces the current patches with those from
chmeeedalf/gecko-dev#4
dhendrix added a commit to dhendrix/firefox-build-and-run that referenced this issue Dec 9, 2023
This uses the latest round of patches from
chmeeedalf/gecko-dev#4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant