We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21c0b4c commit cf55866Copy full SHA for cf55866
llvm/utils/release/test-release.sh
@@ -502,12 +502,18 @@ fi
502
# Setup the test-suite. Do this early so we can catch failures before
503
# we do the full 3 stage build.
504
if [ $do_test_suite = "yes" ]; then
505
+ venv=virtualenv
506
+ if ! type -P 'virtualenv' > /dev/null 2>&1 ; then
507
+ check_program_exists 'python3'
508
+ venv="python3 -m venv"
509
+ fi
510
+
511
SandboxDir="$BuildDir/sandbox"
512
Lit=$SandboxDir/bin/lit
513
TestSuiteBuildDir="$BuildDir/test-suite-build"
514
TestSuiteSrcDir="$BuildDir/llvm-test-suite"
515
- virtualenv $SandboxDir
516
+ ${venv} $SandboxDir
517
$SandboxDir/bin/python $BuildDir/llvm-project/llvm/utils/lit/setup.py install
518
mkdir -p $TestSuiteBuildDir
519
fi
0 commit comments