Skip to content

Conversation

@anthrotype
Copy link
Member

@anthrotype anthrotype commented Oct 11, 2025

Add -g0 to extra_compile_args to override manylinux Python's default -g flag and prevent debug symbols from being included in wheels.

Setting CFLAGS as environment variable didn't seem to have an effect in those cases.

This is meant to mitigate #260

Add -g0 to extra_compile_args to override manylinux Python's default -g flag and prevent debug symbols from being included in wheels.

Setting CFLAGS as environment variable didn't seem to have an effect in those cases.
@anthrotype
Copy link
Member Author

much much better, they went down from 15MB to about 2MB each:

Screenshot 2025-10-11 at 17 53 40

@anthrotype anthrotype merged commit ab21e95 into main Oct 11, 2025
6 checks passed
@anthrotype anthrotype deleted the strip-debug-linux-wheels branch October 11, 2025 16:54
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