redstone-ml 0.0.0

High-performance Machine Learning, Auto-Differentiation and Tensor Algebra crate for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    #[cfg(apple_accelerate)]
    println!("cargo:rustc-link-lib=framework=Accelerate");

    #[cfg(openblas)]
    {
        use std::env;
        env::set_var("PKG_CONFIG_PATH", "/opt/homebrew/opt/openblas/lib/pkgconfig");
        pkg_config::probe_library("openblas").expect("OpenBLAS not found");
    }
}