Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Make sure manylinux and macOS builds strip the binary

Open
#215 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
shell
Domain
build-system

Research direction

Start by comparing tools/build_steps.sh with configure_build.sh, especially the existing STRIP_FLAGS handling. Run the manylinux and macOS build paths and inspect whether the produced binaries retain unnecessary symbols and whether their sizes decrease. Done means both builds strip the binaries without breaking the build.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Shell
Stars
17
Forks
25
Avg merge
7h 10m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from MacPython/openblas-libs

All issues in MacPython/openblas-libs

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.