From 3b7c774f39d5af5962b55f9bb3636e4a0d5e6af5 Mon Sep 17 00:00:00 2001 From: David Huber Date: Wed, 27 Nov 2024 08:52:31 -0600 Subject: [PATCH] Run black on package.py --- .../repos/builtin/packages/py-numpy/package.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-numpy/package.py b/var/spack/repos/builtin/packages/py-numpy/package.py index c91e386a317073..60ad462ffede04 100644 --- a/var/spack/repos/builtin/packages/py-numpy/package.py +++ b/var/spack/repos/builtin/packages/py-numpy/package.py @@ -284,10 +284,7 @@ def blas_lapack_pkg_config(self) -> Tuple[str, str]: return blas, lapack def config_settings(self, spec, prefix): - settings = { - "builddir": "build", - "compile-args": f"-j{make_jobs}", - } + settings = {"builddir": "build", "compile-args": f"-j{make_jobs}"} if self.spec.satisfies("@1.26:"): settings.update(self.blas_config_settings()) @@ -301,8 +298,10 @@ def config_settings(self, spec, prefix): intel_settings = { "setup-args": { "-Dcpu-dispatch": ( - settings.get("setup-args", {}).get("-Dcpu-dispatch", "") + " " + - "MAX -AVX512F -AVX512CD -AVX512_KNL -AVX512_KNM -AVX512_SKX -AVX512_CLX -AVX512_CNL -AVX512_ICL -AVX512_SPR" + settings.get("setup-args", {}).get("-Dcpu-dispatch", "") + + " " + + "MAX -AVX512F -AVX512CD -AVX512_KNL -AVX512_KNM -AVX512_SKX " + + "-AVX512_CLX -AVX512_CNL -AVX512_ICL -AVX512_SPR" ) } } @@ -321,7 +320,7 @@ def blas_config_settings(self): # TODO: get this working in CI # "-Dcpu-baseline": "native", # "-Dcpu-dispatch": "none ", - }, + } } def blas_lapack_site_cfg(self) -> None: