Skip to content

Commit

Permalink
Add CPPFLAGS and LDFLAGS to cibuildwheel through CIBW_ENVIRONMENT
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Sep 15, 2024
1 parent c7486f1 commit 40061b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ jobs:
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_BUILD: cp${{ matrix.python }}-*
CIBW_BUILD_VERBOSITY: 2
CIBW_ENVIRONMENT: CPPFLAGS='/opt/homebrew/include' LDFLAGS='/opt/homebrew/lib'

- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 40061b6

Please sign in to comment.