Merge pull request #1045 from eschnett/eschnett/openmpi-verbs-usr

Do not pass "/usr" or "/usr/local" as path to configure
This commit is contained in:
Todd Gamblin 2016-06-15 09:06:12 -07:00 committed by GitHub
commit c803f7ae98

View file

@ -142,7 +142,7 @@ def install(self, spec, prefix):
]) ])
if '+verbs' in spec: if '+verbs' in spec:
path = _verbs_dir() path = _verbs_dir()
if path is not None: if path is not None and path not in ('/usr', '/usr/local'):
config_args.append('--with-%s=%s' % (self.verbs, path)) config_args.append('--with-%s=%s' % (self.verbs, path))
else: else:
config_args.append('--with-%s' % self.verbs) config_args.append('--with-%s' % self.verbs)