Skip to content

Commit f192e6f

Browse files
authored
Merge pull request #409 from Dirreke/fix-406
Update features to match intel-mkl-src 8.1
2 parents 193a7c0 + 4ea9e72 commit f192e6f

File tree

4 files changed

+36
-8
lines changed

4 files changed

+36
-8
lines changed

.github/workflows/intel-mkl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919
- name: cargo test
20-
run: cargo test --manifest-path=ndarray-linalg/Cargo.toml --no-default-features --features=intel-mkl-static --verbose
20+
run: cargo test --manifest-path=ndarray-linalg/Cargo.toml --no-default-features --features=intel-mkl-static-lp64-seq --verbose

lax/Cargo.toml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,25 @@ default = []
1717

1818
netlib = ["netlib-static"]
1919
openblas = ["openblas-static"]
20-
intel-mkl = ["intel-mkl-static"]
20+
intel-mkl = ["intel-mkl-static-lp64-seq"]
2121

2222
netlib-static = ["netlib-src/static"]
2323
netlib-system = ["netlib-src/system"]
2424

2525
openblas-static = ["openblas-src/static"]
2626
openblas-system = ["openblas-src/system"]
2727

28-
intel-mkl-static = ["intel-mkl-src/mkl-static-lp64-seq"]
29-
intel-mkl-system = ["intel-mkl-src/mkl-dynamic-lp64-seq"]
28+
intel-mkl-static = ["intel-mkl-src/mkl-static-lp64-seq"] # deprecated, use intel-mkl-static-lp64-seq instead
29+
intel-mkl-system = ["intel-mkl-src/mkl-dynamic-lp64-seq"] # deprecated, use intel-mkl-dynamic-lp64-seq instead
30+
31+
intel-mkl-dynamic-ilp64-iomp = ["intel-mkl-src/mkl-dynamic-ilp64-iomp"]
32+
intel-mkl-dynamic-ilp64-seq = ["intel-mkl-src/mkl-dynamic-ilp64-seq"]
33+
intel-mkl-dynamic-lp64-iomp = ["intel-mkl-src/mkl-dynamic-lp64-iomp"]
34+
intel-mkl-dynamic-lp64-seq = ["intel-mkl-src/mkl-dynamic-lp64-seq"]
35+
intel-mkl-static-ilp64-iomp = ["intel-mkl-src/mkl-static-ilp64-iomp"]
36+
intel-mkl-static-ilp64-seq = ["intel-mkl-src/mkl-static-ilp64-seq"]
37+
intel-mkl-static-lp64-iomp = ["intel-mkl-src/mkl-static-lp64-iomp"]
38+
intel-mkl-static-lp64-seq = ["intel-mkl-src/mkl-static-lp64-seq"]
3039

3140
[dependencies]
3241
thiserror = "2.0.0"

lax/src/lib.rs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,17 @@
7676
7777
#![deny(rustdoc::broken_intra_doc_links, rustdoc::private_intra_doc_links)]
7878

79-
#[cfg(any(feature = "intel-mkl-system", feature = "intel-mkl-static"))]
79+
#[cfg(any(
80+
feature = "intel-mkl-static", //decprecated
81+
feature = "intel-mkl-dynamic", //decprecated
82+
feature = "intel-mkl-dynamic-lp64-iomp",
83+
feature = "intel-mkl-dynamic-lp64-seq",
84+
feature = "intel-mkl-static-ilp64-iomp",
85+
feature = "intel-mkl-static-lp64-iomp",
86+
feature = "intel-mkl-dynamic-ilp64-iomp",
87+
feature = "intel-mkl-static-ilp64-seq",
88+
feature = "intel-mkl-static-lp64-seq"
89+
))]
8090
extern crate intel_mkl_src as _src;
8191

8292
#[cfg(any(feature = "openblas-system", feature = "openblas-static"))]

ndarray-linalg/Cargo.toml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,25 @@ blas = ["ndarray/blas"]
1818

1919
netlib = ["lax/netlib"]
2020
openblas = ["lax/openblas"]
21-
intel-mkl = ["lax/intel-mkl"]
21+
intel-mkl = ["lax/intel-mkl-static-lp64-seq"]
2222

2323
netlib-static = ["lax/netlib-static"]
2424
netlib-system = ["lax/netlib-system"]
2525

2626
openblas-static = ["lax/openblas-static"]
2727
openblas-system = ["lax/openblas-system"]
2828

29-
intel-mkl-static = ["lax/intel-mkl-static"]
30-
intel-mkl-system = ["lax/intel-mkl-system"]
29+
intel-mkl-static = ["lax/intel-mkl-static"] # deprecated, use intel-mkl-static-lp64-seq instead
30+
intel-mkl-system = ["lax/intel-mkl-system"] # deprecated, use intel-mkl-dynamic-lp64-seq instead
31+
32+
intel-mkl-dynamic-ilp64-iomp = ["lax/intel-mkl-dynamic-ilp64-iomp"]
33+
intel-mkl-dynamic-ilp64-seq = ["lax/intel-mkl-dynamic-ilp64-seq"]
34+
intel-mkl-dynamic-lp64-iomp = ["lax/intel-mkl-dynamic-lp64-iomp"]
35+
intel-mkl-dynamic-lp64-seq = ["lax/intel-mkl-dynamic-lp64-seq"]
36+
intel-mkl-static-ilp64-iomp = ["lax/intel-mkl-static-ilp64-iomp"]
37+
intel-mkl-static-ilp64-seq = ["lax/intel-mkl-static-ilp64-seq"]
38+
intel-mkl-static-lp64-iomp = ["lax/intel-mkl-static-lp64-iomp"]
39+
intel-mkl-static-lp64-seq = ["lax/intel-mkl-static-lp64-seq"]
3140

3241
[dependencies]
3342
cauchy = "0.4.0"

0 commit comments

Comments
 (0)