Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Build both x86_64 and aarch64 binaries when building bdk-jvm on macOS #58

Conversation

thunderbiscuit
Copy link
Member

Description

This PR changes the Gradle plugin to ensure both x86_64 and aarch64 versions of bdk-jvm get built whenever one calls the buildJvmLib command from macOS.

Notes to the reviewers

This PR is still in draft mode because I need to test that the cross-compilation from an x86_64 mac works. In theory it should (it's one of the targets for the Rust compiler), but I have not tried it for myself yet.

@thunderbiscuit thunderbiscuit marked this pull request as ready for review May 20, 2022 17:06
@waterst0ne
Copy link

I tested it with my macOS Catalina v.10.15.7 , x86_64
Xcode version 12.4
It failed to build the arm64 because its not supported in this older version.

Copy link
Member

@notmandatory notmandatory left a comment

Choose a reason for hiding this comment

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

ACK b76bdfc

Thanks @waterst0ne for testing on your x86 mac, even though it doesn't work on an older mac I still think it's worth putting in this change since only people making mac releases need it and eventually with #38 this will be automated in CI.

@notmandatory notmandatory merged commit b76bdfc into bitcoindevkit:master May 21, 2022
@thunderbiscuit thunderbiscuit deleted the fix/plugin-build-2-macos-jvm-libs branch May 21, 2022 00:32
@notmandatory notmandatory added this to the Release 0.7.0 milestone May 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants