From ef777c5ca72e33e1efa0a75b6f380e158a30fa22 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Sun, 23 Aug 2026 11:18:31 +0100 Subject: [PATCH 1/2] Update `configure` for RISC-V support --- .../Build/2026-08-23-12-10-45.gh-issue-156244.Rv6qXt.rst | 2 ++ configure | 6 +++++- configure.ac | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Build/2026-08-23-12-10-45.gh-issue-156244.Rv6qXt.rst diff --git a/Misc/NEWS.d/next/Build/2026-08-23-12-10-45.gh-issue-156244.Rv6qXt.rst b/Misc/NEWS.d/next/Build/2026-08-23-12-10-45.gh-issue-156244.Rv6qXt.rst new file mode 100644 index 000000000000000..0114e9dd6883557 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2026-08-23-12-10-45.gh-issue-156244.Rv6qXt.rst @@ -0,0 +1,2 @@ +Update :program:`configure` for the ``riscv64-unknown-linux-gnu`` target triple, +which is now a :pep:`11` tier 3 supported platform. diff --git a/configure b/configure index 1373474034197d7..6b560fe6841b722 100755 --- a/configure +++ b/configure @@ -7470,7 +7470,11 @@ case $host/$ac_cv_cc_name in #( PY_SUPPORT_TIER=3 ;; #( powerpc64le-*-linux-gnu/clang) : PY_SUPPORT_TIER=3 ;; #( - s390x-*-linux-gnu/gcc) : + riscv64-*-linux-gnu/gcc) : + PY_SUPPORT_TIER=3 ;; #( + riscv64-*-linux-gnu/clang) : + PY_SUPPORT_TIER=3 ;; #( + s390x-*-linux-gnu/gcc) : PY_SUPPORT_TIER=3 ;; #( x86_64-*-freebsd*/clang) : PY_SUPPORT_TIER=3 ;; #( diff --git a/configure.ac b/configure.ac index be83c49da1a83d4..476f13c82bbb2b9 100644 --- a/configure.ac +++ b/configure.ac @@ -1269,6 +1269,8 @@ AS_CASE([$host/$ac_cv_cc_name], [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 + [riscv64-*-linux-gnu/gcc], [PY_SUPPORT_TIER=3], dnl Linux on RISC-V 64bit, glibc, gcc+clang + [riscv64-*-linux-gnu/clang], [PY_SUPPORT_TIER=3], [s390x-*-linux-gnu/gcc], [PY_SUPPORT_TIER=3], dnl Linux on 64bit s390x (big endian), glibc, gcc [x86_64-*-freebsd*/clang], [PY_SUPPORT_TIER=3], dnl FreeBSD on AMD64 [aarch64-apple-ios*-simulator/clang], [PY_SUPPORT_TIER=3], dnl iOS Simulator on arm64 From 9518c4d56adf5a49c45f638f623b7d46cd07648e Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Sun, 23 Aug 2026 19:58:46 +0100 Subject: [PATCH 2/2] Update Misc/NEWS.d/next/Build/2026-08-23-12-10-45.gh-issue-156244.Rv6qXt.rst Co-authored-by: Emma Smith --- .../next/Build/2026-08-23-12-10-45.gh-issue-156244.Rv6qXt.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Misc/NEWS.d/next/Build/2026-08-23-12-10-45.gh-issue-156244.Rv6qXt.rst b/Misc/NEWS.d/next/Build/2026-08-23-12-10-45.gh-issue-156244.Rv6qXt.rst index 0114e9dd6883557..a286955751c3a60 100644 --- a/Misc/NEWS.d/next/Build/2026-08-23-12-10-45.gh-issue-156244.Rv6qXt.rst +++ b/Misc/NEWS.d/next/Build/2026-08-23-12-10-45.gh-issue-156244.Rv6qXt.rst @@ -1,2 +1 @@ -Update :program:`configure` for the ``riscv64-unknown-linux-gnu`` target triple, -which is now a :pep:`11` tier 3 supported platform. +Update :program:`configure` to reflect that the ``riscv64-unknown-linux-gnu`` target triple is now a :pep:`11` tier 3 supported platform.