Source

builders / llvm

Full commit
#!/usr/bin/env python

from build import *

llvm_dir = init('http://llvm.org/releases/2.7/llvm-2.7.tgz', 'llvm-2.7.tar.gz')

# Add clang into the LLVM tree. This will make LLVM build clang as
# well.
download('http://llvm.org/releases/2.7/clang-2.7.tgz', 'clang-2.7.tar.gz')
clang_dir = decompress('clang-2.7.tar.gz')
shutil.move(clang_dir, join(llvm_dir, 'tools/clang'))

configure(llvm_dir)
make(llvm_dir)
install(llvm_dir)