multi-build/multibuild

strip debug info from wheel

Closed this issue · 1 comments

I was trying to strip the debug info from the scikit-image packages but the exact command depends on the compiler used.

I think it might be better to implement the fix at the packaging level.

Do you think it would be appropriate to add:

-Wl,--strip-all

for when gcc is used?

For llvm, the appropriate flag seems

-W,-strip-all

though on mac osx, the debug symbols seem to already be stripped...

Do you explicitly set the compiler anywhere?

xref cython/cython#2102 (comment)
scikit-image/scikit-image#3325