#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

#24 in Math

Download history 110/week @ 2018-09-18 225/week @ 2018-09-25 149/week @ 2018-10-02 226/week @ 2018-10-09 177/week @ 2018-10-16 139/week @ 2018-10-23 372/week @ 2018-10-30 263/week @ 2018-11-06 341/week @ 2018-11-13 389/week @ 2018-11-20 262/week @ 2018-11-27 214/week @ 2018-12-04 188/week @ 2018-12-11

469 downloads per month
Used in 21 crates (12 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