Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug pyodide release artifacts (and pyodide build debug support) #4691

Open
joemarshall opened this issue Apr 12, 2024 · 0 comments
Open

Debug pyodide release artifacts (and pyodide build debug support) #4691

joemarshall opened this issue Apr 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@joemarshall
Copy link
Contributor

馃殌 Feature

It would be nice to have debug (-g3 I guess) builds of pyodide core and ideally packages included as separate files on the github release. It would be even nicer if pyodide build would have an option to build packages against debug builds also.

Motivation

Right now pyodide build inherits build settings from the main pyodide package ( #4690 ). Because of this building a package as debug is a pig unless you build your own pyodide from source and call pyodide build against it. If you do manage to get your package built as debug, there is also the pain that quite often in debugging it, you end up running into the internals of pyodide or libraries which don't have debug info included.

Implementation

  1. Build of pyodide core and cpython with -g3 -o1 flags added to CI.
  2. Support in pyodide-build for debug builds (i.e. downloading the debug xbuild environment based on that debug build.)
  3. Optionally, lovely if possible, but not super important - build of packages with the same flags. (again as a distribution zip attached to the release)
@joemarshall joemarshall added the enhancement New feature or request label Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant