Date: Wed, 16 Oct 2019 15:37:20 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r514603 - head/math/hpipm Message-ID: <201910161537.x9GFbKNU009686@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910161537.x9GFbKNU009686>