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

Add missing backend dev-dependency #102

Closed
wants to merge 1 commit into from

Conversation

jturner314
Copy link
Member

Since the default feature set of ndarray-linalg is empty, examples and tests were unable to build since no backend was selected. This commit adds a dev-dependency to use the OpenBLAS backend.

Steps to reproduce the issue that this PR fixes:

$ git clone https://github.com/termoshtt/ndarray-linalg.git
$ cd ndarray-linalg
$ cargo test
...
error: linking with `cc` failed: exit code: 1
...
error: Could not compile `ndarray-linalg`.
...

I'm surprised this hasn't come up earlier. Are other people able to run cargo test without this PR?

Since the default feature set of `ndarray-linalg` is empty, examples
and tests were unable to build since no backend was selected. This
commit adds a dev-dependency to use the OpenBLAS backend.
@jturner314
Copy link
Member Author

Oh, I see. CI is set up to pass the backed with the --features command line argument.

@jturner314 jturner314 closed this Feb 13, 2018
@termoshtt termoshtt mentioned this pull request Feb 14, 2018
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.

None yet

1 participant