SHOW:
|
|
- or go back to the newest paste.
1 | brew install gcc | |
2 | brew install make | |
3 | ||
4 | ||
5 | # Check out the sources: | |
6 | ||
7 | mkdir src | |
8 | cd src | |
9 | svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm | |
10 | cd llvm/tools | |
11 | svn co http://llvm.org/svn/llvm-project/cfe/trunk clang | |
12 | svn co http://root.cern.ch/svn/root/trunk/cint/cling cling | |
13 | cd .. | |
14 | ||
15 | # Apply some patches | |
16 | ||
17 | cat tools/cling/patches/* | patch -p0 | |
18 | ||
19 | # Configure, build and install them | |
20 | ||
21 | cd .. | |
22 | mkdir build | |
23 | cd build | |
24 | ../llvm/configure --enable-targets=host | |
25 | make | |
26 | make install |