summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2022-04-20 12:00:45 +0200
committerGitHub <noreply@github.com>2022-04-20 10:00:45 +0000
commite47ec07ffce285f2d806e38a7cb88c60b7429dfd (patch)
tree370dab6b9952cafbb4f6284d561a53e3ec149989
parent778eee15797aaebc2018c3a6f1ef7a1ebc0c5817 (diff)
downloadspack-e47ec07ffce285f2d806e38a7cb88c60b7429dfd.tar.gz
spack-e47ec07ffce285f2d806e38a7cb88c60b7429dfd.tar.bz2
spack-e47ec07ffce285f2d806e38a7cb88c60b7429dfd.tar.xz
spack-e47ec07ffce285f2d806e38a7cb88c60b7429dfd.zip
ucx: fix simd_values (#30186)
-rw-r--r--var/spack/repos/builtin/packages/ucx/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/ucx/package.py b/var/spack/repos/builtin/packages/ucx/package.py
index b2302129da..b2976e6ae0 100644
--- a/var/spack/repos/builtin/packages/ucx/package.py
+++ b/var/spack/repos/builtin/packages/ucx/package.py
@@ -199,10 +199,10 @@ class Ucx(AutotoolsPackage, CudaPackage):
else:
config_args.append('--without-avx')
elif self.spec.satisfies('simd=none'):
- for instr in simd_values:
+ for instr in self.simd_values:
config_args.append('--without-' + instr)
else:
- for instr in simd_values:
+ for instr in self.simd_values:
if self.spec.satisfies('simd=' + instr):
config_args.append('--with-' + instr)
else: