From 5cbb28b98cb4a25abd3fe86e68029ab5b12309ec Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 30 Jan 2023 22:03:44 +0800 Subject: [PATCH] also disable haddock for i686: runs out of memory now like armv7hl Warning: GHC.IfaceToCore: could not find link destinations for: - GHC.IfaceToCore.mergeIfaceDecl Warning: GHC.Iface.Rename: could not find link destinations for: - GHC.Iface.Rename.ShIfM Warning: GHC.Types.Name.Shape: could not find link destinations for: - GHC.Types.Name.Shape.uAvailInfos haddock: out of memory (requested 1048576 bytes) Warning: GHC.Tc.Gen.Splice: could not find link --- ghc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc.spec b/ghc.spec index abe9b73..91d8004 100644 --- a/ghc.spec +++ b/ghc.spec @@ -33,7 +33,7 @@ %bcond ghc_prof 1 # https://gitlab.haskell.org/ghc/ghc/-/issues/19754 # https://github.com/haskell/haddock/issues/1384 -%ifnarch armv7hl +%ifnarch armv7hl %{ix86} %bcond haddock 1 %endif %if %{with hadrian}