Changes

Jump to navigation Jump to search
no edit summary
Line 7: Line 7:  
</syntaxHighlight>
 
</syntaxHighlight>
   −
== ninja ==
+
== first attempt ==
 +
 
 +
=== ninja ===
 
<syntaxHighlight lang=bash>
 
<syntaxHighlight lang=bash>
 
git clone git://github.com/martine/ninja.git
 
git clone git://github.com/martine/ninja.git
Line 16: Line 18:  
</syntaxHighlight>
 
</syntaxHighlight>
   −
== clang ==
+
=== clang ===
 
<syntaxHighlight lang=bash>
 
<syntaxHighlight lang=bash>
 
git clone http://llvm.org/git/llvm.git
 
git clone http://llvm.org/git/llvm.git
Line 31: Line 33:  
I didn't fully test the <code>-j</code> (concurrent build) options to ninja.  ninja defaults to 6 on the rpi2.  You will run out of memory if you do this.  Even if you create larger swap for the pi, swapping to an sd card is a really major performance hit and you will be better of using fewer cores.
 
I didn't fully test the <code>-j</code> (concurrent build) options to ninja.  ninja defaults to 6 on the rpi2.  You will run out of memory if you do this.  Even if you create larger swap for the pi, swapping to an sd card is a really major performance hit and you will be better of using fewer cores.
   −
== self hosted clang ==
+
=== self hosted clang ===
 
<syntaxHighlight lang=bash>
 
<syntaxHighlight lang=bash>
 
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/local/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/bin/clang++ ../llvm -G Ninja
 
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/local/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/bin/clang++ ../llvm -G Ninja
 
</syntaxHighlight>
 
</syntaxHighlight>
   −
== ispc ==
+
=== ispc ===
 
<syntaxHighlight lang=bash>
 
<syntaxHighlight lang=bash>
 
make ARM_ENABLED=1 -j4
 
make ARM_ENABLED=1 -j4
 
</syntaxHighlight>
 
</syntaxHighlight>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu