1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

test-release.sh: Kill python2

Don't prefer python2's virtualenv when setting up the test-suite.
Always use python3 instead, since that's what we support everywhere else
anyway.

Differential Revision: https://reviews.llvm.org/D106941
This commit is contained in:
Diana Picus 2021-07-28 11:15:58 +02:00
parent 9a10dd5b1c
commit 923213f844

View File

@ -508,11 +508,8 @@ fi
# Setup the test-suite. Do this early so we can catch failures before
# we do the full 3 stage build.
if [ $do_test_suite = "yes" ]; then
venv=virtualenv
if ! type -P 'virtualenv' > /dev/null 2>&1 ; then
check_program_exists 'python3'
venv="python3 -m venv"
fi
check_program_exists 'python3'
venv="python3 -m venv"
SandboxDir="$BuildDir/sandbox"
Lit=$SandboxDir/bin/lit