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"