mkl_link 0.1.2

Library for linking with MKL.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::env;

fn main() {
  if cfg!(feature = "openmp") && cfg!(feature = "tbb") {
    panic!("must choose only one of 'openmp' and 'tbb' features");
  }
  if let Ok(library_paths) = env::var("LIBRARY_PATH") {
    for path in library_paths.split(":") {
      println!("cargo:rustc-link-search=native={}", path);
    }
  }
}