[LLVMdev] [cfe-dev] Living on Clang

Rene Rebe rene at exactcode.de
Thu Apr 15 00:17:29 PDT 2010


On Apr 14, 2010, at 10:51 PM, Douglas Gregor wrote:

> Hello fellow LLVMers and Clangstas,
> We want to make Clang great, and we need your help! 
> Helping is easy: just build Clang on your platform and start using it as your main compiler for LLVM and Clang development. Much of the Clang team has been living on Clang for at least several weeks already, and we've found it to be quite stable for development. If you run into problems---poor diagnostics, poor debugging experience, compiler crashes, rejecting valid code, whatever---please file Bugzillas so we can get them fixed.

Been there, done that: http://rene.rebe.de/2010-02-16/llvm-clang-support-in-t2-sde-linux/

And reported C++ issues spotted while at it. I plan to further extend the testing and potentially default to Clang (without GCC) in a future T2 Linux revision.

> Steps to living on Clang:
>  - Make sure you're getting a good revision of Clang/LLVM from Subversion by checking the Buildbots (http://google1.osuosl.org:8011/console). The clang-*-selfhost builds have passed self-host + testing and are good candidates.
>  - Build Clang as part of LLVM (http://clang.llvm.org/get_started.html). I suggest a Release build, since Debug builds tend to be very slow.
>  - Install Clang + LLVM somewhere that isn't where you do your normal LLVM/Clang development.
>  - Configure with the environment variables CC=/path/to/clang CXX=/path/to/clang++, which works with either autoconf configure or CMake cmake/ccmake.
>  - Build LLVM and Clang as normal. 
>  - Report your experiences to help us improve Clang!
> 	- Doug

  René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
  http://exactcode.com | http://t2-project.org | http://rene.rebe.de

More information about the llvm-dev mailing list