Skip to content

openblas: the build phase builds and runs the test suite, defeating the run_tests guard (hard failure on macOS x86_64) #6278

Description

@cekees

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions