Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ci/scripts/python_build_emscripten.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@ if [ "${GITHUB_ACTIONS:-}" = "true" ]; then
fi

pushd "${python_build_dir}"
# scikit-build-core strips unnecessary symbols by default.
# LLVM 23 also removes the required dylink.0 section (llvm/llvm-project#180246)
export SKBUILD_INSTALL_STRIP=false

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am wondering whether we want this happening on the rest of the wheels too.
Should we just try to add this section to the pyproject.toml:

[tool.scikit-build]
install.strip = false

We manually strip debug symbols on wheels when building but I am unsure we want to strip all as discussed in the past. Details here:

@rok what do you think?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

For my understanding - what level of symbols do we want to distribute in wheels? Debug or less? Should we have debug wheels (that we perhaps only distribute through github and not pypi to save pypi quota).
How about distributing debug symbols separately? (see generated prototype here https://github.com/rok/arrow/pull/59/changes)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we can merge this. This seems to have been the behaviour since scikit-build-core 0.5 and we've had several releases with it. No need to change current behavior globally.

pyodide build
popd
Loading