Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix Windows build.
  • Loading branch information
dvander committed Jul 12, 2021
1 parent 6c8c605 commit 73f52fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion support/buildbot/bootstrap.pl
Expand Up @@ -32,7 +32,7 @@
$result = `CC=$ARGV[0] CXX=$ARGV[0] python3 ../build/configure.py $conf_args`;
} else {
if ($^O =~ /MSWin/) {
$result = `C:\\Python27\\Python.exe ..\\build\\configure.py $conf_args`;
$result = `C:\\Python38\\Python.exe ..\\build\\configure.py $conf_args`;
} else {
$result = `CC=clang CXX=clang python3 ../build/configure.py $conf_args`;
}
Expand Down
6 changes: 5 additions & 1 deletion support/buildbot/startbuild.pl
Expand Up @@ -15,7 +15,11 @@
$ENV{CXX} = $ARGV[0];
}

system("ambuild --no-color 2>&1");
if ($^O !~ /MSWin/) {
system("ambuild --no-color 2>&1");
} else {
system("C:\\Python38\\scripts\\ambuild --no-color 2>&1");
}

if ($? != 0)
{
Expand Down

0 comments on commit 73f52fd

Please sign in to comment.