summaryrefslogtreecommitdiffstats
path: root/PCbuild/pyproject.props
Commit message (Collapse)AuthorAgeFilesLines
* gh-115167: Exclude vcruntime140_threads.dll from Windows build output ↵adang13452024-02-081-1/+1
| | | | (GH-115176)
* gh-112984 Update Windows build and installer for free-threaded builds ↵Steve Dower2024-01-171-3/+10
| | | | (GH-113129)
* gh-113650: Add workaround option for MSVC ARM64 bug affecting string ↵Steve Dower2024-01-091-0/+2
| | | | encoding (GH-113836)
* gh-113827: Move Windows frozen modules directory to allow PGO builds (GH-113828)Steve Dower2024-01-081-1/+1
|
* gh-113258: Write frozen modules to the build tree on Windows (GH-113303)Itamar Oren2024-01-031-0/+1
| | | This ensures the source directory is not modified at build time, and different builds (e.g. different versions or GIL vs no-GIL) do not have conflicts.
* gh-111650: Ensure pyconfig.h includes Py_GIL_DISABLED on Windows (GH-112778)Steve Dower2023-12-131-2/+4
|
* gh-111863: Rename `Py_NOGIL` to `Py_GIL_DISABLED` (#111864)Hugo van Kemenade2023-11-201-1/+1
| | | Rename Py_NOGIL to Py_GIL_DISABLED
* gh-111786: Optimize for space for _PyEval_EvalFrameDefault on MSVC for PGO ↵Michael Droettboom2023-11-091-0/+1
| | | | | | | (#111794) In PGO mode, this function caused a compiler error in MSVC. It turns out that optimizing for space only save the day, and is even faster. However, without PGO, this is neither necessary nor slower.
* gh-90815: Add mimalloc memory allocator (#109914)Dino Viehland2023-10-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add mimalloc v2.12 Modified src/alloc.c to remove include of alloc-override.c and not compile new handler. Did not include the following files: - include/mimalloc-new-delete.h - include/mimalloc-override.h - src/alloc-override-osx.c - src/alloc-override.c - src/static.c - src/region.c mimalloc is thread safe and shares a single heap across all runtimes, therefore finalization and getting global allocated blocks across all runtimes is different. * mimalloc: minimal changes for use in Python: - remove debug spam for freeing large allocations - use same bytes (0xDD) for freed allocations in CPython and mimalloc This is important for the test_capi debug memory tests * Don't export mimalloc symbol in libpython. * Enable mimalloc as Python allocator option. * Add mimalloc MIT license. * Log mimalloc in Lib/test/pythoninfo.py. * Document new mimalloc support. * Use macro defs for exports as done in: https://github.com/python/cpython/pull/31164/ Co-authored-by: Sam Gross <colesbury@gmail.com> Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-110437: Allow overriding VCRuntimeDLL with a semicolon separated list of ↵Steve Dower2023-10-091-1/+4
| | | | DLLs to bundle (GH-110470)
* gh-108374: Add --disable-gil option to PCbuild/build.bat (#108729)Sam Gross2023-09-021-0/+1
| | | | This adds a `--disable-gil` option to PCbuild/build.bat. For now, all this does is define the Py_NOGIL macro.
* ARM64 clamping bug also exists in MSVC 14.35 (GH-105679)Steve Dower2023-06-121-1/+1
|
* gh-103097: Add workaround for Windows ARM64 compiler bug (GH-103098)Steve Dower2023-03-281-0/+9
| | | See https://developercommunity.visualstudio.com/t/Regression-in-MSVC-1433-1434-ARM64-co/10224361 for details of the issue. It only applies to version 14.34.
* gh-77532: Minor tweaks to allow compiling with PlatformToolset=ClangCL on ↵Steve Dower2023-01-271-2/+5
| | | | | | Windows (GH-101352) To use this, ensure that clang support was selected in Visual Studio Installer, then set the PlatformToolset environment variable to "ClangCL" and build as normal from the command line. It remains unsupported, but at least is possible now for experimentation.
* gh-92348: Add quotes to support building on Windows with spaces in directory ↵Steve Dower2022-07-171-1/+1
| | | | name (GH-94925)
* gh-92984: Explicitly disable incremental linking for Windows Release and PGO ↵David Machaj2022-05-191-0/+1
| | | | builds (GH-92985)
* bpo-46778: Enable multiprocess compilation for source files when building on ↵Jeremy Kloth2022-02-171-0/+1
| | | | Windows (GH-31390)
* bpo-46088: Automatically detect or install bootstrap Python runtime when ↵Steve Dower2021-12-181-0/+13
| | | | building from Visual Studio (GH-30143)
* bpo-45582: Write empty pybuilddir.txt on Windows to allow relocatable build ↵Steve Dower2021-12-081-1/+1
| | | | directories (GH-29979)
* bpo-45816: Support building with VS 2022 (v143 toolset) on Windows (GH-29577)Crowthebird2021-12-031-1/+1
|
* bpo-43974: Move Py_BUILD_CORE_MODULE into module code (GH-29157)Christian Heimes2021-10-221-1/+0
| | | | | | | | | | | | | | setup.py no longer defines Py_BUILD_CORE_MODULE. Instead every module defines the macro before #include "Python.h" unless Py_BUILD_CORE_BUILTIN is already defined. Py_BUILD_CORE_BUILTIN is defined for every module that is built by Modules/Setup. The PR also simplifies Modules/Setup. Makefile and makesetup already define Py_BUILD_CORE_BUILTIN and include Modules/internal for us. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-44381: Windows build now allows enabling control flow guard (GH-26645)Steve Dower2021-06-111-2/+2
|
* bpo-42825: Enable /OPT:REF (GH-24098)Austin Lamb2021-02-191-0/+1
| | | We explicitly disable /OPT:ICF as some manual optimisations depend on some functions still having distinct pointers (such as wrap_binary_func and wrap_binary_func_l).
* bpo-43174: Windows: Use /utf-8 compiler option. (GH-24498)Inada Naoki2021-02-121-0/+1
|
* Enable signing of nuget.org packages and update to supported timestamp ↵Steve Dower2020-11-031-2/+2
| | | | server (GH-23132)
* bpo-29778: Ensure python3.dll is loaded from correct locations when Python ↵Steve Dower2020-07-061-1/+2
| | | | | | is embedded (GH-21297) Also enables using debug build of `python3_d.dll` Reference: CVE-2020-15523
* bpo-41054: Simplify resource compilation on Windows (GH-21004)Nikita Nemkin2020-06-231-16/+1
| | | | | | | Remove auto-generated resource header. Pass definitions required by resource files (ORIGINAL_FILENAME and FIELD3) directly to resource compiler. Remove unused MS_DLL_ID resource string and related dead code.
* bpo-39930: Fix MSBuild detection for Build Tools (GH-18938)Steve Dower2020-03-111-8/+26
| | | Ensure we detect Build Tools installs using the newer logic, and skip looking in the registry for VS 2017.
* bpo-39930: Convert error to warning for more silent failure (GH-18921)Steve Dower2020-03-111-1/+1
| | | Makes it an error to create a layout without vcruntime DLL
* bpo-39930: Ensure vcruntime140.dll is included in all Windows packages ↵Steve Dower2020-03-111-0/+21
| | | | | (GH-18918) Also adds GitHub CI test for Windows installer changes
* bpo-25361: Enable SSE2 instructions for Windows 32-bit build (GH-12438)animalize2019-06-241-1/+0
|
* Implement Windows release builds in Azure Pipelines (GH-14065)Steve Dower2019-06-141-8/+10
|
* bpo-36941: Windows build changes for Windows ARM64 (GH-13365)Paul Monson2019-05-171-0/+1
|
* bpo-35976: Enable Windows projects to build with platform ARM32 (GH-11825)Paul Monson2019-02-141-0/+2
| | | This change adds the necessary items to the build projects to avoid erroring out right at the start. It does not add _support_ for targeting Windows on ARM32, but is a necessary prerequisite for adding it.
* Enable signing Windows builds with SHA1 environment variable (GH-11279)Steve Dower2018-12-211-2/+3
|
* bpo-35081: Add pycore_ prefix to internal header files (GH-10263)Victor Stinner2018-10-311-2/+2
| | | | | | | | | | | | | | | | | | | | * Rename Include/internal/ header files: * pyatomic.h -> pycore_atomic.h * ceval.h -> pycore_ceval.h * condvar.h -> pycore_condvar.h * context.h -> pycore_context.h * pygetopt.h -> pycore_getopt.h * gil.h -> pycore_gil.h * hamt.h -> pycore_hamt.h * hash.h -> pycore_hash.h * mem.h -> pycore_mem.h * pystate.h -> pycore_state.h * warnings.h -> pycore_warnings.h * PCbuild project, Makefile.pre.in, Modules/Setup: add the Include/internal/ directory to the search paths of header files. * Update includes. For example, replace #include "internal/mem.h" with #include "pycore_mem.h".
* bpo-35059, PCbuild: Expand inline funcs in Debug (GH-10094)Victor Stinner2018-10-261-0/+2
| | | | | | | | | | Visual Studio solution: Set InlineFunctionExpansion to OnlyExplicitInline ("/Ob1" option) on all projects (in pyproject.props) in Debug mode on Win32 and x64 platforms to expand functions marked as inline. This change should make Python compiled in Debug mode a little bit faster on Windows. On Unix, GCC uses -Og optimization level for ./configure --with-pydebug.
* bpo-34980: P/Invoke QueryFullProcessImageName to get process names (GH-9901)Jeremy Kloth2018-10-231-10/+25
|
* bpo-31944: Fixes build and Modify button (#4278)Steve Dower2017-11-041-0/+1
|
* bpo-31523: Reliability improvements to the Windows build files (#3900)Steve Dower2017-10-051-1/+1
|
* bpo-31340: Change to building with MSVC v141 (included with Visual Studio ↵Steve Dower2017-09-061-1/+17
| | | | 2017) (#3311)
* [bpo-30916] Pre-build OpenSSL and Tcl/Tk for Windows (#2688)Steve Dower2017-07-171-1/+1
| | | Updates ssl and tkinter projects to use pre-built externals
* Issue #28402: Adds signed catalog files for stdlib on Windows.Steve Dower2016-10-101-5/+7
|
* Make PGO use usual build directory on Windows.Steve Dower2016-09-121-1/+0
|
* Fixes default intermediate directory when building on Windows.Steve Dower2016-07-251-1/+1
|
* Issue #27469: Adds a shell extension to the launcher so that drag and drop ↵Steve Dower2016-07-161-2/+3
| | | | works correctly.
* Fixes use of Py_IntDir and Py_OutDir to control build directories.Steve Dower2016-07-161-7/+4
|
* Adds version info to all signed binaries on Windows.Steve Dower2016-04-061-7/+7
|
* Updates build to use SHA256 hash when signing files.Steve Dower2016-02-081-1/+1
|
* Issue #25934: Default to /fp:strict for ICC buildsZachary Ware2016-01-301-0/+3
|