blas
ecosystemPeroxide uses blas
and lapack
crate in O3
feature. But they are just wrapper crates, so we need source crates.
There are several source crates to provide concrete implementations of BLAS and LAPACK.
And they have system
feature to skip building the bundled BLAS implementation.
For specifically, I'll explain Arch-linux case.
In arch linux, you can install openblas
or blis
. (Also blas
is there, but blas-src
does not provide system
feature.)
openblas-src
dependency to Cargo.toml
as same as this repo's Cargo.tomlblis-src
dependency to Cargo.toml
as same as this repo's Cargo.tomlAnd add extern crate <CRATE>
to your lib.rs
or main.rs
. The <CRATE>
is one of above source crates.
In this repo, I used blis-src
.