[GHC] #10170: Find versioned versions of LLVM tools
GHC
ghc-devs at haskell.org
Thu Mar 19 00:51:23 UTC 2015
#10170: Find versioned versions of LLVM tools
-------------------------------------+-------------------------------------
Reporter: erikd | Owner: erikd
Type: bug | Status: new
Priority: normal | Milestone: 7.12.1
Component: Compiler | Version: 7.11
(LLVM) | Operating System: Unknown/Multiple
Keywords: | Type of failure: None/Unknown
Architecture: | Blocked By:
Unknown/Multiple | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Since it has become more widely know that the LLVM developers often make
breaking changes to the IR language between releases, some Linu
distributions (eg Debain and hence Ubuntu) have started doing multi-
version LLVM installs.
For instance on Debian, the llvm-3.6 programs are installed in
`/usr/lib/llvm-3.6/bin` as `llc` and `opt`.
I propose that the `configure.ac` and `aclocal.m4` configuration goop be
modified to look for `llc` and `opt` in these versioned
`/usr/lib/llvm-X.Y` locations. I'm also willing to do the hard yards on
implementing this if people think its a good idea.
This can be seen as a step along the way to more stringent LLVM versioning
requirements.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10170>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list