git: 398794808864 - main - math/cbc: Enable parallel solver; add DEBUG option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Apr 2022 16:45:08 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=398794808864948a1969acce9bf189ea7b88a693 commit 398794808864948a1969acce9bf189ea7b88a693 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-04-23 16:42:22 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-04-23 16:45:05 +0000 math/cbc: Enable parallel solver; add DEBUG option PR: 263486 Original patch submitted by: Wes Dyk <aus129@gmail.com> --- math/cbc/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/math/cbc/Makefile b/math/cbc/Makefile index 19b1b4dde0ea..1c215d7be646 100644 --- a/math/cbc/Makefile +++ b/math/cbc/Makefile @@ -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: