#linear-algebra

sys openblas-src

The package provides a source of BLAS and LAPACK via OpenBLAS

10 releases

0.7.0 Dec 15, 2018
0.6.1 Oct 7, 2018
0.6.0 May 29, 2018
0.5.6 Nov 26, 2017
0.5.0 May 23, 2016

#29 in Math

Download history 157/week @ 2019-01-20 112/week @ 2019-01-27 151/week @ 2019-02-03 128/week @ 2019-02-10 184/week @ 2019-02-17 165/week @ 2019-02-24 219/week @ 2019-03-03 247/week @ 2019-03-10 186/week @ 2019-03-17 219/week @ 2019-03-24 177/week @ 2019-03-31 237/week @ 2019-04-07 101/week @ 2019-04-14 129/week @ 2019-04-21 105/week @ 2019-04-28

757 downloads per month
Used in 28 crates (13 directly)

Apache-2.0/MIT

74MB
2M SLoC

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

openblas-src Package Documentation 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