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

Felix Yan felixonmars at gemini.archlinux.org
Tue Sep 21 22:48:48 UTC 2021


    Date: Tuesday, September 21, 2021 @ 22:48:48
  Author: felixonmars
Revision: 1021186

upgpkg: ghc 9.0.1-4: switch to llvm backend

Modified:
  ghc/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-21 22:35:23 UTC (rev 1021185)
+++ PKGBUILD	2021-09-21 22:48:48 UTC (rev 1021186)
@@ -12,13 +12,13 @@
 pkgbase=ghc
 pkgname=(ghc-libs ghc ghc-static)
 pkgver=9.0.1
-pkgrel=3
+pkgrel=4
 pkgdesc='The Glasgow Haskell Compiler'
 arch=('x86_64')
 url='https://www.haskell.org/ghc/'
 license=('custom')
 makedepends=('ghc-static' 'perl' 'libxslt' 'docbook-xsl' 'python-sphinx' 'haskell-hscolour'
-             'texlive-bin' 'texlive-latexextra' 'ttf-dejavu' 'alex' 'happy' 'time' 'numactl')
+             'texlive-bin' 'texlive-latexextra' 'ttf-dejavu' 'alex' 'happy' 'time' 'numactl' 'llvm')
 source=("https://downloads.haskell.org/~ghc/$pkgver/$pkgbase-${pkgver}-src.tar.xz"
         a02fbadaf59521b5f1af3f05b45933b245093531.patch
         ghc-rebuild-doc-index.hook ghc-register.hook ghc-unregister.hook)
@@ -41,7 +41,7 @@
   patch -p1 -i ../a02fbadaf59521b5f1af3f05b45933b245093531.patch
 
   cp mk/build.mk{.sample,}
-  sed -i '1iBuildFlavour = perf' mk/build.mk
+  sed -i '1iBuildFlavour = perf-llvm' mk/build.mk
 }
 
 build() {
@@ -74,7 +74,7 @@
 
 package_ghc() {
   pkgdesc='The Glasgow Haskell Compiler'
-  depends=('gcc' 'ghc-libs')
+  depends=('gcc' 'ghc-libs' 'llvm')
   provides=('haskell-haddock=2.24.0'
             'haskell-hp2ps=0.1'
             'haskell-hpc-bin=0.68'



More information about the arch-commits mailing list