Skip to content

MAINT Clean up environment variables and pywasmcross#2053

Merged
hoodmane merged 15 commits intopyodide:mainfrom
hoodmane:fix-pyodide-build-envs
Dec 20, 2021
Merged

MAINT Clean up environment variables and pywasmcross#2053
hoodmane merged 15 commits intopyodide:mainfrom
hoodmane:fix-pyodide-build-envs

Conversation

@hoodmane
Copy link
Copy Markdown
Member

This is more maintenance on pyodide-build. The goal is to make it so that directly invoking pyodide-build from the command line actually works. This would be a huge benefit to debugging package builds, where it's a pain to select out individual failing build commands and repeat them because of issues with environment variables.

In particular, this fixes
python -m pyodide_build buildall ../packages/ ../build --only="core"
so that it runs without errors.

I also made some readability improvements to pywasmcross.

Copy link
Copy Markdown
Member

@rth rth left a comment

Choose a reason for hiding this comment

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

Thanks for doing this work! LGTM, when CI passes.

It would indeed be so much better to be able to run that command without the makefile.

@ryanking13
Copy link
Copy Markdown
Member

ryanking13 commented Dec 20, 2021

It looks like *.gnu.org is (temporarily) down, which makes fetching libiconv tarball failing.

@hoodmane
Copy link
Copy Markdown
Member Author

And it works! Just have to fix test-python.

@hoodmane hoodmane merged commit 6065bcd into pyodide:main Dec 20, 2021
@hoodmane hoodmane deleted the fix-pyodide-build-envs branch December 20, 2021 19:26
@hoodmane hoodmane mentioned this pull request Jan 4, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants