diff --git a/repos/spack_repo/builtin/packages/openblas/package.py b/repos/spack_repo/builtin/packages/openblas/package.py index 0a6e7fdbb53..800ab8ce535 100644 --- a/repos/spack_repo/builtin/packages/openblas/package.py +++ b/repos/spack_repo/builtin/packages/openblas/package.py @@ -9,7 +9,6 @@ from spack_repo.builtin.build_systems.cmake import CMakePackage from spack_repo.builtin.build_systems.makefile import MakefilePackage -from spack.llnl.util import tty from spack.package import * @@ -621,15 +620,10 @@ def make_defs(self): def build(self, pkg: MakefilePackage, spec: Spec, prefix: Prefix) -> None: """Override 'make all' with sequential builds due to race conditions.""" - # Due to the verbosity of the command line and number of object files - # created, we suppress makefile command echoing via `-s`. - args = ["-s"] + self.make_defs - - # Make each target sequentially with working_dir(self.build_directory): - for target in ["libs", "netlib", "shared"]: - tty.info("Building target", target) - make(*(args + [target])) + # Due to the verbosity of the command line and number of object + # files created, we suppress makefile command echoing via `-s`. + make("-s", *self.make_defs) @run_after("build") @on_package_attributes(run_tests=True)