User:Hef/ispc on rpi2
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
gcc 4.6 both won't compile latest llvm/clang and will generate an ICE on older versions of clang.
sudo apt-get install cmake gcc-4.8 g++-4.8
git clone git://github.com/martine/ninja.git
cd ninja
git checkout release
./configure.py --bootstrap
sudo cp ninja /usr/local/bin/ninja
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/usr/bin/gcc-4.8 -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.8