* update coin-or-clp to 1.17.8-1

This commit is contained in:
Alexander Baldeck 2023-05-23 20:26:54 +02:00
parent 2356841b13
commit 90ebc110cd

View File

@ -4,8 +4,8 @@
# Contributor: Daniel Ehlers <danielehlers@mindeye.net>
pkgname=coin-or-clp
pkgver=1.17.7
pkgrel=3
pkgver=1.17.8
pkgrel=1
pkgdesc='COIN-OR linear programming solver'
arch=(x86_64 powerpc64le powerpc)
url='https://github.com/coin-or/Clp'
@ -13,15 +13,16 @@ license=(EPL)
groups=(coin-or)
depends=(coin-or-osi coin-or-asl suitesparse)
source=($pkgname-$pkgver.tar.gz::https://github.com/coin-or/Clp/archive/refs/tags/releases/$pkgver.tar.gz)
sha256sums=('c4c2c0e014220ce8b6294f3be0f3a595a37bef58a14bf9bac406016e9e73b0f5')
sha256sums=('f9931b5ba44f0daf445c6b48fc2c250dc12e667e59ace8ea7b025f158fe31556')
build() {
cd Clp-releases-$pkgver
./configure --prefix=/usr --build=${CHOST} \
./configure --prefix=/usr \
--with-cholmod-lib='-lcholmod' \
--with-cholmod-incdir=/usr/include \
--with-amd-lib='-lamd' \
--with-amd-incdir=/usr/include
--with-amd-incdir=/usr/include \
--build=${CHOST}
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # Fix overlinking
make
}