@mathomp4 @sethrj I don't think this is a critical issue with openblas/package.py, but I'm raising it for your awareness. Would likely make the openblas build faster and more robust.
The issue is that it appears build runs make -s with no target, so it defaults to all, which includes tests per the Makefile:
all :: libs netlib $(RELA) tests shared
There's a wordy comment with a small change on PR #6000 that uses explicit build targets, which post-pones tests until spack's optional testing phase.
This was only occuring on an old macox x86_64 machine that successfully built openblas but had a crash during the tests, possibly due to being overloaded.
@mathomp4 @sethrj I don't think this is a critical issue with openblas/package.py, but I'm raising it for your awareness. Would likely make the openblas build faster and more robust.
The issue is that it appears
buildrunsmake -swith no target, so it defaults toall, which includes tests per the Makefile:There's a wordy comment with a small change on PR #6000 that uses explicit build targets, which post-pones tests until spack's optional testing phase.
This was only occuring on an old macox x86_64 machine that successfully built openblas but had a crash during the tests, possibly due to being overloaded.