Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  +
 +
== setup ==
 
gcc 4.6 both won't compile latest llvm/clang and will generate an ICE on older versions of clang.
 
gcc 4.6 both won't compile latest llvm/clang and will generate an ICE on older versions of clang.
   Line 5: Line 7:  
</syntaxHighlight>
 
</syntaxHighlight>
    +
== ninja ==
 
<syntaxHighlight lang=bash>
 
<syntaxHighlight lang=bash>
 
git clone git://github.com/martine/ninja.git
 
git clone git://github.com/martine/ninja.git
Line 13: Line 16:  
</syntaxHighlight>
 
</syntaxHighlight>
    +
== clang ==
 
<syntaxHighlight lang=bash>
 
<syntaxHighlight lang=bash>
 +
git clone http://llvm.org/git/llvm.git
 +
cd llvm/tools
 +
git clone http://llvm.org/git/clang.git
 +
cd ../../..
 +
mkdir llvm-build
 +
cd llvm-build
 
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/gcc-4.8 -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.8
 
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/gcc-4.8 -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.8
 +
ninja -j1
 
</syntaxHighlight>
 
</syntaxHighlight>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu