Skip to content

Configurable Native Library Extraction in Java#27658

Open
EPNW-Eric wants to merge 1 commit intomicrosoft:mainfrom
EPNW-Eric:epnw-eric/java-extraction
Open

Configurable Native Library Extraction in Java#27658
EPNW-Eric wants to merge 1 commit intomicrosoft:mainfrom
EPNW-Eric:epnw-eric/java-extraction

Conversation

@EPNW-Eric
Copy link

Provide developers with granular control over the extraction location and persistence of bundled native libraries to support restricted environments, dependency enrichment, and startup optimization. See #27656.

This was achived by adding two new configurable properties.

Property Description
onnxruntime.native.extract.path Specifies a custom directory for extracting native libraries from the JAR. If unset, the system uses the default temporary directory.
onnxruntime.native.extract.cleanup Boolean (default: true). If false, the extraction directory and its contents are NOT marked for deletion on JVM exit.

@EPNW-Eric
Copy link
Author

@microsoft-github-policy-service agree company="EPNW GmbH"

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.

1 participant