Skip to content

Commit

Permalink
math/SCIP: Add the ZIMPL option
Browse files Browse the repository at this point in the history
  • Loading branch information
yurivict committed Aug 1, 2021
1 parent 5652b67 commit 423f7e5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions math/SCIP/Makefile
Expand Up @@ -2,6 +2,7 @@

PORTNAME= SCIP
DISTVERSION= 7.0.3
PORTREVISION= 1
CATEGORIES= math science
MASTER_SITES= https://www.scipopt.org/download/release/
DISTNAME= ${PORTNAME:tl}-${DISTVERSION}
Expand All @@ -22,19 +23,23 @@ USES= compiler:c11 cmake readline tar:tgz
EXTRACT_CMD= gtar
USE_LDCONFIG= yes

CMAKE_OFF= PAPILO ZIMPL
CMAKE_OFF= PAPILO

CXXFLAGS+= -I${LOCALBASE}/include/soplex

OPTIONS_DEFINE= IPOPT
OPTIONS_DEFINE= IPOPT ZIMPL
OPTIONS_DEFAULT= IPOPT

IPOPT_DESC= Non-linear optimization support via Ipopt
IPOPT_USES= fortran pkgconfig
IPOPT_CMAKE_BOOL= IPOPT
IPOPT_LIB_DEPENDS= libblas.so:math/blas \
libipopt.so:math/ipopt \
liblapack.so:math/lapack

IPOPT_CMAKE_BOOL= IPOPT
ZIMPL_DESC= Build with Zimpl to translate LP models
ZIMPL_CMAKE_BOOL= ZIMPL
ZIMPL_LIB_DEPENDS= libzimpl.so:math/zimpl
ZIMPL_BROKEN= see https://github.com/scipopt/scip/issues/4

.include <bsd.port.mk>

0 comments on commit 423f7e5

Please sign in to comment.