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
Stripping binaries in conda-forge packages #520
Comments
I'm always on the fence when adding flags to the build env. But I'm definitely not against stripping binaries. (I already do that in a few places actually.) |
Is there an easy way to add this to the |
As this came up in the meeting today and there was a question as to where this was being discussed... cc @conda-forge/core |
At our last meeting @jjhelmus raised some concerns about strip all. Believe one concern was that it made debugging errors/crashes hard. Also he had mentioned that Cython generated kind of large binaries, which seems relevant in the case of Pandas. Not sure if there was a cause for this. I don't recall all of the details ATM. So maybe he can fill us in here. More generally there is room for improvement even before we consider things like strip all. For instance, we haven't made very good use of optimization flags across conda-forge. So at least some level of More particular to Docker, it's good to make sure that you are running |
Related to discussions in ContinuumIO/anaconda-issues#8242 and related issues, I would like to see that we strip binaries in conda-forge packages. For example in the case of Pandas 0.22 on Linux & Py3.6 the current package is 26M large and uncompressed to 108M on disk. If we build this using
CFLAGS=-Wl,-strip-all
, the size reduces to 11M packaged and 52M on disk.I'm wondering if it would be possible to add this to the environment setting in general for conda-forge builds or if I should raise an issue with
conda-build
that there should be an option to strip binaries after the build.The text was updated successfully, but these errors were encountered: