Description
Hi,
On OSX (up to and including Lion), the md5 utility is called "md5" not "md5sum". To get md5sum-compatible output, you need to use "md5 -r" (probably this is the same on BSD). At present the lapack compilation step on OSX doesn't proceed due to a failed checksum. It's easy enough to alias md5sum to md5 -r to get the thing to work, but it would be nice if there was an option in Makefile.rule, say:
MD5='md5 -r'
where the default is just md5sum so that everything is fine on linux. Then replace all calls to md5sum with $MD5.
Aside: In my opinion, the openblas compile should immediately fail if lapack fails to download/checksum/compile! The number of times I've compiled openblas (and GotoBLAS) only to find later when compiling something else that the lapack symbols are missing...well, there have been many times. There are multiple reasons why this might happen:
- Your internet connection is down and you don't notice (wget fails to download lapack but openblas compiles away nice and happy!)
- Wget isn't installed (like by default on OSX - we have curl instead).
- The checksum fails (hey, this is a new one).
- I'm sure there are more ways...just haven't fallen for them yet.
Kane