From abd418cc315fff968da242522c6bf403ea841161 Mon Sep 17 00:00:00 2001 From: Robert Underwood Date: Tue, 9 Nov 2021 05:58:14 -0500 Subject: openmpi fix external find for 0.17 (#27255) --- var/spack/repos/builtin/packages/openmpi/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/openmpi/package.py b/var/spack/repos/builtin/packages/openmpi/package.py index 6d3e12d6e5..0d48cfc523 100644 --- a/var/spack/repos/builtin/packages/openmpi/package.py +++ b/var/spack/repos/builtin/packages/openmpi/package.py @@ -1058,7 +1058,7 @@ def is_enabled(text): # This code gets all the fabric names from the variants list # Idea taken from the AutotoolsPackage source. def get_options_from_variant(self, name): - values = self.variants[name].values + values = self.variants[name][0].values if getattr(values, 'feature_values', None): values = values.feature_values return values -- cgit v1.2.3-70-g09d2