Skip to content

Make sure manylinux and macOS builds strip the binary #215

@mattip

Description

@mattip

Once upon a time, we used more of multibuild in the openblas build process. That would pull in the STRIP_FLAGS from configure_build.sh. At some point that got left behind. I am not sure we are using the correct link arguments to strip the binaries, resulting in shipping uneccessary symbols. We should revisit adding -Wl,-strip-all to the CFLAGS in tools/build_steps.sh. As mentioned in numpy/numpy#29928, the windows was handled in #175.

This will reduce the size of the binary from ~24MB to ~23MB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions