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

Building version 0.4.1 fails with OpenBLAS unable to detect CPU #6

Open
felsweg opened this issue Oct 30, 2018 · 2 comments
Open

Building version 0.4.1 fails with OpenBLAS unable to detect CPU #6

felsweg opened this issue Oct 30, 2018 · 2 comments

Comments

@felsweg
Copy link

felsweg commented Oct 30, 2018

Building version 0.4.1. of numeric fails with OpenBLAS unable to detect CPU

Error Output is:

Makefile:133: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail..  Stop.
thread 'main' panicked at '`"make" "libs" "netlib" "shared" "YES_CBLAS=1" "-j8"` failed: exit code: 2', /home/awaike/projects/awaike/phase-predictor-rust/vendor/openblas-provider-0.1.7/build.rs:57:13

setting TARGET=x86_64 does not seem to work. It seems "openblas-provider" is the source of the problem.

@felsweg
Copy link
Author

felsweg commented Oct 31, 2018

There seems to be a quick fix, when OpenBLAS is installed manually ( see instructions found at
https://github.com/wellposed/rust-OpenBLAS).

Running CARGO_FEATURE_SYSTEM_OPENBLAS=1 cargo build seems to circumvent to aforementioned issue.

@HerrMuellerluedenscheid
Copy link

This seems to be resolved in latest version. Dependencies are updated in #8.

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

No branches or pull requests

2 participants