https://github.com/python/cpython/commit/b92f101d0f19a1df32050b8502cfcce777b079b2
commit: b92f101d0f19a1df32050b8502cfcce777b079b2
branch: main
author: Hood Chatham <[email protected]>
committer: freakboy3742 <[email protected]>
date: 2024-12-18T07:17:09+08:00
summary:
gh-127146: Emscripten Include compiler version in _PYTHON_HOST_PLATFORM
(#127992)
Modifies _PYTHON_HOST_PLATFORM to include the compiler version under
Emscripten. The Emscripten compiler version is the platform version
compatibility identifier.
files:
M configure
M configure.ac
diff --git a/configure b/configure
index 57be576e3cae99..6df1116fc600f2 100755
--- a/configure
+++ b/configure
@@ -4545,6 +4545,9 @@ printf "%s\n" "$IPHONEOS_DEPLOYMENT_TARGET" >&6; }
*-*-vxworks*)
_host_ident=$host_cpu
;;
+ *-*-emscripten)
+ _host_ident=$(emcc -dumpversion)-$host_cpu
+ ;;
wasm32-*-* | wasm64-*-*)
_host_ident=$host_cpu
;;
diff --git a/configure.ac b/configure.ac
index bd0221481c5341..8295b59b8e45fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -793,6 +793,9 @@ if test "$cross_compiling" = yes; then
*-*-vxworks*)
_host_ident=$host_cpu
;;
+ *-*-emscripten)
+ _host_ident=$(emcc -dumpversion)-$host_cpu
+ ;;
wasm32-*-* | wasm64-*-*)
_host_ident=$host_cpu
;;
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]