#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

#21 in Math

Download history 187/week @ 2018-10-13 272/week @ 2018-10-20 329/week @ 2018-10-27 251/week @ 2018-11-03 317/week @ 2018-11-10 452/week @ 2018-11-17 165/week @ 2018-11-24 224/week @ 2018-12-01 196/week @ 2018-12-08 154/week @ 2018-12-15 133/week @ 2018-12-22 141/week @ 2018-12-29 168/week @ 2019-01-05 164/week @ 2019-01-12 157/week @ 2019-01-19

968 downloads per month
Used in 25 crates (14 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

  • links openblas
  • build build.rs
  • dev libc 0.2