summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2021-08-27 08:56:21 +0200
committerDiana Picus <diana.picus@linaro.org>2021-08-27 08:56:21 +0200
commitd04b0fafc2d906fd9b2e8e55efb35c9cf7114e68 (patch)
tree3adc249e06840614008470c6d1d3907375803ba0
parent3c4fbc577bde780acee35a16c7d22c9bb8e6dcc6 (diff)
downloadjenkins-scripts-diana/release/13.0.0.tar.gz
Revert "Don't install clang-10"diana/release/13.0.0
This reverts commit 5c6d363e180b0196ee7b1d7bcc40508b3bb1805f. Haven't committed the clang-10 install yet.
-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