#linear-algebra

sys openblas-src

The package provides a source of BLAS and LAPACK via OpenBLAS

8 releases

0.6.0 May 29, 2018
0.5.6 Nov 26, 2017
0.5.4 Aug 25, 2017
0.5.3 Mar 19, 2017
0.5.0 May 23, 2016

#26 in Math

Download history 148/week @ 2018-07-22 178/week @ 2018-07-29 125/week @ 2018-08-05 83/week @ 2018-08-12 123/week @ 2018-08-19 90/week @ 2018-08-26 136/week @ 2018-09-02 111/week @ 2018-09-09 119/week @ 2018-09-16 179/week @ 2018-09-23 185/week @ 2018-09-30 199/week @ 2018-10-07 161/week @ 2018-10-14

469 downloads per month
Used in 18 crates (11 directly)

Apache-2.0/MIT

74MB
2M SLoC

Assembly 1M SLoC // 0.0% comments C 328K 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