GH-113632: update configure.ac for WebAssembly support tiers (#115192)

Move WASI to tier 2 and drop Emscripten.
This commit is contained in:
Brett Cannon 2024-02-09 00:21:49 -08:00 committed by GitHub
parent 553c90ccc2
commit c968dc7ff3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 6 deletions

View File

@ -1339,6 +1339,12 @@ Build Changes
:ref:`limited C API <limited-c-api>`.
(Contributed by Victor Stinner in :gh:`85283`.)
* ``wasm32-wasi`` is now a tier 2 platform.
(Contributed by Brett Cannon in :gh:`115192`.)
* ``wasm32-emscripten`` is no longer a supported platform.
(Contributed by Brett Cannon in :gh:`115192`.)
C API Changes
=============

View File

@ -0,0 +1,2 @@
Promote WASI to a tier 2 platform and drop Emscripten from tier 3 in
configure.ac.

6
configure generated vendored
View File

@ -6805,6 +6805,8 @@ case $host/$ac_cv_cc_name in #(
aarch64-*-linux-gnu/clang) :
PY_SUPPORT_TIER=2 ;; #(
powerpc64le-*-linux-gnu/gcc) :
PY_SUPPORT_TIER=2 ;; #(
wasm32-unknown-wasi/clang) :
PY_SUPPORT_TIER=2 ;; #(
x86_64-*-linux-gnu/clang) :
PY_SUPPORT_TIER=2 ;; #(
@ -6817,10 +6819,6 @@ case $host/$ac_cv_cc_name in #(
PY_SUPPORT_TIER=3 ;; #(
s390x-*-linux-gnu/gcc) :
PY_SUPPORT_TIER=3 ;; #(
wasm32-unknown-emscripten/clang) :
PY_SUPPORT_TIER=3 ;; #(
wasm32-unknown-wasi/clang) :
PY_SUPPORT_TIER=3 ;; #(
x86_64-*-freebsd*/clang) :
PY_SUPPORT_TIER=3 ;; #(
*) :

View File

@ -973,14 +973,13 @@ AS_CASE([$host/$ac_cv_cc_name],
[aarch64-*-linux-gnu/gcc], [PY_SUPPORT_TIER=2], dnl Linux ARM64, glibc, gcc+clang
[aarch64-*-linux-gnu/clang], [PY_SUPPORT_TIER=2],
[powerpc64le-*-linux-gnu/gcc], [PY_SUPPORT_TIER=2], dnl Linux on PPC64 little endian, glibc, gcc
[wasm32-unknown-wasi/clang], [PY_SUPPORT_TIER=2], dnl WebAssembly System Interface, clang
[x86_64-*-linux-gnu/clang], [PY_SUPPORT_TIER=2], dnl Linux on AMD64, any vendor, glibc, clang
[aarch64-pc-windows-msvc/msvc], [PY_SUPPORT_TIER=3], dnl Windows ARM64, MSVC
[armv7l-*-linux-gnueabihf/gcc], [PY_SUPPORT_TIER=3], dnl ARMv7 LE with hardware floats, any vendor, glibc, gcc
[powerpc64le-*-linux-gnu/clang], [PY_SUPPORT_TIER=3], dnl Linux on PPC64 little endian, glibc, clang
[s390x-*-linux-gnu/gcc], [PY_SUPPORT_TIER=3], dnl Linux on 64bit s390x (big endian), glibc, gcc
[wasm32-unknown-emscripten/clang], [PY_SUPPORT_TIER=3], dnl WebAssembly Emscripten
[wasm32-unknown-wasi/clang], [PY_SUPPORT_TIER=3], dnl WebAssembly System Interface
[x86_64-*-freebsd*/clang], [PY_SUPPORT_TIER=3], dnl FreeBSD on AMD64
[PY_SUPPORT_TIER=0]
)