Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/
Date: Sun, 10 Feb 2019 21:50:26
Message-Id: 1549835396.da3675965824a307cd16ffc48193929ba8125d98.whissi@gentoo
1 commit: da3675965824a307cd16ffc48193929ba8125d98
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 10 00:50:26 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 10 21:49:56 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da367596
7
8 www-client/firefox: USE=pgo when using GCC will require AVX2 support
9
10 Bug: https://bugs.gentoo.org/677052
11 Package-Manager: Portage-2.3.59, Repoman-2.3.12
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 www-client/firefox/firefox-65.0-r1.ebuild | 14 ++++++++++----
15 1 file changed, 10 insertions(+), 4 deletions(-)
16
17 diff --git a/www-client/firefox/firefox-65.0-r1.ebuild b/www-client/firefox/firefox-65.0-r1.ebuild
18 index 68ba5674066..3496160e8ff 100644
19 --- a/www-client/firefox/firefox-65.0-r1.ebuild
20 +++ b/www-client/firefox/firefox-65.0-r1.ebuild
21 @@ -41,9 +41,10 @@ KEYWORDS="~amd64 ~x86"
22
23 SLOT="0"
24 LICENSE="MPL-2.0 GPL-2 LGPL-2.1"
25 -IUSE="bindist clang dbus debug eme-free geckodriver +gmp-autoupdate hardened hwaccel
26 - jack lto neon pgo pulseaudio +screenshot selinux startup-notification
27 - +system-harfbuzz +system-icu +system-jpeg +system-libevent +system-sqlite
28 +IUSE="bindist clang cpu_flags_x86_avx2 dbus debug eme-free geckodriver
29 + +gmp-autoupdate hardened hwaccel jack lto neon pgo pulseaudio
30 + +screenshot selinux startup-notification +system-harfbuzz
31 + +system-icu +system-jpeg +system-libevent +system-sqlite
32 +system-libvpx +system-webp test wayland wifi"
33 RESTRICT="!bindist? ( bindist )"
34
35 @@ -123,8 +124,13 @@ DEPEND="${CDEPEND}
36 amd64? ( >=dev-lang/yasm-1.1 virtual/opengl )
37 x86? ( >=dev-lang/yasm-1.1 virtual/opengl )"
38
39 +# Due to a bug in GCC, profile guided optimization will produce
40 +# AVX2 instructions, bug #677052
41 REQUIRED_USE="wifi? ( dbus )
42 - pgo? ( lto )"
43 + pgo? (
44 + lto
45 + !clang? ( cpu_flags_x86_avx2 )
46 + )"
47
48 S="${WORKDIR}/firefox-${PV%_*}"