* update coin-or-cbc to 2.10.10-1

This commit is contained in:
Alexander Baldeck 2023-05-23 20:42:23 +02:00
parent 1cb1b052a1
commit 03f2d26403

View File

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