[GHC] #7661: GHC build system does not detect opt-3.0 and friends
GHC
cvs-ghc at haskell.org
Wed Feb 6 09:49:50 CET 2013
#7661: GHC build system does not detect opt-3.0 and friends
--------------------------------+-------------------------------------------
Reporter: singpolyma | Owner:
Type: feature request | Status: new
Priority: normal | Component: Compiler
Version: 7.7 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: Building GHC failed | Blockedby:
Blocking: | Related:
--------------------------------+-------------------------------------------
Comment(by thoughtpolice):
Well, those distributions typically make the GHC package (which you may
use for a bootstrap compiler) depend specifically on llvm-3.0, for those
co-existence reasons. And they're patched to specifically invoke those
versions, just to be extra sure. So out of the box, you're not necessarily
aware that you need the llvm package, or that it's even there! This is
very much the case on my ARM/Linux installs (Ubuntu 12.10.) In general I
just fix this by symlinking appropriately into my $HOME/bin.
I think you could probably encapsulate most of the hairy machinery in an
m4 macro to search for 'llc-X.Y' and 'opt-X.Y' variants, after looking for
non-suffixed versions.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7661#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list