Skip to content

Commit 96ca751

Browse files
committed
[STYLE] Use full path in the configuration command for better logging
1 parent e7420f8 commit 96ca751

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

eb_hooks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1533,7 +1533,8 @@ def pre_configure_hook_petsc(self, *args, **kwargs):
15331533
if self.name == 'PETSc':
15341534
# only necessary for PETSc 3.24.0+
15351535
if LooseVersion(self.version) >= LooseVersion('3.24.0'):
1536-
self.cfg.update('configopts', '--with-zlib-dir=${EESSI_EPREFIX}/usr')
1536+
compat_layer_topdir = get_eessi_envvar('EESSI_EPREFIX')
1537+
self.cfg.update('configopts', f'--with-zlib-dir={compat_layer_topdir}/usr')
15371538
else:
15381539
raise EasyBuildError("PETSc-specific hook triggered for non-PETSc easyconfig?!")
15391540

0 commit comments

Comments
 (0)