Skip to content

Commit

Permalink
Moves openblas to 0.10.11 for MSRV 1.71.1
Browse files Browse the repository at this point in the history
  • Loading branch information
akern40 committed Dec 20, 2024
1 parent 3a86331 commit db95d14
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
FEATURES: "test docs"
RUSTFLAGS: "-D warnings"
MSRV: 1.64.0
BLAS_MSRV: 1.76.0
BLAS_MSRV: 1.71.1

jobs:
clippy:
Expand Down Expand Up @@ -97,14 +97,14 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.76.0 # BLAS MSRV
toolchain: 1.71.1 # BLAS MSRV
- uses: rui314/setup-mold@v1
- uses: Swatinem/rust-cache@v2
- name: Install openblas
run: sudo apt-get install libopenblas-dev gfortran
- run: cargo tree -p blas-tests -i openblas-src -F blas-tests/openblas-system
- run: cargo tree -p blas-tests -i openblas-build -F blas-tests/openblas-system
- run: ./scripts/blas-integ-tests.sh 1.76.0
- run: ./scripts/blas-integ-tests.sh $BLAS_MSRV

miri:
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions crates/blas-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ ndarray = { workspace = true, features = ["approx", "blas"] }
ndarray-gen = { workspace = true }

blas-src = { version = "0.10", optional = true }
openblas-src = { version = "=0.10.9", optional = true }
openblas-src = { version = ">=0.10.11", optional = true }
netlib-src = { version = "0.8", optional = true }
blis-src = { version = "0.2", features = ["system"], optional = true }
openblas-build = "=0.10.9"

[dev-dependencies]
defmac = "0.2"
Expand Down
3 changes: 1 addition & 2 deletions crates/numeric-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ rand = { workspace = true }
rand_distr = { workspace = true }

blas-src = { optional = true, version = "0.10", default-features = false, features = ["openblas"] }
openblas-src = { optional = true, version = "=0.10.9", default-features = false, features = ["cblas", "system"] }
openblas-build = "=0.10.9"
openblas-src = { optional = true, version = ">=0.10.11", default-features = false, features = ["cblas", "system"] }

[dev-dependencies]
num-traits = { workspace = true }
Expand Down

0 comments on commit db95d14

Please sign in to comment.