ports/math/scs/Makefile
Yuri Victorovich 9816102490 math/{,py-}scs: update 3.2.7 → 3.2.9
Reported by:	portscout
2025-10-13 01:45:15 -07:00

32 lines
670 B
Makefile

PORTNAME= scs
DISTVERSION= 3.2.9
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Solver of convex cone problems via operator splitting
WWW= https://github.com/cvxgrp/scs
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= gmake blaslapack:openblas fortran # fortran is for openblas
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= cvxgrp
MAKE_ARGS= BLASLDFLAGS="-lopenblas"
ALL_TARGET= default
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
do-test:
cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} out/demo_socp_indirect && \
out/demo_socp_indirect 50 0.3 0.3 50 && \
${ECHO} "Test succeeded"
.include <bsd.port.mk>