Skip to content

Commit

Permalink
MacOS ARM gmp install
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Sep 3, 2024
1 parent 4ccb8f5 commit 068bb44
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,16 +146,18 @@ jobs:
run: |
python -m pip install maturin
- name: Build MacOs with maturin on Python ${{ matrix.python }}
- name: Build MacOs with maturin on Python ${{ matrix.python.major-dot-minor }}
if: matrix.os.matrix == 'macos'
env:
MACOSX_DEPLOYMENT_TARGET: "11.0"
run: |
brew install gmp
export LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH
python${{ matrix.python.major-dot-minor }} -m venv venv
. venv/bin/activate
maturin build -i python --release -m wheel/Cargo.toml
- name: Build Linux with maturin on Python ${{ matrix.python }}
- name: Build Linux with maturin on Python ${{ matrix.python.major-dot-minor }}
if: matrix.os.matrix == 'ubuntu'
run: |
docker run --rm --pull always \
Expand All @@ -172,7 +174,7 @@ jobs:
CC=gcc maturin build --release --manylinux ${{ matrix.python.by-arch[matrix.arch.matrix].manylinux-version }} -m wheel/Cargo.toml \
'
- name: Build Windows with maturin on Python ${{ matrix.python }}
- name: Build Windows with maturin on Python ${{ matrix.python.major-dot-minor }}
if: matrix.os.matrix == 'windows'
env:
CC: "clang"
Expand Down

0 comments on commit 068bb44

Please sign in to comment.