User:Hef/ispc on rpi2: Difference between revisions
From Pumping Station One
No edit summary |
|||
| (6 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
sudo apt-get install cmake gcc-4.8 g++-4.8 bison flex libncurses5-dev subversion | sudo apt-get install cmake gcc-4.8 g++-4.8 bison flex libncurses5-dev subversion | ||
</syntaxHighlight> | </syntaxHighlight> | ||
== second attempt == | |||
<syntaxHighlight lang=bash> | |||
export LLVM_HOME=~/projects/llvm_home | |||
export ISPC_HOME=$PWD | |||
export CC=/usr/bin/gcc-4.8 | |||
export CXX=/usr/bin/g++-4.8 | |||
export CFLAGS="-march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4" | |||
export CXXFLAGS="-march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4" | |||
./alloy.py -b --version=3.5 | |||
export PATH=$PATH:$LLVM_HOME/bin-3.5/bin | |||
</syntaxHighlight> | |||
I should try adding <code>export CFLAGS="-march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4"</code> | |||
== first attempt == | == first attempt == | ||