pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/deepstate deepstate: approximately x86_64-only, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/77dfbcdfa24f
branches:  trunk
changeset: 453488:77dfbcdfa24f
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 30 12:17:48 2021 +0000

description:
deepstate: approximately x86_64-only, but do our best anyway

diffstat:

 devel/deepstate/Makefile.common |  14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r c4a3e0646c7f -r 77dfbcdfa24f devel/deepstate/Makefile.common
--- a/devel/deepstate/Makefile.common   Sun May 30 12:12:29 2021 +0000
+++ b/devel/deepstate/Makefile.common   Sun May 30 12:17:48 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2020/09/29 03:17:19 khorben Exp $
+# $NetBSD: Makefile.common,v 1.3 2021/05/30 12:17:48 nia Exp $
 #
 # used by devel/deepstate/Makefile
 # used by devel/deepstate-afl/Makefile
@@ -19,3 +19,15 @@
 LICENSE=       apache-2.0
 
 DISTINFO_FILE= ${.CURDIR}/../../devel/deepstate/distinfo
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+# Wants to build 32-bit binaries with -m32, which is unsupported on
+# NetBSD/aarch64.
+BROKEN_EXCEPT_ON_PLATFORM=     ${LP64PLATFORMS}
+BROKEN_ON_PLATFORM+=           NetBSD-*-aarch64
+BROKEN_ON_PLATFORM+=           NetBSD-*-aarch64eb
+
+.if ${MACHINE_ARCH} != "x86_64"
+BUILDLINK_TRANSFORM+=  rm:-mno-avx
+.endif



Home | Main Index | Thread Index | Old Index