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:
commit
c803f7ae98
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue