summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2021-01-27 10:30:59 +0100
committerDiana Picus <diana.picus@linaro.org>2021-01-27 12:46:15 +0100
commitec9f9351723bdb85687699b0430656f342a6a76d (patch)
tree902f55cb5074dcff9f783b6ff3ca73bcb155cf30
parent17a3185d1f674ad12e04b2eb1c3024f55768cd7c (diff)
Install python2 so we can build llvm 11.1.0-rc2 etcdiana/release/python2%wip
Change-Id: I8da6f4f1f49dbc40cee7e6e8bc4024eca5c35d1e
-rwxr-xr-xtcwg-llvm-release.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tcwg-llvm-release.sh b/tcwg-llvm-release.sh
index 5e1b5433..09a88172 100755
--- a/tcwg-llvm-release.sh
+++ b/tcwg-llvm-release.sh
@@ -173,6 +173,11 @@ echo "TARGET=$TARGET"
LOGBASE="$WORKSPACE/tcwg-llvm"
LOGEXT="txt"
+# Install python 2 just for llvm 11.1.0, since we already shipped rc1 with
+# python 2.
+sudo apt update
+sudo apt install -y python-dev python-pip python-setuptools python-wheel libpython2.7-dev
+
# Release script
RELEASE_SCRIPT="test-release.sh"
RELEASE_TAG="llvmorg-${RELEASE}${RCTAG}"