necessary to build for all platforms?

Erik de Castro Lopo mle+hs at
Wed Mar 9 02:43:46 UTC 2016

Richard Eisenberg wrote:

> Watching the files being compiled slowly scrolling by, as I too often do,
> led me to this question: Is there a reason that my machine (an x86-based Mac)
> is building modules in the SPARC or PPC directory?

They do need to be built at some point.

> These absolutely need
> to be compiled when validating on any machine,

If they aren't build during devel2 but are build during validation then
that would be sufficient.

> If I am, is it reasonable to try to teach the build scripts how to avoid doing
> this?

As someone who cares about PowerPC and some other arches, I agree that this
is a reasonable request on the face of it. I am a little concerned about
the difficulty of teaching the build system to do it and I'm not sure how
big the payoff is. These arch specific files are probably less than 1% of the
total file count.

Erik de Castro Lopo

More information about the ghc-devs mailing list