From e462d9dee8c09f034b684340369734265512dd62 Mon Sep 17 00:00:00 2001 From: matoro Date: Fri, 26 Aug 2022 17:04:40 -0400 Subject: dev-haskell/happy: keyword 1.19.12 for ~arm64 Thanks-to: Marcus Comstedt Signed-off-by: Sam James --- dev-haskell/happy/happy-1.19.12.ebuild | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-65-gdbad