llvm/OpenCL setup
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
wget -q -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - | |
sudo add-apt-repository -y "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.9 main" | |
sudo apt-get update | |
sudo apt-get install clang-3.9 | |
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-3.9 10 | |
sudo update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-3.9 10 | |
#install POCL deps http://portablecl.org/docs/html/install.html | |
# sudo apt-get install libhwloc-dev | |
# but POCL doesn't suppor discrete GPUs | |
# https://github.com/pocl/pocl/issues/291 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment