Import Upstream version 2.7.18
This commit is contained in:
5
Tools/buildbot/build-amd64.bat
Normal file
5
Tools/buildbot/build-amd64.bat
Normal file
@@ -0,0 +1,5 @@
|
||||
@rem Formerly used by the buildbot "compile" step.
|
||||
@echo This script is no longer used and may be removed in the future.
|
||||
@echo To get the same effect as this script, use
|
||||
@echo PCbuild\build.bat -d -e -k -p x64
|
||||
call "%~dp0build.bat" -p x64 %*
|
||||
18
Tools/buildbot/build.bat
Normal file
18
Tools/buildbot/build.bat
Normal file
@@ -0,0 +1,18 @@
|
||||
@rem Used by the buildbot "compile" step.
|
||||
@setlocal
|
||||
|
||||
@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" -v -e -d -k %*
|
||||
20
Tools/buildbot/buildmsi.bat
Normal file
20
Tools/buildbot/buildmsi.bat
Normal file
@@ -0,0 +1,20 @@
|
||||
@rem Used by the buildbot "buildmsi" step.
|
||||
|
||||
cmd /c Tools\buildbot\external.bat
|
||||
@rem build release versions of things
|
||||
call "%VS90COMNTOOLS%vsvars32.bat"
|
||||
|
||||
@rem build Python
|
||||
vcbuild /useenv PCbuild\pcbuild.sln "Release|Win32"
|
||||
|
||||
@rem build the documentation
|
||||
bash.exe -c 'cd Doc;make PYTHON=python2.5 update htmlhelp'
|
||||
"%ProgramFiles%\HTML Help Workshop\hhc.exe" Doc\build\htmlhelp\python26a3.hhp
|
||||
|
||||
@rem build the MSI file
|
||||
cd PC
|
||||
nmake /f icons.mak
|
||||
cd ..\Tools\msi
|
||||
del *.msi
|
||||
nmake /f msisupport.mak
|
||||
%HOST_PYTHON% msi.py
|
||||
5
Tools/buildbot/clean-amd64.bat
Normal file
5
Tools/buildbot/clean-amd64.bat
Normal file
@@ -0,0 +1,5 @@
|
||||
@rem Formerly used by the buildbot "clean" step.
|
||||
@echo This script is no longer used and may be removed in the future.
|
||||
@echo To get the same effect as this script, use `clean.bat` from this
|
||||
@echo directory and pass `-p x64` as two arguments.
|
||||
call "%~dp0clean.bat" -p x64 %*
|
||||
16
Tools/buildbot/clean.bat
Normal file
16
Tools/buildbot/clean.bat
Normal file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
rem Used by the buildbot "clean" step.
|
||||
|
||||
setlocal
|
||||
set root=%~dp0..\..
|
||||
set pcbuild=%root%\PCbuild
|
||||
|
||||
echo Deleting build
|
||||
call "%pcbuild%\build.bat" -t Clean -k %*
|
||||
call "%pcbuild%\build.bat" -t Clean -k -d %*
|
||||
|
||||
echo Deleting .pyc/.pyo files ...
|
||||
del /s "%root%\Lib\*.pyc" "%root%\Lib\*.pyo"
|
||||
|
||||
echo Deleting test leftovers ...
|
||||
rmdir /s /q "%root%\build"
|
||||
3
Tools/buildbot/external-amd64.bat
Normal file
3
Tools/buildbot/external-amd64.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@echo This script is no longer used and may be removed in the future.
|
||||
@echo Please use PCbuild\get_externals.bat instead.
|
||||
@"%~dp0..\..\PCbuild\get_externals.bat" %*
|
||||
3
Tools/buildbot/external.bat
Normal file
3
Tools/buildbot/external.bat
Normal file
@@ -0,0 +1,3 @@
|
||||
@echo This script is no longer used and may be removed in the future.
|
||||
@echo Please use PCbuild\get_externals.bat instead.
|
||||
@"%~dp0..\..\PCbuild\get_externals.bat" %*
|
||||
6
Tools/buildbot/test-amd64.bat
Normal file
6
Tools/buildbot/test-amd64.bat
Normal file
@@ -0,0 +1,6 @@
|
||||
@rem Formerly used by the buildbot "test" step.
|
||||
@echo This script is no longer used and may be removed in the future.
|
||||
@echo To get the same effect as this script, use
|
||||
@echo PCbuild\rt.bat -q -d -x64 -uall -rwW
|
||||
@echo or use `test.bat` in this directory and pass `-x64` as an argument.
|
||||
call "%~dp0test.bat" -x64 %*
|
||||
19
Tools/buildbot/test.bat
Normal file
19
Tools/buildbot/test.bat
Normal file
@@ -0,0 +1,19 @@
|
||||
@echo off
|
||||
rem Used by the buildbot "test" step.
|
||||
setlocal
|
||||
|
||||
set here=%~dp0
|
||||
set rt_opts=-q -d
|
||||
set regrtest_args=
|
||||
|
||||
:CheckOpts
|
||||
if "%1"=="-x64" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
|
||||
if "%1"=="-d" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
|
||||
if "%1"=="-O" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
|
||||
if "%1"=="-q" (set rt_opts=%rt_opts% %1) & shift & goto CheckOpts
|
||||
if "%1"=="+d" (set rt_opts=%rt_opts:-d=%) & shift & goto CheckOpts
|
||||
if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts
|
||||
if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts
|
||||
|
||||
echo on
|
||||
call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest %regrtest_args%
|
||||
Reference in New Issue
Block a user