Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
coin-or-cbc
Commits:
a6923664 by Antonio Rojas at 2024-08-25T17:58:20+02:00
upgpkg: 2.10.12-2: Rebuild with shared nauty
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,13 +1,12 @@
pkgbase = coin-or-cbc
pkgdesc = COIN-OR branch-and-cut mixed integer programming solver
pkgver = 2.10.12
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/coin-or/Cbc
arch = x86_64
groups = coin-or
license = EPL-2.0
makedepends = git
- makedepends = nauty
depends = coin-or-asl
depends = coin-or-cgl
depends = coin-or-clp
@@ -15,6 +14,7 @@ pkgbase = coin-or-cbc
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
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
pkgname=coin-or-cbc
pkgver=2.10.12
-pkgrel=1
+pkgrel=2
pkgdesc='COIN-OR branch-and-cut mixed integer programming solver'
arch=(x86_64)
url='https://github.com/coin-or/Cbc'
@@ -16,9 +16,9 @@ depends=(coin-or-asl
coin-or-coinutils
coin-or-osi
glibc
- gcc-libs)
-makedepends=(git
- nauty)
+ gcc-libs
+ nauty)
+makedepends=(git)
source=(git+https://github.com/coin-or/Cbc#tag=releases/$pkgver)
sha256sums=('36ce629474dd1c7bfff0e12c1a405d8046f6f794cdb403a94e9b3aeb09b8ccfa')
@@ -27,7 +27,7 @@ build() {
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
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/coin-or-cbc/-/commit/a692366466795a221ed52e5554486f8c2fa65c0c
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/coin-or-cbc/-/commit/a692366466795a221ed52e5554486f8c2fa65c0c
You're receiving this email because of your account on gitlab.archlinux.org.