From 1d2de4733e6be9863750e03f8c26a50865bf88ee Mon Sep 17 00:00:00 2001 From: Zhang Na Date: Thu, 27 Jan 2022 09:25:41 +0800 Subject: [PATCH 1/5] bpo-46498: Add Platform triplets for LoongArch64 Signed-off-by: Zhang Na Co-authored-by: WANG Xuerui --- .../2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst | 1 + configure | 14 ++++++++++++++ configure.ac | 14 ++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst diff --git a/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst b/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst new file mode 100644 index 00000000000000..e8f52575f869dd --- /dev/null +++ b/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst @@ -0,0 +1 @@ +Add platform triplets for LoongArch64 diff --git a/configure b/configure index b8fa9d66e735dd..c9ea72cf6efacf 100755 --- a/configure +++ b/configure @@ -6143,6 +6143,20 @@ cat > conftest.c <=6) && defined(_MIPSEL) diff --git a/configure.ac b/configure.ac index 0940b93c25f7bf..10672bd3761da8 100644 --- a/configure.ac +++ b/configure.ac @@ -959,6 +959,20 @@ cat > conftest.c <=6) && defined(_MIPSEL) From c29c9491f98d123b439bd343d80228ae0dfc1731 Mon Sep 17 00:00:00 2001 From: Zhang Na Date: Mon, 8 May 2023 20:53:17 +0800 Subject: [PATCH 2/5] Modify *.rst according to Erlend Aasland's suggestion --- Doc/whatsnew/3.12.rst | 3 +++ .../Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index ccddc8bd832f29..946fa9dbd6a95b 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -1155,6 +1155,9 @@ Build Changes optimization levels (0, 1, 2) at once. (Contributed by Victor Stinner in :gh:`99289`.) +* Add platform triplets for ``LoongArch64``. + (Contributed by Zhang Na in :gh:`90656`.) + C API Changes ============= diff --git a/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst b/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst index e8f52575f869dd..9e75cd23b598a1 100644 --- a/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst +++ b/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst @@ -1 +1,7 @@ -Add platform triplets for LoongArch64 +Add platform triplets for ``LoongArch64``: + +- ``loongarch64-linux-gnusf`` +- ``loongarch64-linux-gnuf32`` +- ``loongarch64-linux-gnu`` + +Patch by Zhang Na. From 5f8d6cae6a6985d5e17b8b2eb66e6b90ec951f9d Mon Sep 17 00:00:00 2001 From: Zhang Na Date: Mon, 8 May 2023 21:27:28 +0800 Subject: [PATCH 3/5] Delete blank lines --- Doc/whatsnew/3.12.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 946fa9dbd6a95b..d68af788684c3d 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -1158,7 +1158,6 @@ Build Changes * Add platform triplets for ``LoongArch64``. (Contributed by Zhang Na in :gh:`90656`.) - C API Changes ============= From 93d3d37e10cfeb0ba075b05be131bb6cb369e448 Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" Date: Tue, 9 May 2023 10:42:10 +0200 Subject: [PATCH 4/5] Copy NEWS entry to What's New; fix formatting --- Doc/whatsnew/3.12.rst | 8 +++++++- .../2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst | 10 +++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index d68af788684c3d..90548abf3b4dad 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -1155,9 +1155,15 @@ Build Changes optimization levels (0, 1, 2) at once. (Contributed by Victor Stinner in :gh:`99289`.) -* Add platform triplets for ``LoongArch64``. +* Add platform triplets for 64-bit LoongArch: + + * loongarch64-linux-gnusf + * loongarch64-linux-gnuf32 + * loongarch64-linux-gnu + (Contributed by Zhang Na in :gh:`90656`.) + C API Changes ============= diff --git a/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst b/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst index 9e75cd23b598a1..3718930809e027 100644 --- a/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst +++ b/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst @@ -1,7 +1,7 @@ -Add platform triplets for ``LoongArch64``: +Add platform triplets for 64-bit LoongArch: -- ``loongarch64-linux-gnusf`` -- ``loongarch64-linux-gnuf32`` -- ``loongarch64-linux-gnu`` +* loongarch64-linux-gnusf +* loongarch64-linux-gnuf32 +* loongarch64-linux-gnu -Patch by Zhang Na. +Patch by Zhang Na. \ No newline at end of file From ebc16699f8d952e4a27bd822c0d9fcbeb3b1e925 Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" Date: Tue, 9 May 2023 10:48:13 +0200 Subject: [PATCH 5/5] Newline at end of NEWS item --- .../next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst b/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst index 3718930809e027..dfe71a5552070d 100644 --- a/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst +++ b/Misc/NEWS.d/next/Build/2022-06-20-15-15-11.gh-issue-90656.kFBbKe.rst @@ -4,4 +4,4 @@ Add platform triplets for 64-bit LoongArch: * loongarch64-linux-gnuf32 * loongarch64-linux-gnu -Patch by Zhang Na. \ No newline at end of file +Patch by Zhang Na.