summaryrefslogtreecommitdiff
path: root/tcwg-llvm-common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tcwg-llvm-common.sh')
-rwxr-xr-xtcwg-llvm-common.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcwg-llvm-common.sh b/tcwg-llvm-common.sh
index 0fc99603..9fa9003d 100755
--- a/tcwg-llvm-common.sh
+++ b/tcwg-llvm-common.sh
@@ -64,6 +64,8 @@ set_compiler () {
exit 1
fi
if [ "$VAL" = "clang" ]; then
+ sudo apt update
+ sudo apt install -y clang-10
export CC="clang-10"
export CXX="clang++-10"
elif [ "$VAL" = "gcc" ]; then