Skip to content

fixes in setup.py for emscripten-wasm32 build #737

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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

DerThorsten
Copy link

These changes are needed to build the package with emscripten.
This PR disables / bypasses the usage of the cpuinfo package when building for emscripten-wasm32.
Furthermore I removed the threading argument from blosc when compiling for emscripten.

TODO:

  • Unit tests and/or doctests in docstrings
  • Tests pass locally
  • Docstrings and API docs for any new/modified user-facing classes and functions
  • Changes documented in docs/release.rst
  • Docs build locally
  • GitHub Actions CI passes
  • Test coverage to 100% (Codecov passes)

@DerThorsten DerThorsten changed the title Emscripten fixes in setup.py for emscripten-wasm32 build Apr 10, 2025
@agriyakhetarpal
Copy link
Contributor

See also: #529, which is also a contemporary PR that performs a subset of the changes here. I'm not fully sure how py-cpuinfo is working for the Pyodide builds. :)

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.

2 participants