Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create aarch64-apple-darwin build script. #236

Closed
wants to merge 17 commits into from
Closed
Show file tree
Hide file tree
Changes from 14 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ARCHES
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
i386-apple-darwin
x86_64-apple-darwin
aarch64-apple-darwin
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry for the confusion, darwin tuples are not currently built using the ARCHES pattern. Currently the ARCHES list builds only artifacts that can be cross compiled using a linux build system.

The gem build process currently calls the following in a macOS VM with Xcode available.

make TARGET=x86_64-apple-darwin
make TARGET=arm-iphone-darwin
make TARGET=aarch64-iphone-darwin

I do like the idea of having all supported tuples in the ARCHES file however the Makefile would need to be updated to either detect the running OS and skip darwin when run on a linux platform or darwin tuples need to be a separate file.

Copy link
Contributor

Choose a reason for hiding this comment

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

Note if removing is the path the other darwin added targets for iphone at the end of the file are also not compilable on Linux.

i686-w64-mingw32
x86_64-w64-mingw32
x86_64-linux-musl
Expand All @@ -12,3 +15,5 @@ mips-linux-muslsf
mipsel-linux-muslsf
mips64-linux-muslsf
s390x-linux-musl
arm-iphone-darwin
aarch64-iphone-darwin
Loading