LLVM failures

Joachim Breitner mail at joachim-breitner.de
Wed Mar 4 16:42:24 UTC 2015


Dear Simon,

Am Mittwoch, den 04.03.2015, 16:03 +0000 schrieb Simon Peyton Jones:
> bash$ lsb_release -a
> No LSB modules are available.
> Distributor ID:	Ubuntu
> Description:	Ubuntu 12.04.5 LTS
> Release:	12.04
> Codename:	precise

in that case I suggest the following source for llvm-3.6, which is the
same that we use on Travis (all commands to be run as root):

First enable this repository to get a libstdc++ backport
$ add-apt-repository -y ppa:ubuntu-toolchain-r/test
Then add the llvm backports repository
$ echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main' >> /etc/apt/sources.list
$ wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
Then you can install the llvm package:
$ apt-get update
$ apt-get install llvm-3.6

Finally, you need to make sure that GHC’s configure finds these
binaries, e.g. by extending your PATH. You probably know better where to
put this in your configuration:
export PATH=/usr/lib/llvm-3.6/bin:$PATH

Greetings,
Joachim


-- 
Joachim Breitner
  e-Mail: mail at joachim-breitner.de
  Homepage: http://www.joachim-breitner.de
  Jabber-ID: nomeata at joachim-breitner.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20150304/08f94d9e/attachment.sig>


More information about the ghc-devs mailing list