summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorRobert Underwood <robertu94@users.noreply.github.com>2021-11-09 05:58:14 -0500
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-12-23 16:02:09 +0100
commitabd418cc315fff968da242522c6bf403ea841161 (patch)
treed275111252486ca51983ab136dd1fa97a4712801 /var
parent544826c8259edef6d9a3b67435e5a3b07f283ba7 (diff)
downloadspack-abd418cc315fff968da242522c6bf403ea841161.tar.gz
spack-abd418cc315fff968da242522c6bf403ea841161.tar.bz2
spack-abd418cc315fff968da242522c6bf403ea841161.tar.xz
spack-abd418cc315fff968da242522c6bf403ea841161.zip
openmpi fix external find for 0.17 (#27255)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/openmpi/package.py2
1 files changed, 1 insertions, 1 deletions
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