FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-100340: Allows -Wno-int-conversion for wasm by kushaldas · Pull Request #100341 · python/cpython · GitHub

Repository navigation

gh-100340: Allows -Wno-int-conversion for wasm - #100341

Merged
kushaldas merged 1 commit into
python:mainfrom
kushaldas:wasi17_fix
Jan 18, 2023
Merged

kushaldas merged 1 commit into
python:mainfrom
kushaldas:wasi17_fix

Conversation

kushaldas commented Dec 19, 2022 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Adds new configuration directive to disable int-conversion and then using it for the wasm32-wasi build only. This allows us to build on the version 17 of the wasm-sdk.

How to test manually?

Install the version 17 of the SDK and then run the following command:

./Tools/wasm/wasm_build.py wasi

Copy link
Copy Markdown
Member

I looked at the output for https://buildbot.python.org/all/#/builders/1046 , but I couldn't find any way to tell what version of the WASI SDK was used to build Python. I know that @tiran set up the buildbots using https://github.com/tiran/ansible-wasm-buildbot .

Copy link
Copy Markdown
Member Author

I looked at the output for https://buildbot.python.org/all/#/builders/1046 , but I couldn't find any way to tell what version of the WASI SDK was used to build Python. I know that @tiran set up the buildbots using https://github.com/tiran/ansible-wasm-buildbot .

@brettcannon The buildbot is using version 16 according to https://github.com/tiran/ansible-wasm-buildbot/blob/main/roles/wasi-sdk/defaults/main.yml#L3

Comment thread Tools/wasm/config.site-wasm32-wasi Outdated
Comment thread Tools/wasm/config.site-wasm32-wasi Outdated
kushaldas force-pushed the wasi17_fix branch 2 times, most recently from 64a65f3 to 8fe9902 Compare December 20, 2022 08:34
erlend-aasland self-requested a review December 20, 2022 19:07

erlend-aasland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM!

Copy link
Copy Markdown
Member Author

This worked on wasi-sdk-19 too.

kushaldas merged commit 75c8133 into python:main Jan 18, 2023

Copy link
Copy Markdown
Member

@kushaldas any reason this wasn't backported?

merwok commented Jun 24, 2023

Copy link
Copy Markdown
Member

Came here from your recent blog post — as a small build change that can be considered a bug fix, and would give the benefit of keeping various python versions compatible with the latest wasi runtime, this seems fine to backport!

merwok added the needs backport to 3.11 only security fixes label Jun 24, 2023

Copy link
Copy Markdown
Contributor

Thanks @kushaldas for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 24, 2023
Fixes pythonGH-100340 allows -Wno-int-conversion for wasm
(cherry picked from commit 75c8133)

Co-authored-by: Kushal Das <mail@kushaldas.in>

Copy link
Copy Markdown

GH-106066 is a backport of this pull request to the 3.11 branch.

bedevere-bot removed the needs backport to 3.11 only security fixes label Jun 24, 2023
erlend-aasland pushed a commit that referenced this pull request Jun 28, 2023
…06066)

(cherry picked from commit 75c8133)

Co-authored-by: Kushal Das <mail@kushaldas.in>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL