From: Ilias Tsitsimpis Date: Wed, 18 Oct 2023 19:50:19 +0000 (+0300) Subject: Enable GHCi on all platforms in Debian X-Git-Tag: archive/raspbian/9.4.7-2+rpi1~2^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=47eb5cddeb9af57600f8f9b65bc6fdcc515e8f83;p=ghc.git Enable GHCi on all platforms in Debian Bug: https://gitlab.haskell.org/ghc/ghc/-/issues/24098 Gbp-Pq: Name hadrian-enable-interpreter --- diff --git a/hadrian/src/Oracles/Setting.hs b/hadrian/src/Oracles/Setting.hs index b75977c2..4f171cb3 100644 --- a/hadrian/src/Oracles/Setting.hs +++ b/hadrian/src/Oracles/Setting.hs @@ -287,13 +287,8 @@ hostSupportsRPaths = anyHostOs ["linux", "darwin", "freebsd"] -- | Check whether the target supports GHCi. ghcWithInterpreter :: Action Bool ghcWithInterpreter = do - goodOs <- anyTargetOs [ "mingw32", "cygwin32", "linux", "solaris2" - , "freebsd", "dragonfly", "netbsd", "openbsd" - , "darwin", "kfreebsdgnu" ] - goodArch <- anyTargetArch [ "i386", "x86_64", "powerpc" - , "arm", "aarch64", "s390x" - , "powerpc64", "powerpc64le" ] - return $ goodOs && goodArch + -- Enable GHCi on all platforms for Debian + return True -- | Variants of the ARM architecture. data ArmVersion = ARMv5 | ARMv6 | ARMv7