
Sven Tennie pushed to branch wip/romes/hadrian-cross-stage2-rebase_SVEN_FIXED at Glasgow Haskell Compiler / GHC Commits: 423a7433 by Sven Tennie at 2025-09-15T16:39:58+00:00 TestCompilerArgs: Fix arch (out of tree) - - - - - 1 changed file: - hadrian/src/Settings/Builders/RunTest.hs Changes: ===================================== hadrian/src/Settings/Builders/RunTest.hs ===================================== @@ -22,8 +22,6 @@ import Settings.Program (programContext) import qualified Context.Type import GHC.Toolchain.Target -import Text.Read -import GHC.Platform.ArchOS import Debug.Trace @@ -166,11 +164,8 @@ outOfTreeCompilerArgs = do debugAssertions <- getBooleanSetting TestGhcDebugAssertions - let readArch :: String -> Maybe Arch - readArch = readMaybe - os <- getTestSetting TestHostOS - arch <- maybe "unknown" stringEncodeArch . readArch <$> getTestSetting TestTargetARCH + arch <- getTestSetting TestTargetARCH platform <- getTestSetting TestTARGETPLATFORM wordsize <- show . read @Int <$> getTestSetting TestWORDSIZE rtsWay <- getTestSetting TestRTSWay View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/423a7433560161d700c23704e8f366a6... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/423a7433560161d700c23704e8f366a6... You're receiving this email because of your account on gitlab.haskell.org.