diff options
author | Robert Underwood <robertu94@users.noreply.github.com> | 2021-11-09 05:58:14 -0500 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-12-23 16:02:09 +0100 |
commit | abd418cc315fff968da242522c6bf403ea841161 (patch) | |
tree | d275111252486ca51983ab136dd1fa97a4712801 | |
parent | 544826c8259edef6d9a3b67435e5a3b07f283ba7 (diff) | |
download | spack-abd418cc315fff968da242522c6bf403ea841161.tar.gz spack-abd418cc315fff968da242522c6bf403ea841161.tar.bz2 spack-abd418cc315fff968da242522c6bf403ea841161.tar.xz spack-abd418cc315fff968da242522c6bf403ea841161.zip |
openmpi fix external find for 0.17 (#27255)
-rw-r--r-- | var/spack/repos/builtin/packages/openmpi/package.py | 2 |
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 |