summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatoro <matoro@users.noreply.github.com>2022-08-26 17:04:40 -0400
committerSam James <sam@gentoo.org>2022-08-31 22:29:22 +0100
commite462d9dee8c09f034b684340369734265512dd62 (patch)
treee480aded22e3786d6df09edd80ab8acb20c3c099
parentdev-haskell/haskell-lexer: keyword 1.1 for ~arm64 (diff)
downloadgentoo-e462d9dee8c09f034b684340369734265512dd62.tar.gz
gentoo-e462d9dee8c09f034b684340369734265512dd62.tar.bz2
gentoo-e462d9dee8c09f034b684340369734265512dd62.zip
dev-haskell/happy: keyword 1.19.12 for ~arm64
Thanks-to: Marcus Comstedt <marcus@mc.pp.se> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-haskell/happy/happy-1.19.12.ebuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/dev-haskell/happy/happy-1.19.12.ebuild b/dev-haskell/happy/happy-1.19.12.ebuild
index 4765071b102d..fdc9808860f2 100644
--- a/dev-haskell/happy/happy-1.19.12.ebuild
+++ b/dev-haskell/happy/happy-1.19.12.ebuild
@@ -15,11 +15,22 @@ SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
IUSE="doc"
+# Re: LLVM blocker - ghc-9.0.2 generates IR that crashes LLVM opt
+# for two test cases. Unsure yet if this is a bug in the GHC LLVM
+# backend or in LLVM itself. Tracked in
+# https://github.com/llvm/llvm-project/issues/57393
+#
+# Must be in RDEPEND or pkgcheck complains about MisplaceWeakBlocker.
+# Although in theory it's possible to enable USE=llvm on an arch with
+# native codegen, there is no reason to do so, so in practice this should
+# block USE=test exclusively on arches that support registerised GHC
+# through the LLVM backend only.
RDEPEND=">=dev-haskell/mtl-2.2.1:=
>=dev-lang/ghc-7.4.1:=
+ test? ( !dev-lang/ghc[llvm(-)] )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8