From 565d635f4969d8d70cc413d7e18e4b97bd1384b9 Mon Sep 17 00:00:00 2001 From: Timo Betcke Date: Thu, 20 Jun 2024 11:25:19 -0400 Subject: [PATCH] Fixed multiple blas in cargo.toml (#1) * Fixed multiple blas in cargo.toml * Cargo fix --- Cargo.toml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 044056a..8bc36dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,9 +34,6 @@ rand = "0.8.5" rlst = { git = "https://github.com/linalg-rs/rlst.git" } thiserror="1.*" -[dev-dependencies] -blas-src = { version = "0.10", features = ["blis"]} -lapack-src = { version = "0.10", features = ["netlib"]} [package.metadata.docs.rs] cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"] @@ -47,3 +44,9 @@ wildcard_imports = "forbid" [target.aarch64-apple-darwin.dev-dependencies] blas-src = { version = "0.10", features = ["accelerate"]} lapack-src = { version = "0.10", features = ["accelerate"]} + +[target.x86_64-unknown-linux-gnu.dev-dependencies] +blas-src = { version = "0.10", features = ["blis"]} +lapack-src = { version = "0.10", features = ["netlib"]} + +