Skip to content

GH-126748: amend configure.rst description for the 'build_wasm' make target #126687

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 16, 2024

Conversation

hoodmane
Copy link
Contributor

@hoodmane hoodmane commented Nov 11, 2024

It has nothing to do with --with-emscripten-target but rather is selected when the host is either wasm32-wasi or wasm32-emscripten.

cc @brettcannon @freakboy3742

@brettcannon this is another spot where wasi and emscripten are mixed together. We could consider splitting build_wasm into build_emscripten and build_wasi if it seems like a problem.


📚 Documentation preview 📚: https://cpython-previews--126687.org.readthedocs.build/

It has nothing to do with `--with-emscripten-target` but rather is selected when
the host is either wasm32-wasi or wasm32-emscripten.
@hoodmane
Copy link
Contributor Author

Can I get a skip-issue for this?

@hoodmane
Copy link
Contributor Author

As an aside, looking at the code here it seems that pgo will work on these platforms. Maybe we should raise an explicit error if --enable-optimizations is passed on these host triples until we fix configure.ac / Makefile.pre.in to not break.

@erlend-aasland erlend-aasland changed the title DOCS fix configure.rst description of when build_wasm is the all target Docs: amend configure.rst description for the 'build_wasm' make target Nov 11, 2024
@erlend-aasland
Copy link
Contributor

Can I get a skip-issue for this?

Yes, docs amendments like this do not need news entries.

@erlend-aasland
Copy link
Contributor

As an aside, looking at the code here it seems that pgo will work on these platforms. Maybe we should raise an explicit error if --enable-optimizations is passed on these host triples until we fix configure.ac / Makefile.pre.in to not break.

Let's follow this up in a dedicated issue.

@hoodmane
Copy link
Contributor Author

follow this up in a dedicated issue

Opened: #126748

@brettcannon brettcannon changed the title Docs: amend configure.rst description for the 'build_wasm' make target GH-126748: amend configure.rst description for the 'build_wasm' make target Nov 12, 2024
@hoodmane
Copy link
Contributor Author

Okay I updated the wording.

Copy link
Contributor

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@freakboy3742 freakboy3742 merged commit 2313f84 into python:main Nov 16, 2024
25 checks passed
picnixz pushed a commit to picnixz/cpython that referenced this pull request Dec 8, 2024
… make target (python#126687)

Clarified the documentation around how the build_wasm target is selected.
@hoodmane hoodmane deleted the update-configure-docs-build-wasm branch December 9, 2024 15:26
ebonnal pushed a commit to ebonnal/cpython that referenced this pull request Jan 12, 2025
… make target (python#126687)

Clarified the documentation around how the build_wasm target is selected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants