[llvm-branch-commits] [llvm] 01dd37b - test-release.sh: Kill python2
Diana Picus via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 29 01:29:40 PDT 2021
Author: Diana Picus
Date: 2021-07-29T10:28:39+02:00
New Revision: 01dd37be9baea020b638d04c5523e153b1a102f9
URL: https://github.com/llvm/llvm-project/commit/01dd37be9baea020b638d04c5523e153b1a102f9
DIFF: https://github.com/llvm/llvm-project/commit/01dd37be9baea020b638d04c5523e153b1a102f9.diff
LOG: 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
Added:
Modified:
llvm/utils/release/test-release.sh
Removed:
################################################################################
diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index 64ee411a69f65..5f602a451aedb 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -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
More information about the llvm-branch-commits
mailing list