* update coin-or-cbc to 2.10.11-1

This commit is contained in:
Alexander Baldeck 2023-12-15 08:34:08 +01:00
parent b3b1d40ad5
commit b1ac22ff48

View File

@ -4,25 +4,29 @@
# Contributor: Daniel Ehlers <danielehlers@mindeye.net>
pkgname=coin-or-cbc
pkgver=2.10.10
pkgver=2.10.11
pkgrel=1
pkgdesc='COIN-OR branch-and-cut mixed integer programming solver'
arch=(x86_64 powerpc64le powerpc riscv64)
url='https://github.com/coin-or/Cbc'
license=(EPL)
groups=(coin-or)
depends=(coin-or-cgl)
depends=(coin-or-asl
coin-or-cgl
coin-or-clp
coin-or-coinutils
coin-or-osi
glibc
gcc-libs)
makedepends=(nauty)
source=($pkgname-$pkgver.tar.gz::https://github.com/coin-or/Cbc/archive/refs/tags/releases/$pkgver.tar.gz)
sha256sums=('f394efecccc40a51bf79fba2c2af0bc92561f3e6b8b6e4c6e36d5e70986f734f')
sha256sums=('1fb591dd88336fdaf096b8e42e46111e41671a5eb85d4ee36e45baff1678bd33')
build() {
cd Cbc-releases-$pkgver
./configure --prefix=/usr \
./configure --prefix=/usr --build=${CHOST} \
--enable-cbc-parallel \
--with-nauty-lib=/usr/lib/libnauty.a \
--with-nauty-incdir=/usr/include/nauty \
--build=${CHOST}
--with-nauty-lib=/usr/lib/libnauty.a --with-nauty-incdir=/usr/include/nauty
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}