Skip to content

Commit 660ba20

Browse files
committed
Dynamically link OpenBLAS in linalg example to reduce CI time.
1 parent 18e6863 commit 660ba20

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,8 @@ jobs:
151151
uses: actions/setup-python@v2
152152
with:
153153
python-version: 3.8
154-
- name: Install gfortran
155-
run: |
156-
sudo apt install -y gfortran
154+
- name: Install OpenBLAS
155+
run: sudo apt install --yes libopenblas-dev
157156
- name: Install Rust
158157
uses: actions-rs/toolchain@v1
159158
with:

examples/linalg/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ crate-type = ["cdylib"]
1111
[dependencies]
1212
pyo3 = { version = "0.15", features = ["extension-module"] }
1313
numpy = { path = "../.." }
14-
ndarray-linalg = { version = "0.14.1", features = ["openblas-static"] }
14+
ndarray-linalg = { version = "0.14.1", features = ["openblas-system"] }

0 commit comments

Comments
 (0)