-
Notifications
You must be signed in to change notification settings - Fork 30
build without debug symbols and exclude source from wheels #44
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
gpg: assuming signed data in 'libssh-0.9.6.tar.xz' gpg: Signature made Do 26 Aug 2021 14:28:25 CEST gpg: using RSA key 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D gpg: Good signature from "Andreas Schneider <[email protected]>" [unknown] gpg: aka "Andreas Schneider <[email protected]>" [unknown] gpg: aka "Andreas Schneider <[email protected]>" [unknown] Primary key fingerprint: 8DFF 53E1 8F2A BC8D 8F3C 9223 7EE0 FC4D CC01 4E3D
rebased for CI fix |
@@ -47,7 +47,7 @@ | |||
] | |||
|
|||
# _comp_args = ["-ggdb"] | |||
_comp_args = ["-O3"] if not ON_WINDOWS else None | |||
_comp_args = ['-O3', '-g0', '-s'] if not ON_WINDOWS else None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is -s
for here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It behaves similar to stripping afterwards but it's not exactly the same (stripping still reduces size a little bit). -g0 undoes the -g added by setuptools by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool. Might be worth checking if -Os
instead of -O3
reduces size any further. Doubt the O3 optimisations are making much of a difference in speed.
stacked on top of #41 due to touching the same files
Fixes #43
(eref 42d478fb6976)