Using self.prefix in Trilinos to avoid global name prefix undefined bug (#7478)
* Using self.prefix in Trilinos to avoid global name prefix undefined bug during module refreshing. * Fixing flake8 errors.
This commit is contained in:
parent
f59a447f71
commit
de52c175de
1 changed files with 2 additions and 1 deletions
|
@ -610,7 +610,8 @@ def cmake_args(self):
|
||||||
# use @rpath on Sierra due to limit of dynamic loader
|
# use @rpath on Sierra due to limit of dynamic loader
|
||||||
options.append('-DCMAKE_MACOSX_RPATH=ON')
|
options.append('-DCMAKE_MACOSX_RPATH=ON')
|
||||||
else:
|
else:
|
||||||
options.append('-DCMAKE_INSTALL_NAME_DIR:PATH=%s' % prefix.lib)
|
options.append('-DCMAKE_INSTALL_NAME_DIR:PATH=%s' %
|
||||||
|
self.prefix.lib)
|
||||||
|
|
||||||
if spec.satisfies('%intel') and spec.satisfies('@12.6.2'):
|
if spec.satisfies('%intel') and spec.satisfies('@12.6.2'):
|
||||||
# Panzer uses some std:chrono that is not recognized by Intel
|
# Panzer uses some std:chrono that is not recognized by Intel
|
||||||
|
|
Loading…
Reference in a new issue