commit: 8a42266d2f49c728e16c39c688a8eb8e633d4fb6
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 7 01:00:01 2020 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Oct 7 01:03:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a42266d
dev-lang/spidermonkey: enable SIMD in Rust code
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
dev-lang/spidermonkey/spidermonkey-78.3.1.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dev-lang/spidermonkey/spidermonkey-78.3.1.ebuild
b/dev-lang/spidermonkey/spidermonkey-78.3.1.ebuild
index beec6244426..a0ec34c118f 100644
--- a/dev-lang/spidermonkey/spidermonkey-78.3.1.ebuild
+++ b/dev-lang/spidermonkey/spidermonkey-78.3.1.ebuild
@@ -160,6 +160,10 @@ src_configure() {
$(use_enable test tests)
)
+ if ! use x86 && [[ ${CHOST} != armv*h* ]] ; then
+ myeconfargs+=( --enable-rust-simd )
+ fi
+
# Modifications to better support ARM, bug 717344
if use cpu_flags_arm_neon ; then
myeconfargs+=( --with-fpu=neon )