[arch-commits] Commit in haskell-linear/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sun Aug 21 07:25:03 UTC 2022


    Date: Sunday, August 21, 2022 @ 07:25:02
  Author: felixonmars
Revision: 1271644

upgpkg: haskell-linear 1.21.10-2: rebuild with ChasingBottoms 1.3.1.12

Modified:
  haskell-linear/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-21 07:24:53 UTC (rev 1271643)
+++ PKGBUILD	2022-08-21 07:25:02 UTC (rev 1271644)
@@ -3,7 +3,7 @@
 _hkgname=linear
 pkgname=haskell-linear
 pkgver=1.21.10
-pkgrel=1
+pkgrel=2
 pkgdesc="Linear Algebra"
 url="http://github.com/ekmett/linear/"
 license=("BSD")
@@ -27,13 +27,13 @@
   cd $_hkgname-$pkgver
 
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=haskell-linear --enable-tests \
-    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+    --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --datasubdir=haskell-linear --enable-tests \
+    --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm \
     --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
     --ghc-option='-pie' \
     -f-herbie -ftemplate-haskell
 
-  runhaskell Setup build
+  runhaskell Setup build $MAKEFLAGS
   runhaskell Setup register --gen-script
   runhaskell Setup unregister --gen-script
   sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
@@ -42,7 +42,7 @@
 
 check() {
   cd $_hkgname-$pkgver
-  runhaskell Setup test
+  runhaskell Setup test --show-details=direct
 }
 
 package() {



More information about the arch-commits mailing list