1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

math/cbc: Enable parallel solver; add DEBUG option

PR:		263486
Original patch submitted by:	Wes Dyk <aus129@gmail.com>
This commit is contained in:
Yuri Victorovich 2022-04-23 09:42:22 -07:00
parent e3402d3770
commit 3987948088

View File

@ -1,6 +1,7 @@
PORTNAME= cbc
DISTVERSIONPREFIX= releases/
DISTVERSION= 2.10.7
PORTREVISION= 1
CATEGORIES= math
PKGNAMEPREFIX= coin-or-
@ -32,6 +33,15 @@ GH_PROJECT= Cbc
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-nauty-lib="-L${LOCALBASE}/lib -lnauty" --with-nauty-incdir=${LOCALBASE}/include/nauty
OPTIONS_DEFINE= DEBUG PARALLEL
OPTIONS_DEFAULT= PARALLEL
DEBUG_DESC= Compile CBC with debug support
DEBUG_CONFIGURE_ENABLE= debug
PARALLEL_DESC= Compile CBC with parallel (multi-threaded solver) support
PARALLEL_CONFIGURE_ENABLE= cbc-parallel
CONFLICTS_INSTALL= libcouchbase # bin/cbc
post-install: