commit:     518b510c03c698cc93277e9add22a49ed3f98544
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  9 17:22:06 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun  9 23:09:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=518b510c

dev-python/pypy3: Remove ~x86 (broken) from 5.7+

 dev-python/pypy3/pypy3-5.7.1-r2.ebuild | 26 +++-----------------------
 1 file changed, 3 insertions(+), 23 deletions(-)

diff --git a/dev-python/pypy3/pypy3-5.7.1-r2.ebuild 
b/dev-python/pypy3/pypy3-5.7.1-r2.ebuild
index e61103af45b..52a451c5e18 100644
--- a/dev-python/pypy3/pypy3-5.7.1-r2.ebuild
+++ b/dev-python/pypy3/pypy3-5.7.1-r2.ebuild
@@ -16,8 +16,8 @@ 
SRC_URI="https://bitbucket.org/pypy/pypy/downloads/${MY_P}-src.tar.bz2";
 LICENSE="MIT"
 # XX from pypy3-XX.so module suffix
 SLOT="0/57"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="bzip2 gdbm +jit libressl low-memory ncurses sandbox sqlite 
cpu_flags_x86_sse2 tk"
+KEYWORDS="~amd64 ~amd64-linux"
+IUSE="bzip2 gdbm +jit libressl low-memory ncurses sandbox sqlite tk"
 
 RDEPEND=">=sys-libs/zlib-1.1.3:0=
        virtual/libffi:0=
@@ -97,32 +97,12 @@ src_prepare() {
 src_configure() {
        tc-export CC
 
-       local jit_backend
-       if use jit; then
-               jit_backend='--jit-backend='
-
-               # We only need the explicit sse2 switch for x86.
-               # On other arches we can rely on autodetection which uses
-               # compiler macros. Plus, --jit-backend= doesn't accept all
-               # the modern values...
-
-               if use x86; then
-                       if use cpu_flags_x86_sse2; then
-                               jit_backend+=x86
-                       else
-                               jit_backend+=x86-without-sse2
-                       fi
-               else
-                       jit_backend+=auto
-               fi
-       fi
-
        local args=(
                --shared
                $(usex jit -Ojit -O2)
                $(usex sandbox --sandbox '')
 
-               ${jit_backend}
+               --jit_backend=auto
 
                pypy/goal/targetpypystandalone
        )

Reply via email to