From 0921ed28e68973a20464884fbe6b3caff671f6b4 Mon Sep 17 00:00:00 2001 From: "Kevin J. Sung" Date: Sun, 17 Sep 2023 08:06:55 -0400 Subject: [PATCH] use openblas system --- Cargo.toml | 4 ++++ pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 75176adc3..26f1448e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,3 +18,7 @@ pyo3 = { version = "0.18", features = [ "num-complex", "abi3-py38", ] } + +[target.'cfg(target_os = "linux")'.dependencies] +blas-src = { version = "0.9", features = ["openblas"] } +openblas-src = { version = "0.10", features = ["system"] } diff --git a/pyproject.toml b/pyproject.toml index c73664e8c..ddc6f204e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,4 +55,4 @@ test-requires = "pytest" test-command = "pytest {project}/tests" [tool.cibuildwheel.linux] -before-all = "yum install -y openssl-devel rust cargo" +before-all = "yum install -y openssl-devel rust cargo openblas"