Skip to content

Commit

Permalink
pythongh-127146: Emscripten Include compiler version in _PYTHON_HOST_…
Browse files Browse the repository at this point in the history
…PLATFORM

`test_sysconfigdata_json` is failing. This doesn't entirely fix it but it moves
the failure later -- before it doesn't even find the sysconfigdata file because
of a descrepancy between what `uname()` returns and what `configure.ac` sets
`_PYTHON_HOST_PLATFORM` to. After, there are some small differences.
  • Loading branch information
hoodmane committed Dec 16, 2024
1 parent 292afd1 commit 0c33f20
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -793,6 +793,9 @@ if test "$cross_compiling" = yes; then
*-*-vxworks*)
_host_ident=$host_cpu
;;
*-*-emscripten)
_host_ident=$(cat $(dirname $(which emcc))/emscripten-version.txt | cut -d- -f1)-$host_cpu
;;
wasm32-*-* | wasm64-*-*)
_host_ident=$host_cpu
;;
Expand Down

0 comments on commit 0c33f20

Please sign in to comment.