commit:     3b3ea93c5330aa4ef1bdcd1344846a2f9f9c2bfd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 18 19:18:39 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 18 19:19:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b3ea93c

www-client/firefox: set MOZ_PKG_FORMAT=tar to save time w/ PGO

Avoid compressing just-built instrumented Firefox with high levels of
compression.

Just use tar as a container to save >=10 minutes.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-client/firefox/firefox-140.0.4.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/www-client/firefox/firefox-140.0.4.ebuild 
b/www-client/firefox/firefox-140.0.4.ebuild
index 3a8f1f226e39..af10d96d3d73 100644
--- a/www-client/firefox/firefox-140.0.4.ebuild
+++ b/www-client/firefox/firefox-140.0.4.ebuild
@@ -980,6 +980,11 @@ src_configure() {
        if use pgo ; then
                mozconfig_add_options_ac '+pgo' MOZ_PGO=1
 
+               # Avoid compressing just-built instrumented Firefox with
+               # high levels of compression. Just use tar as a container
+               # to save >=10 minutes.
+               export MOZ_PKG_FORMAT=tar
+
                if use clang ; then
                        # Used in build/pgo/profileserver.py
                        export LLVM_PROFDATA="llvm-profdata"

Reply via email to