Skip to content

Commit

Permalink
Install build dependencies for scipy to build from source if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed May 31, 2024
1 parent 851d250 commit 994b87a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ jobs:
cache: 'pip'
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install scipy build dependencies (Linux)
run: sudo apt install -y gcc g++ gfortran libopenblas-dev liblapack-dev pkg-config python3-pip python3-dev
if: matrix.os.image == 'ubuntu-latest'
- name: Install scipy build dependencies (mac OS)
run: brew install gfortran openblas pkg-config
if: matrix.os.image == 'macOS-12' || matrix.os.image == 'macOS-14'
- name: Install dependencies
run: |
${{ steps.python.outputs.python-path }} -m pip install --upgrade pip setuptools
Expand Down

0 comments on commit 994b87a

Please sign in to comment.