numeric icon indicating copy to clipboard operation
numeric copied to clipboard

Building version 0.4.1 fails with OpenBLAS unable to detect CPU

Open felsweg opened this issue 8 years ago • 2 comments

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 avatar Oct 30 '18 11:10 felsweg

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.

felsweg avatar Oct 31 '18 09:10 felsweg

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

HerrMuellerluedenscheid avatar May 02 '21 15:05 HerrMuellerluedenscheid