[PATCH] D106941: test-release.sh: Kill python2

Diana Picus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 29 01:26:40 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG9ff030ca50e3: test-release.sh: Kill python2 (authored by rovka).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106941/new/

https://reviews.llvm.org/D106941

Files:
  llvm/utils/release/test-release.sh


Index: llvm/utils/release/test-release.sh
===================================================================
--- llvm/utils/release/test-release.sh
+++ llvm/utils/release/test-release.sh
@@ -508,11 +508,8 @@
 # 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106941.362668.patch
Type: text/x-patch
Size: 616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210729/9f28f75a/attachment.bin>


More information about the llvm-commits mailing list