Skip to content

Commit 01dd37b

Browse files
committed
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
1 parent 1d99cad commit 01dd37b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

llvm/utils/release/test-release.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -508,11 +508,8 @@ fi
508508
# Setup the test-suite. Do this early so we can catch failures before
509509
# we do the full 3 stage build.
510510
if [ $do_test_suite = "yes" ]; then
511-
venv=virtualenv
512-
if ! type -P 'virtualenv' > /dev/null 2>&1 ; then
513-
check_program_exists 'python3'
514-
venv="python3 -m venv"
515-
fi
511+
check_program_exists 'python3'
512+
venv="python3 -m venv"
516513

517514
SandboxDir="$BuildDir/sandbox"
518515
Lit=$SandboxDir/bin/lit

0 commit comments

Comments
 (0)