update setup.sh
This commit is contained in:
parent
27df40a55e
commit
b2fe7b2928
@ -1,11 +1,5 @@
|
||||
## update and install some things we should probably have
|
||||
deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main
|
||||
deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
|
||||
apt-get update
|
||||
apt-get install -y clang-7 lldb-7 lld-7 libllvm7 llvm-7 llvm-7-dev
|
||||
ln -s /usr/bin/clang-7 /usr/bin/clang
|
||||
ln -s /usr/bin/llvm-ar-7 /usr/bin/llvm-ar
|
||||
apt-get install -y \
|
||||
curl \
|
||||
git \
|
||||
@ -17,6 +11,14 @@ apt-get install -y \
|
||||
build-essential \
|
||||
openssl
|
||||
|
||||
echo "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main" | sudo tee /etc/apt/sources.list.d/docker.list
|
||||
echo "deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main" | sudo tee /etc/apt/sources.list.d/docker-src.list
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
|
||||
apt-get update
|
||||
apt-get install -y clang-7 lldb-7 lld-7 libllvm7 llvm-7 llvm-7-dev
|
||||
ln -s /usr/bin/clang-7 /usr/bin/clang
|
||||
ln -s /usr/bin/llvm-ar-7 /usr/bin/llvm-ar
|
||||
|
||||
## Install rustup and common components
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
rustup install nightly
|
||||
|
Loading…
x
Reference in New Issue
Block a user