You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The common values of System.Info.arch (from base) include powerpc64 and powerpc64le. Cabal-syntax's Distribution.System.archAliases (not exported, but underpinning buildArch) maps both of those values to the single data constructor Distribution.System.PPC64 :: Distribution.System.Arch.
A user of Stack considers that the two architectures should be distinguished (see commercialhaskell/stack#6379). (Stack makes use of Cabal-syntax's Distribution.System.buildPlatform.)
I assume if they were distinguished, Cabal would map powerpc64 to the existing PPC64 and powerpc64le to a new constructor, say PPC64LE.
The common values of
System.Info.arch
(frombase
) includepowerpc64
andpowerpc64le
.Cabal-syntax
'sDistribution.System.archAliases
(not exported, but underpinningbuildArch
) maps both of those values to the single data constructorDistribution.System.PPC64 :: Distribution.System.Arch
.A user of Stack considers that the two architectures should be distinguished (see commercialhaskell/stack#6379). (Stack makes use of Cabal-syntax's
Distribution.System.buildPlatform
.)I assume if they were distinguished, Cabal would map
powerpc64
to the existingPPC64
andpowerpc64le
to a new constructor, sayPPC64LE
.There would be an interaction with GHC's Hadrian:
https://gitlab.haskell.org/ghc/ghc/-/blame/master/hadrian/src/Hadrian/Haskell/Cabal.hs#L62
@bgamari, FYI.
The text was updated successfully, but these errors were encountered: