Created
January 18, 2016 07:16
-
-
Save guanqun/0e3dec7faca3b4c3d22f to your computer and use it in GitHub Desktop.
new way to install llvm libc++ in Ubuntu 14.04 Trusty
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
# http://llvm.org/apt/ | |
sudo bash -c "cat >> /etc/apt/sources.list" << LLVMAPT | |
# LLVM | |
deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty main | |
deb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty main | |
# 3.6 | |
deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.6 main | |
deb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.6 main | |
# 3.7 | |
deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.7 main | |
deb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.7 main | |
LLVMAPT | |
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add - | |
sudo apt-get update -y | |
sudo apt-get install -y clang-3.7 lldb-3.7 libc++-dev libc++abi-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment