Skip to content

Commit

Permalink
Attempt to fix gmp issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Aug 29, 2024
1 parent 89d6956 commit a894a94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ jobs:
MACOSX_DEPLOYMENT_TARGET: "11.0"
run: |
brew install gmp
export GMP_DIR=$(brew --prefix gmp)
export CMAKE_INCLUDE_PATH=$GMP_DIR/include:$CMAKE_INCLUDE_PATH
export CMAKE_LIBRARY_PATH=$GMP_DIR/lib:$CMAKE_LIBRARY_PATH
python${{ matrix.python.major-dot-minor }} -m venv venv
. venv/bin/activate
maturin build -i python --release -m wheel/Cargo.toml
Expand Down

0 comments on commit a894a94

Please sign in to comment.