Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop direct blas-src dependency, update docs for blas integration #951

Merged
merged 2 commits into from Mar 25, 2021

Conversation

bluss
Copy link
Member

@bluss bluss commented Mar 25, 2021

We can in theory unchain ourselves from the blas-src version and let the
user be responsible for linking in blas in the final product.

Update xtest-blas to test this configuration.

Update instructions in readme for how to use it.

Remove ndarray build.rs file since it was only ever used for testing (and now not used anymore!)
Update xtest-numeric so that it actually tests with/without blas. Now there's a bit of
overlap between xtest-numeric and xtest-blas.

It happens that this fixes #950

We can in theory unchain ourselves from the blas-src version and let the
user be responsible for linking in blas in the final product.

Update xtest-blas to test this configuration.

Update instructions in readme for how to use it.
@bluss
Copy link
Member Author

bluss commented Mar 25, 2021

This came up because I was waiting for a blas-src release before pulling the trigger on ndarray 0.15. But we're doing it wrong already, we should just depend on the interface (cblas-sys), and let the end user crate supply the implementation. So then we're never waiting on them.

We also should port ourselves to blas-sys when possible so that we are compatible all backend configurations.

@@ -124,8 +124,6 @@ extern crate std;
#[cfg(not(feature = "std"))]
extern crate core as std;

#[cfg(feature = "blas")]
extern crate blas_src;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the main feature in the old solution - when we don't link this, the end user has to.

This flag was not properly used anymore. Replace it with a proper blas
test setup in xtest-numeric.
@bluss bluss force-pushed the disconnect-blas-dependency branch from a6b82fd to 5b96f1d Compare March 25, 2021 19:02
@bluss bluss added this to the 0.15.0 milestone Mar 25, 2021
@bluss bluss merged commit 175b8f8 into master Mar 25, 2021
@bluss bluss deleted the disconnect-blas-dependency branch March 25, 2021 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Versioning confusion in Readme
1 participant