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