Skip to content
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

Allow repair to use strip with --strip-debug instead of only allowing --strip-all #491

Open
raulcd opened this issue Jun 7, 2024 · 0 comments

Comments

@raulcd
Copy link

raulcd commented Jun 7, 2024

Auditwheels allowed the ability to strip symbols on:

When we use the --strip option:

p.add_argument(
"--strip",
dest="STRIP",
action="store_true",
help="Strip symbols in the resulting wheel",
default=False,
)

The option used today is to execute strip -s, see:
check_call(["strip", "-s", lib])

We have been doing some debugging on the Apache Arrow project and we would like to use the option to strip only debug symbols in order to preserve the full backtrace including non-public functions when debugging and still be able to reduce the size of our wheels, see more information here: apache/arrow#40749 (comment)

I would like to have the ability to pass the --strip-debug to strip. I am happy to create a PR if you think this is ok to be done.

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

No branches or pull requests

1 participant