summaryrefslogtreecommitdiffstats
path: root/Tools/buildbot/build.bat
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2015-06-10 04:16:52 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2015-06-10 04:16:52 (GMT)
commit6250df81bfbe567bb12c6dc29af149c62f35afa6 (patch)
tree825a96cca40201a4fb5df1e67acc86b1b5c63fd0 /Tools/buildbot/build.bat
parent17d5f474238fc753bf4d28d458784a0e2e6d3cd9 (diff)
downloadcpython-6250df81bfbe567bb12c6dc29af149c62f35afa6.zip
cpython-6250df81bfbe567bb12c6dc29af149c62f35afa6.tar.gz
cpython-6250df81bfbe567bb12c6dc29af149c62f35afa6.tar.bz2
Clean up/refactor the batch scripts used for building on Windows.
This is mostly a backport of issue #21907, but also includes a few extras necessary to make the bulidbot scripts as thin as possible.
Diffstat (limited to 'Tools/buildbot/build.bat')
-rw-r--r--Tools/buildbot/build.bat18
1 files changed, 14 insertions, 4 deletions
diff --git a/Tools/buildbot/build.bat b/Tools/buildbot/build.bat
index 82eeef4..5e840cc 100644
--- a/Tools/buildbot/build.bat
+++ b/Tools/buildbot/build.bat
@@ -1,7 +1,17 @@
@rem Used by the buildbot "compile" step.
-cmd /c Tools\buildbot\external.bat
-call "%VS100COMNTOOLS%vsvars32.bat"
-cmd /c Tools\buildbot\clean.bat
-msbuild PCbuild\pcbuild.sln /p:Configuration=Debug /p:Platform=Win32
+@rem Clean up
+call "%~dp0clean.bat" %*
+@rem If you need the buildbots to start fresh (such as when upgrading to
+@rem a new version of an external library, especially Tcl/Tk):
+@rem 1) uncomment the following line:
+
+@rem call "%~dp0..\..\PCbuild\get_externals.bat" --clean-only
+
+@rem 2) commit and push
+@rem 3) wait for all Windows bots to start a build with that changeset
+@rem 4) re-comment, commit and push again
+
+@rem Do the build
+call "%~dp0..\..\PCbuild\build.bat" -e -d -k -v %*