summaryrefslogtreecommitdiff
path: root/waterfox/1003_gentoo_specific_pgo.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-01-15 11:59:22 -0500
committerB Stack <bgstack15@gmail.com>2019-01-15 11:59:22 -0500
commit93ec193d01debd136ee7bc0563f77afe3ed22d4e (patch)
treef6be51ea7be86ec05f9ea5bbd5ee212a9b0e36c2 /waterfox/1003_gentoo_specific_pgo.patch
parentMerge branch 'waterfox-bump' into 'master' (diff)
downloadstackrpms-93ec193d01debd136ee7bc0563f77afe3ed22d4e.tar.gz
stackrpms-93ec193d01debd136ee7bc0563f77afe3ed22d4e.tar.bz2
stackrpms-93ec193d01debd136ee7bc0563f77afe3ed22d4e.zip
waterfox ingest PGO fixes from chinfo
Diffstat (limited to 'waterfox/1003_gentoo_specific_pgo.patch')
-rw-r--r--waterfox/1003_gentoo_specific_pgo.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/waterfox/1003_gentoo_specific_pgo.patch b/waterfox/1003_gentoo_specific_pgo.patch
new file mode 100644
index 0000000..88e4b69
--- /dev/null
+++ b/waterfox/1003_gentoo_specific_pgo.patch
@@ -0,0 +1,31 @@
+From: Daniel Rammelt <d.rammelt@icloud.com>
+
+Add missing pgo-profile-run due to tests being disabled
+
+Patch modified for newer version by Andrew A. Savchenko <bircoph@gentoo.org>
+
+https://bugs.gentoo.org/show_bug.cgi?id=499650
+
+diff --git a/Makefile.in b/Makefile.in
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -50,16 +50,19 @@ ifndef MOZ_PROFILE_USE
+ ifndef JS_STANDALONE
+ ifdef COMPILE_ENVIRONMENT
+ $(TIERS) binaries:: $(topsrcdir)/js/src/configure js/src/config.status
+ endif
+ endif
+ endif
+ endif
+
++pgo-profile-run:
++ $(PYTHON) $(topsrcdir)/build/pgo/profileserver.py $(EXTRA_TEST_ARGS)
++
+ ifdef JS_STANDALONE
+ .PHONY: CLOBBER
+ CLOBBER:
+ else
+ CLOBBER: $(topsrcdir)/CLOBBER
+ @echo 'STOP! The CLOBBER file has changed.'
+ @echo 'Please run the build through a sanctioned build wrapper, such as'
+ @echo '"mach build" or client.mk.'
bgstack15