Commit 2bbfaf8a authored by Ben Gamari's avatar Ben Gamari 🐢 Committed by Marge Bot

hadrian: AArch64 supports the GHCi interpreter and SMP

I'm not sure how this was omitted from the list of supported
architectures.
parent 7a5a6e07
...@@ -64,7 +64,7 @@ targetSupportsSMP :: Action Bool ...@@ -64,7 +64,7 @@ targetSupportsSMP :: Action Bool
targetSupportsSMP = do targetSupportsSMP = do
unreg <- flag GhcUnregisterised unreg <- flag GhcUnregisterised
armVer <- targetArmVersion armVer <- targetArmVersion
goodArch <- anyTargetArch ["i386", "x86_64", "sparc", "powerpc", "arm", "s390x"] goodArch <- anyTargetArch ["i386", "x86_64", "sparc", "powerpc", "arm", "aarch64", "s390x"]
if -- The THREADED_RTS requires `BaseReg` to be in a register and the if -- The THREADED_RTS requires `BaseReg` to be in a register and the
-- Unregisterised mode doesn't allow that. -- Unregisterised mode doesn't allow that.
| unreg -> return False | unreg -> return False
......
...@@ -242,7 +242,7 @@ ghcWithInterpreter = do ...@@ -242,7 +242,7 @@ ghcWithInterpreter = do
, "freebsd", "dragonfly", "netbsd", "openbsd" , "freebsd", "dragonfly", "netbsd", "openbsd"
, "darwin", "kfreebsdgnu" ] , "darwin", "kfreebsdgnu" ]
goodArch <- anyTargetArch [ "i386", "x86_64", "powerpc", "sparc" goodArch <- anyTargetArch [ "i386", "x86_64", "powerpc", "sparc"
, "sparc64", "arm", "s390x" ] , "sparc64", "arm", "aarch64", "s390x" ]
return $ goodOs && goodArch return $ goodOs && goodArch
-- | Check to use @libffi@ for adjustors. -- | Check to use @libffi@ for adjustors.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment