-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Conversation
ghc 7.8 uses clang internally. clang is used to build the ghc 7.8 on mavericks 64 bit, and gcc is used on older OS and 32 bit builds. Also advise to use cabal-install in the caveat.
@@ -144,11 +137,17 @@ def install | |||
system "make" | |||
# -j1 fixes an intermittent race condition | |||
system "make", "-j1", "install" | |||
if build.devel? | |||
# use clang, even when gcc was used to build ghc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, seems potentially weird. Can clang
not be used to build too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, because a binary ghc
7.8
is required to booststrap the build, and it is available to download only for mavericks 64 bit
Cheers for doing this! |
By the way, when I built GHC 7.8.2 on my machine (Mavericks) with the
(I don't know whether that's alarming or not.) In addition, I was able to build Caveat: I used my version of the formula because glehmann's didn't yet exist. |
Heads up: GHC 7.8.2 will fail to build
The workaround could be as simple as adding |
Given issues with 7.8.x at large, is it OK to merge this as a devel version now, or is there more work to do first? |
@adamv 👍 |
ghc 7.8 uses clang internally. clang is used to build the ghc 7.8 on mavericks
64 bit, and gcc is used on older OS and 32 bit builds. Also advise to use
cabal-install in the caveat.