Skip to content

Instantly share code, notes, and snippets.

@guanqun
Created January 18, 2016 07:16
Show Gist options
  • Save guanqun/0e3dec7faca3b4c3d22f to your computer and use it in GitHub Desktop.
Save guanqun/0e3dec7faca3b4c3d22f to your computer and use it in GitHub Desktop.
new way to install llvm libc++ in Ubuntu 14.04 Trusty
# 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