From 8c6b0f84bbaf592627a1b3e68fc3f6861d0d9440 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 10 Feb 2021 13:32:02 -0800 Subject: [PATCH] Fix Windows build. --- support/buildbot/bootstrap.pl | 2 +- support/buildbot/startbuild.pl | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/support/buildbot/bootstrap.pl b/support/buildbot/bootstrap.pl index 37273792..614660f6 100755 --- a/support/buildbot/bootstrap.pl +++ b/support/buildbot/bootstrap.pl @@ -32,7 +32,7 @@ if ($argn > 0 && $^O !~ /MSWin/) { $result = `CC=$ARGV[0] CXX=$ARGV[0] python ../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 python ../build/configure.py $conf_args`; } diff --git a/support/buildbot/startbuild.pl b/support/buildbot/startbuild.pl index 42ec2b6f..6b17ddb9 100755 --- a/support/buildbot/startbuild.pl +++ b/support/buildbot/startbuild.pl @@ -15,7 +15,11 @@ if ($argn > 0) { $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) {