Skip to content

Commit

Permalink
use system openblas
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Jun 27, 2023
1 parent 848f9e0 commit be0dcae
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
args: --release --out dist --find-interpreter
sccache: 'true'
manylinux: auto
before-script-linux: yum install -y openssl-devel
before-script-linux: yum install -y openssl-devel openblas-devel
- name: Upload wheels
uses: actions/upload-artifact@v3
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install openblas
run: |
sudo apt install libopenblas-dev
- name: Install tox
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -60,6 +63,9 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install openblas
run: |
sudo apt install libopenblas-dev
- name: Install tox
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ crate-type = ["cdylib"]

[dependencies]
blas = "0.22"
openblas-src = { version = "0.10", features = ["static"] }
openblas-src = { version = "0.10", features = ["system"] }
ndarray = { version = "0.15", features = ["rayon"] }
numpy = "0.18"
pyo3 = { version = "0.18", features = [
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dev = [
"black",
"coverage",
"jupyter-sphinx",
"maturin[patchelf]",
"maturin",
"mypy",
"nbmake",
"nbsphinx",
Expand Down

0 comments on commit be0dcae

Please sign in to comment.