Has anybody built and setup an Ubuntu Precise PPA for LLVM/Clang 3.1? A bonus would be to have a recent version of libc++ integrated into it aswell.
Asked
Active
Viewed 8,072 times
2 Answers
9
-
+1, This is great, however, is it possible to add a fixed version of `libstdc++-4.7` to it (see notes [here](http://clang.llvm.org/cxx_status.html))? As `
` is currently [broken](http://llvm.org/bugs/show_bug.cgi?id=12893). – KillianDS Jun 01 '12 at 13:41 -
That is a separate package and I don't have patch for `libstdc++-4.6`, which is what ubuntu 12.04 ships. Maybe you can patch your installed header, the pathc for 4.7 is a one-liner. – eudoxos Jun 01 '12 at 13:55
-
Will try it that way then, thank you for the great ppa. – KillianDS Jun 01 '12 at 14:17
-
@eudoxos "the patch for 4.7 is a one-liner" — Which line? – Quuxplusone Oct 24 '15 at 02:00
-
Found one 1-line patch: http://clang.llvm.org/libstdc++4.7-clang11.patch (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666539 for discussion) but it doesn't fix the issue with `
` that I'm seeing. – Quuxplusone Oct 24 '15 at 02:05
1
Just found an article about installing Clang and libc++ from sources on Ubuntu 12.04.1 and 12.10. The author uses the latest versions for both Clang and libc++. Hope this will be useful:
http://solarianprogrammer.com/2013/01/17/building-clang-libcpp-ubuntu-linux/
mmisu
- 111
- 1
-
This answer isn't very useful for two reasons: 1. The OP asked for a PPA, not compiling himself. 2. Providing a link to some volatile web content is not enough effort for an answer. – aquaherd Jan 17 '13 at 21:44