svn commit: r514603 - head/math/hpipm

Piotr Kubaj pkubaj at FreeBSD.org
Wed Oct 16 15:37:20 UTC 2019


Author: pkubaj
Date: Wed Oct 16 15:37:20 2019
New Revision: 514603
URL: https://svnweb.freebsd.org/changeset/ports/514603

Log:
  math/hpipm: fix build on non-x86
  
  Don't enable AVX on non-x86.
  
  PR:		241242
  Approved by:	yuri (maintainer), linimon (mentor)
  Differential Revision:	https://reviews.freebsd.org/D22024

Modified:
  head/math/hpipm/Makefile

Modified: head/math/hpipm/Makefile
==============================================================================
--- head/math/hpipm/Makefile	Wed Oct 16 15:35:58 2019	(r514602)
+++ head/math/hpipm/Makefile	Wed Oct 16 15:37:20 2019	(r514603)
@@ -17,4 +17,10 @@ USES=		cmake localbase
 USE_GITHUB=	yes
 GH_ACCOUNT=	giaf
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != amd64 && ${ARCH} != i386
+CMAKE_ARGS+=	-DAVX:BOOL=OFF
+.endif
+
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list