mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
math/ecos: Update 2.0.6 -> 2.0.7
Port changes: * Add the 'test' target * Add the 'demos' target that runs the supplied demo problems * Add to description * Update WWW Reported by: portscout
This commit is contained in:
parent
756e517ee2
commit
92c37d00e9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485253
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ecos
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.0.6
|
||||
DISTVERSION= 2.0.7
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
@ -14,12 +13,28 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
USES= gmake
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= embotech
|
||||
ALL_TARGET= shared
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
ALL_TARGET= shared
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/include/ecos
|
||||
${INSTALL_DATA} ${WRKSRC}/include/*.h ${STAGEDIR}${PREFIX}/include/ecos
|
||||
${INSTALL_LIB} ${WRKSRC}/libecos.so ${STAGEDIR}${PREFIX}/lib
|
||||
|
||||
do-test: # some tests are known to fail: https://github.com/embotech/ecos/issues/170
|
||||
@cd ${WRKSRC} && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE_CMD} test && \
|
||||
${ECHO} "===> Running ${PORTNAME} tests: ecostester" && \
|
||||
(./ecostester || true) && \
|
||||
${ECHO} "===> Running ${PORTNAME} tests: ecos_bb_test" && \
|
||||
./ecos_bb_test
|
||||
|
||||
demos: build # runs the demo problems
|
||||
@cd ${WRKSRC} && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE_CMD} demo && \
|
||||
./runecos && \
|
||||
${SETENV} ${MAKE_ENV} ${MAKE_CMD} runecosexp && \
|
||||
./runecosexp
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1528436129
|
||||
SHA256 (embotech-ecos-v2.0.6_GH0.tar.gz) = ffc4b44e813a5c68abd464b638d216f09385d9b6e40cf487ac384289e6a27988
|
||||
SIZE (embotech-ecos-v2.0.6_GH0.tar.gz) = 1266378
|
||||
TIMESTAMP = 1542565003
|
||||
SHA256 (embotech-ecos-2.0.7_GH0.tar.gz) = bdb6a84f7d150820459bd0a796cb64ffbb019afb95dc456d22acc2dafb2e70e0
|
||||
SIZE (embotech-ecos-2.0.7_GH0.tar.gz) = 1277355
|
||||
|
@ -7,4 +7,7 @@ s.t. A*x = b
|
||||
|
||||
where the last inequality is generalized, i.e. h - G*x belongs to the cone K.
|
||||
|
||||
WWW: https://github.com/embotech/ecos
|
||||
Convex optimization is used in fields as diverse as control and estimation,
|
||||
finance, signal processing and image reconstruction.
|
||||
|
||||
WWW: https://www.embotech.com/ECOS
|
||||
|
Loading…
Reference in New Issue
Block a user