Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 9 lines (8 sloc) 342 Bytes
#!/bin/bash
CLANG_VERSION=6.0.0
CLANG_DIR=clang+llvm-$CLANG_VERSION-x86_64-linux-gnu-ubuntu-16.04
curl http://releases.llvm.org/$CLANG_VERSION/$CLANG_DIR.tar.xz | tar xfJ -
sudo rm -rf /usr/local/bin/clang* /usr/local/lib/clang
sudo cp -rf $CLANG_DIR/bin/* /usr/local/bin
sudo cp -rf $CLANG_DIR/lib/clang /usr/local/lib
rm -rf $CLANG_DIR