Skip to content

BLD Add option to embed shared libraries into the wheel#3183

Closed
ryanking13 wants to merge 27 commits intopyodide:mainfrom
ryanking13:auditwheel
Closed

BLD Add option to embed shared libraries into the wheel#3183
ryanking13 wants to merge 27 commits intopyodide:mainfrom
ryanking13:auditwheel

Conversation

@ryanking13
Copy link
Member

Description

This is an implementation of #3167. It works, but it is still work-in-progress as this change adds load time overhead of checking if a shared library needs to be loaded locally or globally. I am looking for a better and faster way.

  • Adds a new key in meta.yaml: vendor-sharedlib.
    • If it is set to true, auditwheel-emscripten will find shared libraries used by the wheel and copy them into the wheel.
    • In this PR, I only applied this key to h5py and shapely. Other packages are not affected.

Checklists

  • Add a CHANGELOG entry
  • Add / update tests
  • Add new / update outdated documentation

@ryanking13 ryanking13 changed the title BLD Add option to embed shared libraries into the wheel during the build BLD Add option to embed shared libraries into the wheel Oct 13, 2022
@ryanking13
Copy link
Member Author

ryanking13 commented Nov 3, 2022

I think I managed to make this (almost) work. I'll split this up into multiple PRs to make review easier.

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.

1 participant