Skip to content

Commit

Permalink
Dynamically link OpenBLAS in linalg example to reduce CI time.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreichold committed Jan 8, 2022
1 parent 18e6863 commit 660ba20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,8 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install gfortran
run: |
sudo apt install -y gfortran
- name: Install OpenBLAS
run: sudo apt install --yes libopenblas-dev
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion examples/linalg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.15", features = ["extension-module"] }
numpy = { path = "../.." }
ndarray-linalg = { version = "0.14.1", features = ["openblas-static"] }
ndarray-linalg = { version = "0.14.1", features = ["openblas-system"] }

0 comments on commit 660ba20

Please sign in to comment.