summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Build
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-97731: Specify the full path to the docs for `make docclean` (GH-98982)Brett Cannon2022-11-021-0/+2
| | | | Specify the full path to the docs for `make docclean` This is to have `make clean` not error out on cross-builds.
* gh-99016: Make build scripts compatible with Python 3.8 (GH-99017)Serhiy Storchaka2022-11-021-0/+1
|
* gh-98989: configure: add 3.11 to list of Pythons (#98988)Jelle Zijlstra2022-11-021-0/+1
| | | | | Closes #98989 Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-98776: Fix make regen-test-levenshtein for out-of-tree builds (GH-98779)Miro Hrončok2022-10-281-0/+1
| | | | | Fixes https://github.com/python/cpython/issues/98776 Automerge-Triggered-By: GH:erlend-aasland
* Python 3.12.0a1v3.12.0a1Thomas Wouters2022-10-2433-68/+0
|
* gh-96761: Fix build process of the clang compiler for _bootstrap_python ↵Dong-hee Na2022-09-231-0/+2
| | | | | (gh-96945) Co-authored-by: Matthias Goergens <matthias.goergens@gmail.com>
* gh-96883: browser: include concurrent.futures (GH-96886)Christian Heimes2022-09-171-0/+2
|
* gh-89536: Use ThinLTO policy if possible (gh-96766)Dong-hee Na2022-09-161-0/+2
|
* gh-96729: Ensure installers built with Tools/msi/buildrelease.bat have ↵adang13452022-09-121-0/+2
| | | | matching UUIDs with official releases (GH-96755)
* gh-84461: Omit resource mod and getresuid funcs on Emscripten (GH-96303)Christian Heimes2022-09-111-0/+3
|
* gh-94682: Build and test with OpenSSL 1.1.1q (gh-94683)Christian Heimes2022-08-291-0/+1
|
* gh-95973: Add a new --with-dsymutil option to link debug information in ↵Pablo Galindo Salgado2022-08-271-0/+2
| | | | | macOS (GH-95974) Automerge-Triggered-By: GH:pablogsal
* gh-96269: Fix build dependency on AIX (GH-96304)Christian Heimes2022-08-261-0/+3
|
* gh-90536: Add support for the BOLT post-link binary optimizer (gh-95908)Kevin Modzelewski2022-08-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for the BOLT post-link binary optimizer Using [bolt](https://github.com/llvm/llvm-project/tree/main/bolt) provides a fairly large speedup without any code or functionality changes. It provides roughly a 1% speedup on pyperformance, and a 4% improvement on the Pyston web macrobenchmarks. It is gated behind an `--enable-bolt` configure arg because not all toolchains and environments are supported. It has been tested on a Linux x86_64 toolchain, using llvm-bolt built from the LLVM 14.0.6 sources (their binary distribution of this version did not include bolt). Compared to [a previous attempt](https://github.com/faster-cpython/ideas/issues/224), this commit uses bolt's preferred "instrumentation" approach, as well as adds some non-PIE flags which enable much better optimizations from bolt. The effects of this change are a bit more dependent on CPU microarchitecture than other changes, since it optimizes i-cache behavior which seems to be a bit more variable between architectures. The 1%/4% numbers were collected on an Intel Skylake CPU, and on an AMD Zen 3 CPU I got a slightly larger speedup (2%/4%), and on a c6i.xlarge EC2 instance I got a slightly lower speedup (1%/3%). The low speedup on pyperformance is not entirely unexpected, because BOLT improves i-cache behavior, and the benchmarks in the pyperformance suite are small and tend to fit in i-cache. This change uses the existing pgo profiling task (`python -m test --pgo`), though I was able to measure about a 1% macrobenchmark improvement by using the macrobenchmarks as the training task. I personally think that both the PGO and BOLT tasks should be updated to use macrobenchmarks, but for the sake of splitting up the work this PR uses the existing pgo task. * Simplify the build flags * Add a NEWS entry * Update Makefile.pre.in Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> * Update configure.ac Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> * Add myself to ACKS * Add docs * Other review comments * fix tab/space issue * Make it more clear that --enable-bolt is experimental * Add link to bolt's github page Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
* gh-93744: Remove configure --with-cxx-main option (#95651)Victor Stinner2022-08-051-0/+3
| | | | | | | | | | | | Remove the "configure --with-cxx-main" build option: it didn't work for many years. Remove the MAINCC variable from configure and Makefile. The MAINCC variable was added by the issue gh-42471: commit 0f48d98b740110a672b62d467af192ec160e56ba. Previously, --with-cxx-main was named --with-cxx. Keep CXX and LDCXXSHARED variables, even if they are no longer used by Python build system.
* gh-95174: Add pthread stubs for WASI (GH-95234)Christian Heimes2022-07-271-0/+2
| | | Co-authored-by: Brett Cannon <brett@python.org>
* gh-95174: WASI: skip missing sockets functions (GH-95179)Christian Heimes2022-07-271-0/+1
|
* gh-95085: Promote Emscripten and WASI to PEP 11 tier 3 (GH-95086)Christian Heimes2022-07-271-0/+2
|
* gh-94801: Fix regression in configure's CPPFLAGS handling (GH-95288)Christian Heimes2022-07-261-0/+2
|
* gh-95174: Handle missing dup() and constants in WASI (GH-95229)Christian Heimes2022-07-261-0/+2
| | | | | | | - check for ``dup()`` libc function - handle missing ``F_DUPFD`` in ``dup2()`` replacement function - add workaround for WASI libc bug in MSG_TRUNC - ESHUTDOWN is missing, use EPIPE instead - POLLPRI is missing, define as 0 (no-op)
* gh-85454: Remove links from historical mentions of distutils (GH-95192)Oleg Iarygin2022-07-251-1/+1
|
* gh-94847: Don't force inlining in debug builds of libmpdec (GH-94848)Christian Heimes2022-07-181-0/+2
|
* gh-94801: Use custom flags to check for headers and libs (#94802)Christian Heimes2022-07-151-0/+2
|
* gh-94841: Ensure arena_map_get() is inlined in PyObject_Free() (#94842)neonene2022-07-141-0/+1
|
* gh-93939: Build C extensions without setup.py (GH-94474)Christian Heimes2022-07-141-0/+2
| | | Combines GH-93940, GH-94452, and GH-94433
* gh-94773: deepfreeze: support frozensets with unsortable types (GH-94775)Christian Heimes2022-07-121-0/+2
|
* gh-90005: Port readline and curses to PY_STDLIB_MOD (GH-94452)Christian Heimes2022-07-061-0/+5
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-90005: Port _dbm module to PY_STDLIB_MOD (GH-94433)Christian Heimes2022-07-011-0/+1
|
* gh-90005-ffi: Fix building _ctypes without pkg-config (GH-94451)Christian Heimes2022-07-011-0/+1
| | | The fallback path did not set LIBFFI_LIBS variable to link with ``-lffi``.
* gh-94404: Use module CFLAGS before PY_STDMODULE_CFLAGS (GH-94413)Christian Heimes2022-06-291-1/+2
| | | | ``PY_STDMODULE_CFLAGS`` may contain include directories with system headers. This can break compiling with built-in libmpdec.
* gh-94404: makesetup: use correct CFLAGS and macOS workaround (GH-94405)Christian Heimes2022-06-291-0/+2
| | | | ``makesetup`` now works around an issue with sed on macOS and uses correct CFLAGS for object files that end up in a shared extension.
* gh-93939: Create and install scripts in Makefile (GH-94324)Christian Heimes2022-06-281-0/+2
| | | Scripts for 2to3, idle, and pydoc are now created and installed by make.
* gh-94280: Require Python 3.9 or higher to compile CPython on Windows (GH-94281)Shixian Li2022-06-271-0/+3
|
* gh-93491: Add support tier detection to configure (GH-93492)Christian Heimes2022-06-101-0/+1
| | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Steve Dower <steve.dower@microsoft.com> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-93584: Make all install+tests targets depends on all (GH-93589)Christian Heimes2022-06-081-0/+2
| | | | | | | | All install targets use the "all" target as synchronization point to prevent race conditions with PGO builds. PGO builds use recursive make, which can lead to two parallel `./python setup.py build` processes that step on each others toes. "test" targets now correctly compile PGO build in a clean repo.
* gh-69093: Fix Setup.local.in rule for _sqlite3 (GH-93380)Christian Heimes2022-05-311-0/+1
|
* GH-93207: Remove HAVE_STDARG_PROTOTYPES configure check for stdarg.h (#93215)Kumar Aditya2022-05-271-0/+3
|
* gh-93202: Always use %zd printf formatter (#93201)Victor Stinner2022-05-251-0/+4
| | | | | | | | | | | | | | | | Python now always use the ``%zu`` and ``%zd`` printf formats to format a size_t or Py_ssize_t number. Building Python 3.12 requires a C11 compiler, so these printf formats are now always supported. * PyObject_Print() and _PyObject_Dump() now use the printf %zd format to display an object reference count. * Update PY_FORMAT_SIZE_T comment. * Remove outdated notes about the %zd format in PyBytes_FromFormat() and PyUnicode_FromFormat() documentations. * configure no longer checks for the %zd format and no longer defines PY_FORMAT_SIZE_T macro in pyconfig.h. * pymacconfig.h no longer undefines PY_FORMAT_SIZE_T: macOS 10.4 is no longer supported. Python 3.12 now requires macOS 10.6 (Snow Leopard) or newer.
* gh-78630: Drop invalid HP aCC compiler switch -fPIC on HP-UX (#8847)Michael Osipov2022-05-191-0/+1
| | | | | At compile time, '+z' is already properly used with HP aCC, and shared libraries are correctly linked with '+b'. The '-fPIC' switch can safely be dropped.
* gh-90473: Increase stack size, disable obmalloc on WASI (GH-92732)Christian Heimes2022-05-131-0/+1
|
* Python 3.11.0b1Pablo Galindo2022-05-064-7/+0
|
* gh-89452: Prefer gdbm-compat over ndbm (#92208)Łukasz Langa2022-05-031-0/+2
| | | | | This makes macOS gdbm provided by Homebrew not segfault through correct selection of the linked library (-lgdbm_compat) *AND* the correct ndbm-style header (gdbm-ndbm.h instead of the invalid ndbm.h).
* gh-91731: Build Python with -std=c11 (#91733)Victor Stinner2022-04-201-0/+2
| | | | Python is now built with "-std=c11" compiler option, rather than "-std=c99".
* bpo-47152: Automatically regenerate sre_constants.h (GH-91439)Serhiy Storchaka2022-04-121-0/+1
| | | | | | | * Move the code for generating Modules/_sre/sre_constants.h from Lib/re/_constants.py into a separate script Tools/scripts/generate_sre_constants.py. * Add target `regen-sre` in the makefile. * Make target `regen-all` depending on `regen-sre`.
* bpo-47103: Copy pgort140.dll into output directory when building ↵Steve Dower2022-04-061-0/+2
| | | | PGInstrument on Windows (GH-32083)
* Python 3.11.0a7v3.11.0a7Pablo Galindo2022-04-059-16/+0
|
* bpo-45774: Harden SQLite detection (GH-30016)Erlend Egeberg Aasland2022-04-051-0/+2
|
* bpo-40280: Add --enable-wasm-dynamic-linking (GH-32253)Christian Heimes2022-04-041-0/+2
|
* bpo-46023: makesetup: skip all duplicate modules (GH-32234)Christian Heimes2022-04-011-0/+2
|
* bpo-40280: Add wasm32-emscripten and wasm32-wasi SOABI (GH-32095)Christian Heimes2022-03-241-0/+2
| | | | | Shared extension on Emscripten now have suffix ``.cpython-311-wasm32-emscripten.so`` (JS loader) and ``.cpython-311-wasm32-emscripten.wasm`` (WebAssembly code).