Skip to content

Commit

Permalink
CI: Remove debug info from Linux wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
marktsuchida committed Nov 3, 2023
1 parent 43d1fde commit 5655360
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_ARCHS_MACOS: "${{ matrix.macos_arch }}"
# Python on Linux is usually configured to add debug information,
# which increases binary size by ~11-fold. Remove for the builds we
# distribute.
CIBW_ENVIRONMENT_LINUX: "LDFLAGS=-Wl,--strip-debug"

- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 5655360

Please sign in to comment.