Created
November 28, 2017 09:40
-
-
Save aumouvantsillage/671ecb1e68729c5e1a897c62251e00cf to your computer and use it in GitHub Desktop.
Building VC4C and VC4CL on a Raspberry Pi 3 with Raspbian Stretch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install git cmake clang-3.9 opencl-headers ocl-icd-dev ocl-icd-opencl-dev | |
sudo ln -s /usr/bin/clang{-3.9,} | |
git clone https://github.com/doe300/VC4C.git | |
git clone https://github.com/doe300/VC4CL.git | |
git clone https://github.com/doe300/VC4CLStdLib.git | |
mkdir VC4C/build | |
cd VC4C/build | |
cmake -DBUILD_TESTING=OFF -DSPIRV_FRONTEND=OFF .. | |
make | |
sudo make install | |
cd - | |
mkdir VC4CL/build | |
cd VC4CL/build | |
cmake -DBUILD_TESTING=OFF .. | |
make | |
sudo make install | |
cd - | |
mkdir VC4CL-test | |
cd VC4CL-test | |
wget https://raw.githubusercontent.com/doe300/VC4C/master/example/fibonacci.cl | |
export LD_LIBRARY_PATH=/usr/local/lib | |
VC4C --llvm --hex -o fibonacci.hex fibonacci.cl | |
I'm sorry but I don't understand your question.
I wrote these instructions 2 years ago to illustrate a bug report in VC4C.
Since then I have moved to other projects and I have never actually used VC4C.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hİ
İs it includes GPU configuration?