Skip to content

chore: Update bundled native libs to aiken-jna-wrapper v0.7.1#27

Draft
matiwinnetou wants to merge 1 commit into
bloxbean:mainfrom
matiwinnetou:update-native-libs-to-latest
Draft

chore: Update bundled native libs to aiken-jna-wrapper v0.7.1#27
matiwinnetou wants to merge 1 commit into
bloxbean:mainfrom
matiwinnetou:update-native-libs-to-latest

Conversation

@matiwinnetou

@matiwinnetou matiwinnetou commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Moves the bundled native libraries to aiken-jna-wrapper v0.7.1, the patch release that brings that crate's maintenance/cleanup work and adds a new linux-aarch64 platform.

What changed in download_libs.sh

  • Bumped tag v0.7.0v0.7.1 — points the helper at the wrapper release carrying the cleanup work and the new ARM-Linux target.
  • Added the linux-aarch64 platformnative/linux-aarch64/ + a download for linux-aarch64_libaiken_jna_wrapper.so.
  • Added a header comment documenting the layout.

Running ./download_libs.sh pulls the v0.7.1 libraries into native/ (including the new native/linux-aarch64/libaiken_jna_wrapper.so) and writes native/version. The repo bundles the committed native/* files as resources, so those are what actually ship.

Why no Java / Gradle changes are needed

  • native/ is already a packaged resource root (build.gradle: srcDirs "src/main/resources", "native"), so a new native/linux-aarch64/ dir is bundled automatically.
  • LibraryUtil.getAikenWrapperLib() is arch-agnostic for Linux, and JNA selects the correct native/<resource-prefix>/ per platform at runtime — the bundled Platform/NativeUtils already handle aarch64.
  • The wrapper's exported FFI functions (eval_phase_two, apply_params_to_plutus_script, dropCharPointer) are unchanged in v0.7.1, so no interface changes are required.

Upstream

The v0.7.1 wrapper release (incl. the linux-aarch64 artifact) comes from bloxbean/aiken-jna-wrapper#33.

🤖 Generated with Claude Code

@matiwinnetou matiwinnetou force-pushed the update-native-libs-to-latest branch 3 times, most recently from 02b4ba0 to 2c34ec6 Compare June 4, 2026 16:08
Targets the aiken-jna-wrapper patch release v0.7.1 (bloxbean/
aiken-jna-wrapper#33), which ships the maintenance/cleanup work and the new
aarch64-unknown-linux-gnu target. It implements no Van Rossem feature and
leaves the public API unchanged, so it ships as a patch (0.7.0 -> 0.7.1) and
no Java interface changes are required.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@matiwinnetou matiwinnetou force-pushed the update-native-libs-to-latest branch from 2c34ec6 to 6cdef9e Compare June 9, 2026 12:49
@matiwinnetou matiwinnetou changed the title chore: Update bundled native libs to aiken-jna-wrapper v0.8.0 (unreleased) chore: Update bundled native libs to aiken-jna-wrapper v0.7.1 Jun 9, 2026
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