Created
June 18, 2016 19:12
-
-
Save pyk/d83595fa736d0792174bfc8e3b60921d to your computer and use it in GitHub Desktop.
new way to install llvm libc++ in Ubuntu 14.04 Trusty
This file contains hidden or 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.5 | |
deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.5 main | |
deb-src http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.5 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 | |
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.6 lldb-3.6 libc++-dev libc++abi-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment