Skip to content

fix: correct aarch64 target path in Java cross-compilation script#5781

Merged
max-sixty merged 2 commits intomainfrom
fix/java-cross-aarch64-copy
Apr 8, 2026
Merged

fix: correct aarch64 target path in Java cross-compilation script#5781
max-sixty merged 2 commits intomainfrom
fix/java-cross-aarch64-copy

Conversation

@prql-bot
Copy link
Copy Markdown
Collaborator

@prql-bot prql-bot commented Apr 8, 2026

Summary

  • Fixed a copy-paste bug in prqlc/bindings/java/cross.sh where lines 44-45 referenced x86_64-unknown-linux-gnu instead of aarch64-unknown-linux-gnu after cross-compiling for the aarch64 target
  • This caused the aarch64 Java binding (libprql_java-linux-aarch64.so) to actually contain an x86_64 binary, since it was copied from the wrong target directory

Test plan

  • Verified the script now correctly references ../target/aarch64-unknown-linux-gnu/release for both the ls and cp commands on lines 44-45
  • The fix is consistent with the pattern used by all other target blocks in the script (each block copies from its own target directory)

🤖 Generated with Claude Code

prql-bot and others added 2 commits April 8, 2026 06:54
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Same copy-paste bug as the active aarch64-linux block — referenced
x86_64-apple-darwin instead of aarch64-apple-darwin.

Co-Authored-By: Claude <noreply@anthropic.com>
@max-sixty max-sixty merged commit 1259e07 into main Apr 8, 2026
36 checks passed
@max-sixty max-sixty deleted the fix/java-cross-aarch64-copy branch April 8, 2026 14:35
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