summaryrefslogtreecommitdiffstats
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* GH-127970: find the runtime library when dladdr is available (#127972)Filipe Laíns 🇵🇸2025-01-081-0/+6
|
* gh-127614: Correctly check for ttyname_r() in configure (#128503)Erlend E. Aasland2025-01-071-3/+3
| | | | PR #14868 replaced the ttyname() call with ttyname_r(), but the old check remained.
* gh-128472: Add `-skip-funcs` to BOLT options to fix computed goto errors ↵Zanie Blue2025-01-071-1/+1
| | | | | | | | | | | | | (gh-128511) * Add `-skip-funcs` to BOLT options to fix computed goto errors Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com> * NEWS --------- Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
* gh-127146: Strip dash from Emscripten compiler version (#128557)Hood Chatham2025-01-061-1/+1
| | | | | `emcc -dumpversion` will sometimes say e.g., `4.0.0-git` but in this case uname does not include `-git` in the version string. Use cut to delete everything after the dash.
* gh-128437: Add `BOLT_COMMON_FLAGS` with `-update-debug-sections` (gh-128455)Zanie Blue2025-01-051-2/+16
| | | | | Add `BOLT_COMMON_FLAGS` with `-update-debug-sections` Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
* gh-128354: Consistently use LIBS over LDFLAGS in library build checks (#128359)Zanie Blue2025-01-031-25/+24
|
* gh-128456: Use '-reorder-functions=cdsort' for BOLT builds (#128457)Zanie Blue2025-01-031-1/+1
| | | 'hfsort+' is deprecated in favor of 'cdsort'.
* gh-115765: Upgrade to GNU Autoconf 2.72 (#128411)Erlend E. Aasland2025-01-031-2772/+4109
|
* gh-128104: Remove `Py_STRFTIME_C99_SUPPORT`; require C99-compliant strftime ↵Zanie Blue2025-01-031-10/+4
| | | | (#128106)
* gh-128321: Set LIBS instead of LDFLAGS when checking sqlite3 requirements ↵Zanie Blue2024-12-301-1/+1
| | | | | (#128322) Co-authored-by: Erlend E. Aasland <erlend@python.org>
* gh-128279: Enhance the NetBSD compatibility for thread naming (#128280)Furkan Onder2024-12-281-0/+1
| | | Enhance NetBSD compatibility for thread naming in _threadmodule.c.
* gh-100384: Error on `unguarded-availability` in macOS builds (#128155)Zanie Blue2024-12-221-0/+41
| | | Generate a build error on ``unguarded-availability`` in portable macOS builds (i.e. using MACOSX_DEPLOYMENT_TARGET), preventing invalid use of symbols that are not available in older versions of the OS.
* gh-127688: Add `SCHED_DEADLINE` and `SCHED_NORMAL` constants to `os` module ↵RUANG (James Roy)2024-12-191-0/+6
| | | | (GH-127689)
* gh-127146: Emscripten Include compiler version in _PYTHON_HOST_PLATFORM ↵Hood Chatham2024-12-171-0/+3
| | | | | | | (#127992) Modifies _PYTHON_HOST_PLATFORM to include the compiler version under Emscripten. The Emscripten compiler version is the platform version compatibility identifier.
* gh-127111: Emscripten Move link flags from `LDFLAGS_NODIST` to ↵Hood Chatham2024-12-091-5/+5
| | | | | | | `LINKFORSHARED` (#127666) Corrects the usage of linking flags to avoid compilation errors related to the use of `-sEXPORTED_FUNCTIONS` when linking shared libraries.
* gh-59705: Add _thread.set_name() function (#127338)Victor Stinner2024-12-061-0/+30
| | | | | | | | | | | On Linux, threading.Thread now sets the thread name to the operating system. * configure now checks if pthread_getname_np() and pthread_setname_np() functions are available. * Add PYTHREAD_NAME_MAXLEN macro. * Add _thread._NAME_MAXLEN constant for test_threading. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-93312: Include <sys/pidfd.h> to get PIDFD_NONBLOCK (#127593)Victor Stinner2024-12-051-0/+6
|
* gh-127503: Emscripten make Python.sh function as proper Python CLI (#127506)Hood Chatham2024-12-051-1/+1
| | | Modifies the python.sh script to work on macOS, and adapt to recent emscripten changes.
* gh-127146: Emscripten: Skip segfaults in test suite (#127151)Hood Chatham2024-12-051-0/+1
| | | | Added skips for tests known to cause problems when running on Emscripten. These mostly relate to the limited stack depth on Emscripten.
* gh-127111: Emscripten Make web example work again (#127113)Hood Chatham2024-12-021-5/+9
| | | | | Moves the Emscripten web example into a standalone folder, and updates Makefile targets to build the web example. Instructions for usage have also been added.
* GH-127429: fix sysconfig data generation on cross-builds (#127430)Filipe Laíns 🇵🇸2024-12-021-4/+2
|
* gh-126898: Emscripten support: Use es6 modules (#126903)Hood Chatham2024-11-211-2/+2
| | | | Modify Emscripten support to use ES6 modules.
* gh-126691: Remove --with-emscripten-target (#126787)Hood Chatham2024-11-161-97/+13
| | | | | This unifies the code for nodejs and the code for the browser. After this commit, the browser example doesn't work; this will be fixed in a subsequent update.
* gh-89640: Pull in update to float word order detection in autoconf-archive ↵Hood Chatham2024-11-131-115/+111
| | | | (#126747)
* gh-89640: Restore configure error message on failure to detect float word ↵Hood Chatham2024-11-081-1/+1
| | | | | | | | | | | order (#126569) Before #126387, if we didn't detect float word order we'd raise the following configure error: Unknown float word ordering. You need to manually preset ax_cv_c_float_words_bigendian=no (or yes) according to your system. This puts it back (except for ARM or WASM, which as hardcoded).
* GH-123877: default to `wasm32-wasip1` instead of `wasm32-wasi` to be more ↵Brett Cannon2024-11-071-3/+3
| | | | | | | | | specific (GH-126552) Eventually wasm32-wasi will represent WASI 1.0, and so it's currently deprecated so it can be used for that eventual purpose. wasm32-wasip1 is also more specific to what version of WASI is currently supported. --------- Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-96398: Improve accuracy of compiler checks in configure.ac (#117815)Erlend E. Aasland2024-11-071-99/+68
| | | | | | | | | The following variables are now used in compiler checks: - $ac_cv_gcc_compat is set to 'yes' for GCC compatible compilers (the C preprocessor defines the __GNUC__ macro) - for compiler basename checks, use $CC_BASENAME (may contain platform triplets) - for the rest, use $ac_cv_cc_name (does not contain platform triplets)
* GH-126458: disable SIMD for HACL under WASI (#126512)Brett Cannon2024-11-061-2/+4
| | | Requires an extra `-msimd128` flag and the `*mmintrin.h` header files are exclusive to x86-family CPUs.
* gh-89640: Hardcode WASM float word ordering as little endian (#126387)Erlend E. Aasland2024-11-041-27/+20
|
* gh-99108: Cleanup references to inexisting `Modules/_blake2`. (GH-126270)Bénédikt Tran2024-11-011-1/+0
| | | | | | | | | * Remove references to `Modules/_blake2`. * Remove `Modules/_blake2` entry from CODEOWNERS The folder does not exist anymore. * Remove `Modules/_blake2` entry from `Tools/c-analyzer/TODO`
* gh-126178: NFC Separate Emscripten and WASI standard lib disables in ↵Hood Chatham2024-10-311-13/+23
| | | | | configure (#126179) Separate the Emscripten and WASI stdlib configuration in configure.
* gh-91962: Fix `hstrerror` detection issues on Solaris (GH-91963)Jakub Kulík2024-10-301-3/+82
|
* gh-125206: Correct detection of complex numbers support in libffi (#126104)Sergey B Kirpichev2024-10-301-3/+16
|
* gh-124932: Distinguish build prefix from host prefix in cross builds (#124933)Hood Chatham2024-10-291-0/+25
| | | | | | | | | | | | | In Emscripten and other cross builds, the build file system and the host file system look different. For instance, we may want to install into `cross-build/$TARGET/lib`, and then mount that as `/lib` in the host file system. This change adds a distinction between: * `prefix` -- the path in the build file system where we want to install the files * `host_prefix` -- the path in the host file system where getpath.c will look for the files And similarly for `exec_prefix` and `host_exec_prefix`. At present, this is only used for Emscripten.
* gh-124928: Emscripten node support: Clean up old node <= 16 flags (#124929)Hood Chatham2024-10-291-55/+1
| | | | | | Clean up configure flags for old node versions These flags are only needed for node <= 16. Node 16 has been end of life since October of 2023.
* gh-89640: properly detect float word ordering on Linux (#125571)Erlend E. Aasland2024-10-261-5/+14
| | | autoconf-archive patch by Dan Amelang.
* gh-125698: Autoconf: Sync EXEEXT and ac_exeext (#125995)Erlend E. Aasland2024-10-261-0/+3
|
* gh-125698: Restore EXEEXT in configure and Make (#125758)Erlend E. Aasland2024-10-201-11/+11
| | | This reverts commit e924bb667.
* gh-125698: Replace EXEEXT with EXE_SUFFIX (#125699)Erlend E. Aasland2024-10-201-11/+11
|
* gh-115382: Fix cross compiles when host and target use same SOABIVincent Fazio2024-10-161-1/+1
| | | | Co-authored-by: Erlend E. Aasland <erlend@python.org>
* gh-125206: Bug in ctypes with old libffi is fixed (#125322)Mikhail Efimov2024-10-151-0/+64
| | | | | | Workaround for old libffi versions is added. Module ctypes now supports C11 double complex only with libffi >= 3.3.0. Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* gh-125269: Use `AC_LINK_IF_ELSE` to detect if `-latomic` is needed (#125416)Sam Gross2024-10-151-9/+3
| | | | | | | | We previously used `AC_RUN_IF_ELSE` with a short test program to detect if `-latomic` is needed, but that requires choosing a specific default value when cross-compiling because the test program is not run. Some cross compilation targets like `wasm32-emscripten` do not support `-latomic`, while other cross compilation targets, like `arm-linux-gnueabi` require it.
* gh-124944: Add socket.SO_ORIGINAL_DST (#124945)Steven Jin2024-10-141-0/+6
|
* gh-123990: Good bye WITH_FREELISTS macro (gh-124358)Donghee Na2024-09-241-27/+0
|
* gh-99108: Disable HACL SIMD code on older versions of Android (#124304)Malcolm Smith2024-09-231-29/+39
| | | Disable HACL SIMD code on older versions of Android
* gh-124228: Fix UUID test in configure files for NetBSD (#124229)Furkan Onder2024-09-231-0/+8
| | | Fix UUID configuration in configure files for NetBSD compatibility.
* gh-124191: Disable -Wconversion in enable safety (gh-124192)Nate Ohlson2024-09-181-39/+0
|
* gh-124043: Disallow mixing `--with-trace-refs` and `--disable-gil` (#124078)Peter Bierma2024-09-161-0/+4
| | | Tracing references is not currently thread-safe in the free-threaded build.
* gh-124064: Make warning emitting compiler options opt-in (#124070)Nate Ohlson2024-09-161-10/+205
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-123748: Add conditional compilation rules for HACL SIMD256 and SIMD128 on ↵Russell Keith-Magee2024-09-161-2/+33
| | | | | | macOS (#123989) Add conditional compilation rules to allow HACL SIMD256 and SIMD128 to be ignored on the ARM64 pass of universal2 macOS builds.