Skip to content

Conversation

lgeiger
Copy link
Member

@lgeiger lgeiger commented Nov 14, 2020

What do these changes do?

This PR strips dead symbols from the built wheel which together with #565 reduces the wheel size from 48MB to 44MB.

See
https://developer.apple.com/library/archive/documentation/Performance/Conceptual/CodeFootprint/Articles/CompilerOptions.html

How Has This Been Tested?

Locally built pip package and tested the converter..

@lgeiger lgeiger added the internal-improvement Internal Improvements and Maintenance label Nov 14, 2020
@lgeiger lgeiger requested a review from a team November 14, 2020 14:11
@Tombana
Copy link
Collaborator

Tombana commented Nov 16, 2020

Can we somehow test that this does not strip out kernels that are needed for constant-folding? (Based on the file-size I'd say its fine)

@lgeiger
Copy link
Member Author

lgeiger commented Nov 16, 2020

Can we somehow test that this does not strip out kernels that are needed for constant-folding? (Based on the file-size I'd say its fine)

Yes, I double checked with quicknet.

@lgeiger lgeiger merged commit e29964e into master Nov 16, 2020
@lgeiger lgeiger deleted the strip-macos branch November 16, 2020 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal-improvement Internal Improvements and Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants