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: [email protected]
  Homepage: http://www.joachim-breitner.de
  Jabber-ID: [email protected]

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to