Switch to python3 for ambuild.
This commit is contained in:
parent
5aedb73aae
commit
38eecd5ece
@ -67,12 +67,12 @@ push(@conf_argv, '--sdks=all');
|
|||||||
my $conf_args = join(' ', @conf_argv);
|
my $conf_args = join(' ', @conf_argv);
|
||||||
|
|
||||||
if ($argn > 0 && $^O !~ /MSWin/) {
|
if ($argn > 0 && $^O !~ /MSWin/) {
|
||||||
$result = `CC=$ARGV[0] CXX=$ARGV[1] python ../build/configure.py $conf_args`;
|
$result = `CC=$ARGV[0] CXX=$ARGV[1] python3 ../build/configure.py $conf_args`;
|
||||||
} else {
|
} else {
|
||||||
if ($^O =~ /MSWin/) {
|
if ($^O =~ /MSWin/) {
|
||||||
$result = `C:\\Python38\\Python.exe ..\\build\\configure.py $conf_args`;
|
$result = `C:\\Python38\\Python.exe ..\\build\\configure.py $conf_args`;
|
||||||
} else {
|
} 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";
|
print "$result\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user