ucx: fix simd_values (#30186)

This commit is contained in:
Harmen Stoppels 2022-04-20 12:00:45 +02:00 committed by GitHub
parent 778eee1579
commit e47ec07ffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -199,10 +199,10 @@ def configure_args(self):
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: