Skip to content

Commit

Permalink
Try building gmp from source
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Sep 12, 2024
1 parent a994c65 commit 14f80d1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,21 @@ jobs:
- name: Install compiler tools on macOS
if: runner.os == 'macOS'
run: |
brew install make automake swig gmp mpfr boost
brew install make automake swig mpfr boost
export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"
- name: Build gmp from source for macOS cibuildwheel
if: runner.os == 'macOS'
run: |
curl -sLO https://gmplib.org/download/gmp/gmp-6.3.0.tar.xz
tar -xf gmp-6.3.0.tar.xz
cd gmp-6.3.0
./configure --prefix=$(brew --prefix)
make --jobs
make install
cd ..
rm -rf gmp-6.3.0 gmp-6.3.0.tar.xz
- uses: pypa/[email protected]
env:
CIBW_ARCHS: ${{ matrix.arch }}
Expand Down

0 comments on commit 14f80d1

Please sign in to comment.