15ba13897e
Don't enable AVX on non-x86. PR: 241242 Approved by: yuri (maintainer), linimon (mentor) Differential Revision: https://reviews.freebsd.org/D22024
27 lines
467 B
Makefile
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>
|