Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/spidermonkey/
Date: Wed, 07 Oct 2020 01:03:42
Message-Id: 1602032612.8a42266d2f49c728e16c39c688a8eb8e633d4fb6.whissi@gentoo
1 commit: 8a42266d2f49c728e16c39c688a8eb8e633d4fb6
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 7 01:00:01 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 7 01:03:32 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a42266d
7
8 dev-lang/spidermonkey: enable SIMD in Rust code
9
10 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
11
12 dev-lang/spidermonkey/spidermonkey-78.3.1.ebuild | 4 ++++
13 1 file changed, 4 insertions(+)
14
15 diff --git a/dev-lang/spidermonkey/spidermonkey-78.3.1.ebuild b/dev-lang/spidermonkey/spidermonkey-78.3.1.ebuild
16 index beec6244426..a0ec34c118f 100644
17 --- a/dev-lang/spidermonkey/spidermonkey-78.3.1.ebuild
18 +++ b/dev-lang/spidermonkey/spidermonkey-78.3.1.ebuild
19 @@ -160,6 +160,10 @@ src_configure() {
20 $(use_enable test tests)
21 )
22
23 + if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
24 + myeconfargs+=( --enable-rust-simd )
25 + fi
26 +
27 # Modifications to better support ARM, bug 717344
28 if use cpu_flags_arm_neon ; then
29 myeconfargs+=( --with-fpu=neon )