]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-95855: Refactor platform triplet detection code, add detection for MIPS soft float...
authorJeffery To <jeffery.to@gmail.com>
Thu, 24 Aug 2023 12:22:50 +0000 (20:22 +0800)
committerGitHub <noreply@github.com>
Thu, 24 Aug 2023 12:22:50 +0000 (14:22 +0200)
commitc163d7f0b67a568e9b64eeb9c1cbbaa127818596
tree9ecd5bc084927c4be85a4067a6be8ee972bb4eea
parent809ea7c4b6c2b818ae510f1f58e82b6b05ed4ef9
gh-95855: Refactor platform triplet detection code, add detection for MIPS soft float and musl libc (#107221)

- Move platform triplet detection code into Misc/platform_triplet.c
- Refactor MIPS detection, use defined(__mips64) to detect MIPS64
- Compute libc values in separate section
- Add detection for MIPS soft float
- Add detection for musl

musl supports SPE with its soft-float ABI:
https://git.musl-libc.org/cgit/musl/commit/?id=7be59733d71ada3a32a98622507399253f1d5e48

Original patch by Christian Heimes.

Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Misc/NEWS.d/next/Build/2023-07-25-02-30-00.gh-issue-95855.wA7rAf.rst [new file with mode: 0644]
Misc/platform_triplet.c [new file with mode: 0644]
configure
configure.ac