Just a very simple thing to try and build Clang with polly, LLVM, libcxx, lldb and lld from trunk. Isn't it?
Using git, because cloning a git repo with full history is still faster than checking out svn repo with serf. Yay!
These instructions are not for copy-paste, they show general idea and should work with minor changes.
&&
Install cloog for polly. This is as per polly's installation instructions.
&&
Apply some patches that I had to do to make things build nicely.
They are here:
Now create a build configuration:
Then build everything. This shall build around three thousand files, excluding libc++ which is built separately.
Grab a coffee and watch ninjas in action for a while.
Now build libc++. I opted to install it to a separate directory ... TODO: figure out default clang search paths for libc++ and install there..
This will still need some DYLD_LIBRARY_PATH tweaking (for lldb), but in general clang should work. It will not work with OSX default libc++; that's why you need to build a fresher one.