JuliaLang/julia — Issue #370: OpenBLAS not compiling
Author: mahrz
Created: 2012-02-18 16:46:53+00:00
State: open

I constantly get the error while trying to build julia

Makefile:121: *** OpenBLAS: Detecting CPU failed. Please set TARGET explicitly, e.g. make TARGET=your_cpu_target. Please read README for the detail.. Stop.
make[1]: *** [openblas-v0.1alpha2.4/libopenblas.a] Error 2
make: *** [julia-release] Error 2

even though I specified it in the Make.inc, supplied it via make TARGET= and tried to write it directly to the openblas make.inc.
I'm on Arch Linux 3.2.2 x86_64 on a Core i5-2500.

I also suspect that make clean does not really revert the build state. I'm now trying with a fresh clone from git and specifying TARGET before calling make. But even if that works, this should be mentioned in the documentation or solved in a way that avoids the need to recompile for example llvm again.