Skip to content

Add Visit preconfigure hook - fix zlib detection for Visit - #305

Open
pavelToman wants to merge 2 commits into
EESSI:mainfrom
pavelToman:patch-1
Open

pavelToman wants to merge 2 commits into
EESSI:mainfrom
pavelToman:patch-1

Conversation

@pavelToman

@pavelToman pavelToman commented Sep 16, 2026

Copy link
Copy Markdown

VisIt explicitly configures zlib through -DVISIT_ZLIB_DIR.

In EESSI, zlib is filtered as an EasyBuild dependency because it is provided by the compatibility layer. As a result, the VisIt configure step can fail to locate zlib:

VISIT_ZLIB_DIR not set.
VisIt requires lib z and it could not be found.

Add a VisIt-specific pre-configure hook that, when zlib is a filtered dependency, ensures -DVISIT_ZLIB_DIR points to ${EESSI_EPREFIX}/usr.

If -DVISIT_ZLIB_DIR is already present in configopts, its value is replaced. If it is not present, the option is added.

Required for EESSI/software-layer#1525

Comment thread eb_hooks.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants