summaryrefslogtreecommitdiffstats
path: root/PCbuild/build.bat
Commit message (Collapse)AuthorAgeFilesLines
* GH-113464: Add a JIT backend for tier 2 (GH-113465)Brandt Bucher2024-01-291-0/+3
| | | | | | | Add an option (--enable-experimental-jit for configure-based builds or --experimental-jit for PCbuild-based ones) to build an *experimental* just-in-time compiler, based on copy-and-patch (https://fredrikbk.com/publications/copy-and-patch.pdf). See Tools/jit/README.md for more information on how to install the required build-time tooling.
* gh-108374: Add --disable-gil option to PCbuild/build.bat (#108729)Sam Gross2023-09-021-0/+3
| | | | This adds a `--disable-gil` option to PCbuild/build.bat. For now, all this does is define the Py_NOGIL macro.
* bpo-43567: Improved generated code refresh on Windows (GH-25120)Steve Dower2021-04-061-10/+17
| | | Generated files are now refreshed automatically on regular build, or may be forcibly regenerated by calling `build.bat --regen`.
* bpo-42336: Improve PCbuild batch files (GH-23275)Steve Dower2020-11-181-2/+2
|
* bpo-39185 Add the d[etailed] and q[uiet] verbosity levels for msbuild (GH-17791)Anthony Shaw2020-02-051-0/+4
|
* bpo-36500: Simplify PCbuild/build.bat and prevent path separator changing in ↵Steve Dower2019-12-171-13/+8
| | | | comments (GH-17644)
* bpo-36500: Add --regen option to PCbuild/build.bat so Windows users can ↵Anthony Shaw2019-12-171-1/+16
| | | | regen grammar, opcodes, tokens and symbols (GH-12654)
* bpo-33125: Add support for building and releasing Windows ARM64 packages ↵Steve Dower2019-11-201-1/+1
| | | | | (GH-16828) Note that the support is not actually enabled yet, and so we won't be publishing these packages. However, for those who want to build it themselves (even by reusing the Azure Pipelines definition), it's now relatively easy to enable.
* Implement Windows release builds in Azure Pipelines (GH-14065)Steve Dower2019-06-141-5/+14
|
* bpo-36941: Windows build changes for Windows ARM64 (GH-13365)Paul Monson2019-05-171-1/+5
|
* bpo-35920: Windows 10 ARM32 platform support (GH-11774)Paul Monson2019-04-251-1/+1
|
* bpo-35433: Properly detect installed SDK versions (GH-11009)Jeremy Kloth2018-12-101-1/+2
|
* bpo-30389 Adds detection of VS 2017 to distutils._msvccompiler (#1632)Steve Dower2017-09-071-1/+1
|
* bpo-31358: Pull zlib out of the repository (GH-3375)Zachary Ware2017-09-071-3/+5
| | | Also enable building externals by default on Windows, use PCbuild\build.bat's -E option to disable it.
* [bpo-30916] Pre-build OpenSSL and Tcl/Tk for Windows (#2688)Steve Dower2017-07-171-2/+0
| | | Updates ssl and tkinter projects to use pre-built externals
* bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on ↵Steve Dower2017-06-191-21/+11
| | | | | | vcvarsall.bat (#2252) * Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat Also fixes bdist_wininst.vcxproj to use correct version in generated name.
* bpo-27425: Be more explicit in .gitattributes (GH-840)Zachary Ware2017-06-101-161/+161
| | | Updates checked-in line endings on several files.
* PCbuild/build.bat: Add note about using msbuild response file. (#1551)Charles2017-05-121-1/+6
| | | | | | | | | | | | | | | | Using a response file will eliminate the headache associated with batch argument/quote processing. For example I unsucessfully compiled python with visualcpptools when specifying VSInstallDir in the batch file (cannot find vcruntime.h) ```batch build.bat -p x64 -e -M --no-tkinter "/p:VCInstallDir=%VCInstallDir%" ``` but it build successfully when specifying it in a response file msbuild.rsp: ``` /p:VCInstallDir=%VCInstallDir% ```
* PCbuild/build.bat: pass command line parameters when building PGO (#1510)Charles2017-05-091-1/+1
| | | Custom msbuild properties passed as command line need to be passed too when calling `Build` when doing PGO build.
* bpo-27593: Updates Windows build to use information from git (#262)Steve Dower2017-03-041-4/+4
| | | | * bpo-27593: Updates Windows build to use information from git
* Issue #29080: Removes hard dependency on hg.exe from PC/build.batSteve Dower2016-12-281-3/+3
|\
| * Issue #29080: Removes hard dependency on hg.exe from PC/build.batSteve Dower2016-12-281-3/+3
| |
* | Issue #28846: Various installer fixesSteve Dower2016-12-031-0/+4
|\ \ | |/
| * Issue #28846: Various installer fixesSteve Dower2016-12-031-0/+4
| |
* | Issue #28573: Avoid setting up env too many times during buildSteve Dower2016-11-151-1/+1
|/
* Issue #25348: Add --pgo and --pgo-job flags to PCbuild\build.batZachary Ware2016-01-121-5/+52
|
* Improves handling of test markers for building Python without intefering ↵Steve Dower2015-10-311-0/+3
| | | | with actual installs.
* Issue #24986: Save some bandwidth from svn.python.orgZachary Ware2015-09-041-1/+3
| | | | Don't download sources that won't be used.
* Issue #24986: Allow building Python without external libraries on WindowsZachary Ware2015-09-041-2/+22
| | | | | | | | | | This modifies the behavior of the '-e' flag to PCbuild\build.bat: when '-e' is not supplied, no attempt will be made to build extension modules that require external libraries, even if the external libraries are present. Also adds '--no-<module>' flags to PCbuild\build.bat, where '<module>' is one of 'ssl', 'tkinter', or 'bsddb', to allow skipping just those modules (if '-e' is given).
* Turn 'rem' comments into a real usage message in PCbuild/build.batZachary Ware2015-09-021-15/+36
| | | | | Also fixes error in 'kill' target (already fixed in 2.7, somehow the fix didn't make it to this branch).
* Fixes argument handling in build.bat and HHC searchSteve Dower2015-07-211-14/+14
|
* Issue #24585: Enables build-to-build upgrades that preserve settings.Steve Dower2015-07-091-10/+17
| | | | | | Rather than using Burn "Persisted" variables we now add registry keys for each added feature. These can be detected by the installer regardless of which version installed them, and we use this for Modify and Upgrade. In particular, Upgrades can't access the Persisted variables, but can find well-known registry keys. There are also some changes to the bootstrap app to properly handle upgrades. Finally, a few minor improvements to the Windows build to keep things tidier.
* Merge forward extras beyond #21907 backport.Zachary Ware2015-06-101-0/+9
|\
| * Clean up/refactor the batch scripts used for building on Windows.Zachary Ware2015-06-101-10/+98
| | | | | | | | | | This is mostly a backport of issue #21907, but also includes a few extras necessary to make the bulidbot scripts as thin as possible.
* | Closes #17202: Merge with 3.4Zachary Ware2015-04-131-43/+43
|\ \ | |/
| * Issue #17202: Add .bat to .hgeol to force them to CRLF.Zachary Ware2015-04-131-19/+19
| | | | | | | | | | Using LF can a script to fail if it tries to use a label that is split across 512 byte blocks. Who knows why.
* | Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), ↵Steve Dower2014-11-221-2/+11
| | | | | | | | which will be used for the official 3.5 release.
* | Issue #21907: Avoid using double quotes to check argument values.Zachary Ware2014-08-011-6/+6
| | | | | | | | | | | | Double quotes in expanded variables can match literal double quotes, which makes for a big mess when passing in a quoted argument (like "/p:externalsDir=..\externals", for example).
* | Issue #21907: Improved the batch scripts provided for building Python.Zachary Ware2014-07-071-6/+21
|/ | | | | | The user-facing scripts in PCbuild have been updated to be easier to use and the buildbot scripts in Tools\buildbot have been updated to use the user-facing scripts in PCbuild wherever possible.
* Update build.bat for VS2010Brian Curtin2012-05-221-3/+4
|
* Merged revisions ↵Christian Heimes2008-02-091-3/+4
| | | | | | | | | | | | | | | 60481,60485,60489-60492,60494-60496,60498-60499,60501-60503,60505-60506,60508-60509,60523-60524,60532,60543,60545,60547-60548,60552,60554,60556-60559,60561-60562,60569,60571-60572,60574,60576-60583,60585-60586,60589,60591,60594-60595,60597-60598,60600-60601,60606-60612,60615,60617,60619-60621,60623-60625,60627-60629,60631,60633,60635,60647,60650,60652,60654,60656,60658-60659,60664-60666,60668-60670,60672,60676,60678,60680-60683,60685-60686,60688,60690,60692-60694,60696-60698 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r60696 | christian.heimes | 2008-02-09 20:55:22 +0100 (Sat, 09 Feb 2008) | 5 lines Issue #1706: Require Windows 2000+ Added Py_BUILD_CORE_MODULES macro to set WINVER and NTDDI_VERSION to Windows 2000 for core modules, too Added -d option to build.bat (same as -c Debug) and fixed warning about /build option Updated Windows related readme.txt files ........
* Merged revisions ↵Christian Heimes2008-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 60481,60485,60489-60520,60523-60527,60530-60533,60535-60538,60540-60551 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk NOTE: I blocked the following revisions: svnmerge.py block -r 60521,60522,60528,60529,60534,60539 The new tests must be merged with lots of manual work. ........ r60493 | georg.brandl | 2008-02-01 12:59:08 +0100 (Fri, 01 Feb 2008) | 2 lines Update IPv6 RFC number. ........ r60497 | georg.brandl | 2008-02-01 16:50:15 +0100 (Fri, 01 Feb 2008) | 2 lines Add link checker builder, written for GHOP by Thomas Lamb. ........ r60500 | georg.brandl | 2008-02-01 19:08:09 +0100 (Fri, 01 Feb 2008) | 2 lines Rename batch file. ........ r60504 | christian.heimes | 2008-02-01 19:49:26 +0100 (Fri, 01 Feb 2008) | 1 line More int -> pid_t. ........ r60507 | georg.brandl | 2008-02-01 20:24:01 +0100 (Fri, 01 Feb 2008) | 2 lines Wording nit. ........ r60510 | georg.brandl | 2008-02-01 21:45:33 +0100 (Fri, 01 Feb 2008) | 2 lines Update for latest sphinx latex writer. ........ r60511 | raymond.hettinger | 2008-02-01 22:30:23 +0100 (Fri, 01 Feb 2008) | 1 line Issue #1996: float.as_integer_ratio() should return fraction in lowest terms. ........ r60512 | raymond.hettinger | 2008-02-01 23:15:52 +0100 (Fri, 01 Feb 2008) | 1 line Integer ratio should return ints instead of longs whereever possible. ........ r60513 | raymond.hettinger | 2008-02-01 23:22:50 +0100 (Fri, 01 Feb 2008) | 1 line labs() takes a long for an input. ........ r60514 | raymond.hettinger | 2008-02-01 23:42:59 +0100 (Fri, 01 Feb 2008) | 1 line Test round-trip on float.as_integer_ratio() and float.__truediv__(). ........ r60515 | marc-andre.lemburg | 2008-02-01 23:58:17 +0100 (Fri, 01 Feb 2008) | 3 lines Bump distutils version number to match Python version. ........ r60516 | raymond.hettinger | 2008-02-02 00:12:19 +0100 (Sat, 02 Feb 2008) | 1 line Fix int/long typecase. Add check for non-binary floating point. ........ r60517 | raymond.hettinger | 2008-02-02 00:45:44 +0100 (Sat, 02 Feb 2008) | 1 line Add protection from weirdness while scaling the mantissa to an integer. ........ r60518 | raymond.hettinger | 2008-02-02 06:11:40 +0100 (Sat, 02 Feb 2008) | 1 line Simpler solution to handling non-IEEE 754 environments. ........ r60519 | raymond.hettinger | 2008-02-02 06:24:44 +0100 (Sat, 02 Feb 2008) | 1 line Neaten-up a bit. ........ r60520 | georg.brandl | 2008-02-02 10:56:20 +0100 (Sat, 02 Feb 2008) | 2 lines Amendments to the urllib2 docs, written for GHOP by Thomas Lamb. ........ r60525 | georg.brandl | 2008-02-02 11:49:58 +0100 (Sat, 02 Feb 2008) | 3 lines Add email example how to send a multipart message. Written for GHOP by Martin Matejek. ........ r60526 | georg.brandl | 2008-02-02 12:05:00 +0100 (Sat, 02 Feb 2008) | 2 lines Rewrite test_socketserver as unittest, written for GHOP by Benjamin Petersen. ........ r60527 | georg.brandl | 2008-02-02 12:05:34 +0100 (Sat, 02 Feb 2008) | 2 lines Add GHOP contributor. ........ r60530 | mark.dickinson | 2008-02-02 18:16:13 +0100 (Sat, 02 Feb 2008) | 2 lines Make the Rational constructor accept '3.' and '.2' as well as '3.2'. ........ r60531 | neal.norwitz | 2008-02-02 19:52:51 +0100 (Sat, 02 Feb 2008) | 1 line Update the leaky tests (ie, ignore these tests if they report leaks). This version has been running for a while. ........ r60533 | skip.montanaro | 2008-02-02 20:11:57 +0100 (Sat, 02 Feb 2008) | 7 lines Split the refleak mail body into two parts, the first being those failing tests which are deemed more important issues, the second those which are known to have difficult to solve problems and are generally expected to leak. Hopefully this doesn't break the script... ........ r60535 | georg.brandl | 2008-02-03 01:04:50 +0100 (Sun, 03 Feb 2008) | 3 lines Wait for a delay before reaping children -- this should fix the test_socketserver failures on several platforms. ........ r60536 | brett.cannon | 2008-02-03 03:07:55 +0100 (Sun, 03 Feb 2008) | 2 lines Fix a minor typo. ........ r60537 | brett.cannon | 2008-02-03 03:08:45 +0100 (Sun, 03 Feb 2008) | 3 lines Directories from CPPFLAGS and LDFLAGS were being added in the reverse order for searches as to how they were listed in the environment variable. ........ r60538 | brett.cannon | 2008-02-03 03:34:14 +0100 (Sun, 03 Feb 2008) | 2 lines Remove extra tick marks and add a missing closing parenthesis. ........ r60540 | andrew.macintyre | 2008-02-03 07:58:06 +0100 (Sun, 03 Feb 2008) | 2 lines Update OS/2 EMX build bits for 2.6. ........ r60541 | andrew.macintyre | 2008-02-03 08:01:11 +0100 (Sun, 03 Feb 2008) | 2 lines Rename module definition file to reflect v2.6. ........ r60542 | andrew.macintyre | 2008-02-03 08:07:31 +0100 (Sun, 03 Feb 2008) | 6 lines The wrapper function is supposed to be for spawnvpe() so that's what we should call [this wrapper only available on OS/2]. Backport candidate to 2.5. ........ r60544 | gregory.p.smith | 2008-02-03 08:20:53 +0100 (Sun, 03 Feb 2008) | 6 lines Merge this fix from the pybsddb tree: r293 | jcea | 2008-01-31 01:08:19 -0800 (Thu, 31 Jan 2008) | 4 lines Solved memory leak when using cursors with databases without environment. ........ r60546 | gregory.p.smith | 2008-02-03 09:01:46 +0100 (Sun, 03 Feb 2008) | 2 lines remove a repeated occurance of a hardcoded berkeleydb library version number ........ r60549 | brett.cannon | 2008-02-03 10:59:21 +0100 (Sun, 03 Feb 2008) | 2 lines Add an entry for r60537. ........ r60550 | georg.brandl | 2008-02-03 13:29:00 +0100 (Sun, 03 Feb 2008) | 2 lines #2003: fix sentence. ........ r60551 | christian.heimes | 2008-02-03 15:34:18 +0100 (Sun, 03 Feb 2008) | 2 lines Fixed paths to Windows build directories in build_ext.py Use vsbuild instead of devenv in build.bat and _bsddb.vcproj ........
* Merged revisions 59605-59624 via svnmerge fromChristian Heimes2007-12-311-48/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r59606 | georg.brandl | 2007-12-29 11:57:00 +0100 (Sat, 29 Dec 2007) | 2 lines Some cleanup in the docs. ........ r59611 | martin.v.loewis | 2007-12-29 19:49:21 +0100 (Sat, 29 Dec 2007) | 2 lines Bug #1699: Define _BSD_SOURCE only on OpenBSD. ........ r59612 | raymond.hettinger | 2007-12-29 23:09:34 +0100 (Sat, 29 Dec 2007) | 1 line Simpler documentation for itertools.tee(). Should be backported. ........ r59613 | raymond.hettinger | 2007-12-29 23:16:24 +0100 (Sat, 29 Dec 2007) | 1 line Improve docs for itertools.groupby(). The use of xrange(0) to create a unique object is less obvious than object(). ........ r59620 | christian.heimes | 2007-12-31 15:47:07 +0100 (Mon, 31 Dec 2007) | 3 lines Added wininst-9.0.exe executable for VS 2008 Integrated bdist_wininst into PCBuild9 directory ........ r59621 | christian.heimes | 2007-12-31 15:51:18 +0100 (Mon, 31 Dec 2007) | 1 line Moved PCbuild directory to PC/VS7.1 ........ r59622 | christian.heimes | 2007-12-31 15:59:26 +0100 (Mon, 31 Dec 2007) | 1 line Fix paths for build bot ........ r59623 | christian.heimes | 2007-12-31 16:02:41 +0100 (Mon, 31 Dec 2007) | 1 line Fix paths for build bot, part 2 ........ r59624 | christian.heimes | 2007-12-31 16:18:55 +0100 (Mon, 31 Dec 2007) | 1 line Renamed PCBuild9 directory to PCBuild ........
* It works w/o the newline on my system but you are right. A newline is nicer.Christian Heimes2007-11-091-1/+1
|
* I've created three bat files based on the howto ↵Christian Heimes2007-11-081-0/+50
http://wiki.python.org/moin/Building_Python_with_the_free_MS_C_Toolkit I figured out that the files may suite other developers. The files take care of most problems and makes building Python on Windows easier. Simply double click on build_env.bat to open a shell and type build.