mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
50 lines
1.9 KiB
Tcl
50 lines
1.9 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup github 1.0
|
|
|
|
name coinor-cbc
|
|
version 2.10.11
|
|
revision 0
|
|
categories math
|
|
|
|
github.setup coin-or cbc ${version} releases/
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
|
|
checksums rmd160 98972ddd7a1d7a24ba3c591592e7411104fc88aa \
|
|
sha256 ea47ca1b87597e6099166a386112737f2ae545baf763efc29f4097d0bbcd9a8e \
|
|
size 1680448
|
|
|
|
maintainers {@flyingsamson tuxcad.de:flyingsamson} openmaintainer
|
|
description An LP-based branch-and-cut library
|
|
long_description CBC is an open-source MILP solver. It uses many of the COIN-OR components \
|
|
and is designed to be used with CLP. It is available as a library and \
|
|
as a standalone solver.
|
|
license EPL-2
|
|
|
|
homepage https://github.com/coin-or/cbc
|
|
|
|
depends_build-append port:pkgconfig
|
|
depends_lib-append port:asl \
|
|
port:coinor-coinutils \
|
|
port:coinor-osi \
|
|
port:coinor-clp \
|
|
port:coinor-cgl \
|
|
port:glpk \
|
|
port:mumps \
|
|
port:readline
|
|
|
|
patchfiles wimplicit-function-declaration.diff
|
|
|
|
configure.env-append PKG_CONFIG_PATH=${prefix}/lib/pkgconfig \
|
|
PKG_CONFIG=${prefix}/bin/pkg-config
|
|
|
|
variant openblas description {compile with OpenBLAS support} {
|
|
depends_lib-append path:lib/libopenblas.dylib:OpenBLAS
|
|
pre-configure {
|
|
configure.args-append --with-blas-lib="-L${prefix}/lib -lopenblas -llapack"
|
|
}
|
|
}
|
|
default_variants +openblas
|