Skip to content

Commit fe8ad6e

Browse files
committed
Revert "Update README"
This reverts commit 48dc69c.
1 parent a4b8da2 commit fe8ad6e

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Currently three LAPACKE implementations are supported and tested:
1818
- needs `cmake` and `gfortran`
1919
- [Intel MKL](https://github.com/termoshtt/rust-intel-mkl) (non-free license, see the linked page)
2020
- needs `curl`
21-
2221
There are two ways to link LAPACKE backend:
2322

2423
### backend features (recommended)
@@ -27,7 +26,7 @@ There are three features corresponding to the backend implementations (`openblas
2726
```toml
2827
[dependencies]
2928
ndarray = "0.12"
30-
ndarray-linalg = { version = "0.10", features = ["openblas"] }
29+
ndarray-linalg = { version = "0.9", features = ["openblas"] }
3130
```
3231

3332
### link backend crate manually
@@ -37,7 +36,7 @@ You should link a LAPACKE implementation to a final crate (like binary executabl
3736
```toml
3837
[dependencies]
3938
ndarray = "0.12"
40-
ndarray-linalg = "0.10"
39+
ndarray-linalg = "0.9"
4140
openblas-src = "0.5" # or another backend of your choice
4241

4342
```
@@ -47,14 +46,7 @@ You must add `extern crate` to your code in this case:
4746
```rust
4847
extern crate ndarray;
4948
extern crate ndarray_linalg;
50-
extern crate openblas_src; // or another backend of your choice
51-
```
52-
53-
You will get a "undefined reference" link error if you forget to add any backend:
54-
55-
```
56-
undefined reference to `cblas_dgemm'
57-
undefined reference to `LAPACKE_dsyev'
49+
extern crate openblas_src; // or another backend of your choice
5850
```
5951

6052
### For librarian
@@ -63,7 +55,7 @@ If you creating a library depending on this crate, we encourage you not to link
6355
```toml
6456
[dependencies]
6557
ndarray = "0.12"
66-
ndarray-linalg = { version = "0.10", default-features = false }
58+
ndarray-linalg = { version = "0.9", default-features = false }
6759
```
6860

6961
However, if you hope simplicity instead of the flexibility, you can link your favorite backend in the way described above.

0 commit comments

Comments
 (0)