math/gravity: Update 1.1.20210825 -> 1.1.20220309

This also removes dependency on gcc files.

Reported by:	Gerald Pfeifer <gerald@pfeifer.com> (gcc dependency)
This commit is contained in:
Yuri Victorovich 2022-03-12 00:48:04 -08:00
parent 13c14ac7ec
commit 953b6c4b1d
2 changed files with 6 additions and 10 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= gravity
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.20210825
DISTVERSION= 1.1.20220309
CATEGORIES= math
PKGNAMEPREFIX= coin-or-
@ -10,8 +10,7 @@ COMMENT= Mathematical modeling for optimization and machine learning
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/include/boost/graph/adjacency_list.hpp:devel/boost-libs \
gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} # not sure why does it need gcc, maybe for libquadmath.so
BUILD_DEPENDS= ${LOCALBASE}/include/boost/graph/adjacency_list.hpp:devel/boost-libs
LIB_DEPENDS= libblas.so:math/blas \
libCbc.so:math/cbc \
libCgl.so:math/cgl \
@ -19,22 +18,19 @@ LIB_DEPENDS= libblas.so:math/blas \
libcoinasl.so:math/asl \
liblapack.so:math/lapack \
libopenblas.so:math/openblas
RUN_DEPENDS= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT}
USES= cmake compiler:c++11-lang eigen:3 localbase:ldflags pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= coin-or
GH_PROJECT= Gravity
GH_TAGNAME= e500e78
GH_TAGNAME= 47ac86a
CMAKE_ARGS+= -DIPOPT_ROOT_DIR=${LOCALBASE}
CMAKE_ON= Boost
CMAKE_OFF= MP
CMAKE_OFF+= Ipopt CoinUtils # fails to find Ipopt and CoinUtils for some reason
LDFLAGS+= -L${LOCALBASE}/lib/gcc${GCC_DEFAULT}
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_EXAMPLES:BOOL=ON ${CMAKE_SOURCE_PATH} && \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1645717844
SHA256 (coin-or-Gravity-v1.1.20210825-e500e78_GH0.tar.gz) = 89a6166d1f0a1ae407e9027f4032b9d054c14ea793a396529ca2a32ae6ce8419
SIZE (coin-or-Gravity-v1.1.20210825-e500e78_GH0.tar.gz) = 16886810
TIMESTAMP = 1647073695
SHA256 (coin-or-Gravity-v1.1.20220309-47ac86a_GH0.tar.gz) = 8f68daa13eeac8d1d1bba4f54ea5cb0d683c603b2a0561ab4c8a905d5b6ff833
SIZE (coin-or-Gravity-v1.1.20220309-47ac86a_GH0.tar.gz) = 17014869