Skip to content

add path to hdf5 path in build process to allow easier testing#1642

Draft
oganm wants to merge 1 commit intohotfix-1.32.7from
hdf5-for-development-cli
Draft

add path to hdf5 path in build process to allow easier testing#1642
oganm wants to merge 1 commit intohotfix-1.32.7from
hdf5-for-development-cli

Conversation

@oganm
Copy link
Copy Markdown
Member

@oganm oganm commented Mar 12, 2026

No description provided.

@oganm oganm marked this pull request as draft March 13, 2026 02:45
</programs>
<!-- this allows Log4j 2 to lookup for Log4j 1.2 configuration -->
<extraJvmArguments>${jvmOptions}</extraJvmArguments>
<extraJvmArguments>-Djava.library.path=${hdf5.libDir} ${jvmOptions}</extraJvmArguments>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very bad idea. It will be included in the Appassembler package and will literally break deployment.

If you need to make testing easier, you can add a line like this to a .env or .envrc file:

export JAVA_OPTS="-Djava.library.path=/path/to/hdf5-1.12.3/lib"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only place we pass this is in testJvmOptions because building and testing is done on the same machine.

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