[arch-commits] Commit in coin-or-clp/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Wed Jan 12 08:14:27 UTC 2022


    Date: Wednesday, January 12, 2022 @ 08:14:27
  Author: arojas
Revision: 1101506

Enable AMD and ASL support

Modified:
  coin-or-clp/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-12 08:08:15 UTC (rev 1101505)
+++ PKGBUILD	2022-01-12 08:14:27 UTC (rev 1101506)
@@ -10,7 +10,7 @@
 url='https://github.com/coin-or/Clp'
 license=(EPL)
 groups=(coin-or)
-depends=(coin-or-osi suitesparse)
+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')
 
@@ -18,7 +18,9 @@
   cd Clp-releases-$pkgver
   ./configure --prefix=/usr \
               --with-cholmod-lib='-lcholmod' \
-              --with-cholmod-incdir=/usr/include
+              --with-cholmod-incdir=/usr/include \
+              --with-amd-lib='-lamd' \
+              --with-amd-incdir=/usr/include
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool # Fix overlinking
   make
 }



More information about the arch-commits mailing list