freebsd-ports/math/hpipm/Makefile
Piotr Kubaj 15ba13897e 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
2019-10-16 15:37:20 +00:00

27 lines
467 B
Makefile

# $FreeBSD$
PORTNAME= hpipm
DISTVERSION= 0.1.0-80
DISTVERSIONSUFFIX= -g8679589
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= High-performance interior-point-method QP solvers
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= blasfeo>0:math/blasfeo
USES= cmake localbase
USE_GITHUB= yes
GH_ACCOUNT= giaf
.include <bsd.port.pre.mk>
.if ${ARCH} != amd64 && ${ARCH} != i386
CMAKE_ARGS+= -DAVX:BOOL=OFF
.endif
.include <bsd.port.post.mk>