Skip to content

Commit

Permalink
Use python3 for ambuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvander committed Jul 12, 2021
1 parent 8bf8c98 commit 0b468f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/buildbot/bootstrap.pl
Expand Up @@ -61,12 +61,12 @@
my $conf_args = join(' ', @conf_argv);

if ($argn > 0 && $^O !~ /MSWin/) {
$result = `CC=$ARGV[0] CXX=$ARGV[0] python ../build/configure.py $conf_args`;
$result = `CC=$ARGV[0] CXX=$ARGV[0] python3 ../build/configure.py $conf_args`;
} else {
if ($^O =~ /MSWin/) {
$result = `C:\\Python38\\Python.exe ..\\build\\configure.py $conf_args`;
} else {
$result = `CC=clang CXX=clang python ../build/configure.py $conf_args`;
$result = `CC=clang CXX=clang python3 ../build/configure.py $conf_args`;
}
}
print "$result\n";
Expand Down

0 comments on commit 0b468f2

Please sign in to comment.