#linear-algebra

sys openblas-src

The package provides a source of BLAS and LAPACK via OpenBLAS

11 releases

0.8.0 Jan 18, 2020
0.7.0 Dec 15, 2018
0.6.1 Oct 7, 2018
0.6.0 May 29, 2018
0.5.0 May 23, 2016

#36 in Math

Download history 115/week @ 2019-11-01 85/week @ 2019-11-08 130/week @ 2019-11-15 116/week @ 2019-11-22 94/week @ 2019-11-29 136/week @ 2019-12-06 81/week @ 2019-12-13 85/week @ 2019-12-20 147/week @ 2019-12-27 96/week @ 2020-01-03 220/week @ 2020-01-10 181/week @ 2020-01-17 155/week @ 2020-01-24 103/week @ 2020-01-31 324/week @ 2020-02-07

494 downloads per month
Used in 31 crates (17 directly)

Apache-2.0/MIT

76MB
2M SLoC

Assembly 1M SLoC // 0.0% comments C 347K SLoC // 0.3% comments FORTRAN Legacy 323K SLoC // 0.6% comments Python 269 SLoC // 0.1% comments C++ 170 SLoC // 0.0% comments Rust 73 SLoC // 0.2% comments Shell 45 SLoC

openblas-src Package Documentation Build Build

The package provides a source of BLAS and LAPACK via OpenBLAS.

The usage of the package is explained here.

The following Cargo features are supported:

  • cblas to build CBLAS (enabled by default),
  • lapacke to build LAPACKE (enabled by default),
  • static to link to OpenBLAS statically, and
  • system to skip building the bundled OpenBLAS.

Cross Compilation

Apart from providing the --target option to cargo build, one also has to specify the cross-compilation variables of OpenBLAS. They can be set as environment variables for cargo build using the OPENBLAS_ prefix as follows: OPENBLAS_CC, OPENBLAS_FC, OPENBLAS_HOSTCC, and OPENBLAS_TARGET.

Contribution

Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.

Dependencies