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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits