* update coin-or-cbc to 2.10.12-2
This commit is contained in:
parent
a42eadb1fd
commit
fca1f00d0b
24
coin-or-cbc/.SRCINFO
Normal file
24
coin-or-cbc/.SRCINFO
Normal file
@ -0,0 +1,24 @@
|
||||
pkgbase = coin-or-cbc
|
||||
pkgdesc = COIN-OR branch-and-cut mixed integer programming solver
|
||||
pkgver = 2.10.12
|
||||
pkgrel = 2
|
||||
url = https://github.com/coin-or/Cbc
|
||||
arch = x86_64
|
||||
arch = powerpc64le
|
||||
arch = powerpc
|
||||
arch = riscv64
|
||||
groups = coin-or
|
||||
license = EPL-2.0
|
||||
makedepends = git
|
||||
depends = coin-or-asl
|
||||
depends = coin-or-cgl
|
||||
depends = coin-or-clp
|
||||
depends = coin-or-coinutils
|
||||
depends = coin-or-osi
|
||||
depends = glibc
|
||||
depends = gcc-libs
|
||||
depends = nauty
|
||||
source = git+https://github.com/coin-or/Cbc#tag=releases/2.10.12
|
||||
sha256sums = 36ce629474dd1c7bfff0e12c1a405d8046f6f794cdb403a94e9b3aeb09b8ccfa
|
||||
|
||||
pkgname = coin-or-cbc
|
6
coin-or-cbc/.nvchecker.toml
Normal file
6
coin-or-cbc/.nvchecker.toml
Normal file
@ -0,0 +1,6 @@
|
||||
[coin-or-cbc]
|
||||
source = 'github'
|
||||
github = 'coin-or/Cbc'
|
||||
use_max_tag = true
|
||||
include_regex = 'releases/.*'
|
||||
prefix = 'releases/'
|
@ -4,12 +4,12 @@
|
||||
# Contributor: Daniel Ehlers <danielehlers@mindeye.net>
|
||||
|
||||
pkgname=coin-or-cbc
|
||||
pkgver=2.10.11
|
||||
pkgrel=1.1
|
||||
pkgver=2.10.12
|
||||
pkgrel=2
|
||||
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)
|
||||
license=(EPL-2.0)
|
||||
groups=(coin-or)
|
||||
depends=(coin-or-asl
|
||||
coin-or-cgl
|
||||
@ -17,27 +17,29 @@ depends=(coin-or-asl
|
||||
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=('1fb591dd88336fdaf096b8e42e46111e41671a5eb85d4ee36e45baff1678bd33')
|
||||
gcc-libs
|
||||
nauty)
|
||||
makedepends=(git)
|
||||
source=(git+https://github.com/coin-or/Cbc#tag=releases/$pkgver)
|
||||
sha256sums=('36ce629474dd1c7bfff0e12c1a405d8046f6f794cdb403a94e9b3aeb09b8ccfa')
|
||||
|
||||
build() {
|
||||
cd Cbc-releases-$pkgver
|
||||
./configure --prefix=/usr --build=${CHOST} \
|
||||
cd Cbc
|
||||
CFLAGS+=" -Wno-implicit-function-declaration" \
|
||||
./configure --prefix=/usr \
|
||||
--enable-cbc-parallel \
|
||||
--with-nauty-lib=/usr/lib/libnauty.a --with-nauty-incdir=/usr/include/nauty
|
||||
--with-nauty-lib=-lnauty --with-nauty-incdir=/usr/include/nauty
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd Cbc-releases-$pkgver/Cbc
|
||||
cd Cbc
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd Cbc-releases-$pkgver
|
||||
cd Cbc
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
# Remove nauty from linker flags in pc file, it is statically compiled
|
||||
|
Loading…
x
Reference in New Issue
Block a user