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

[7.x][ML] Changes to allow native compilation on ARM Macs #1664

Merged
merged 1 commit into from
Jan 13, 2021

Conversation

droberts195
Copy link
Contributor

This allows native compilation on a Mac containing the
Apple M1 CPU.

PR builds will currently NOT test this platform, nor even
check compilation for it. Release manager will not build
it either. Still, it is a step in the right direction to
be able to compile locally for it.

Cross compilation for this platform is still NOT possible.
This can be investigated in a followup PR. (Supporting
this actually requires considerable changes to the cross
compilation framework, as it currently contains a quite
deeply embedded assumption that macOS is x86_64 only.)

The last dregs of Linux MUSL port code are also removed.
(Most support for MUSL was removed previously, but a few
bits were missed.)

Backport of #1651

This allows native compilation on a Mac containing the
Apple M1 CPU.

PR builds will currently NOT test this platform, nor even
check compilation for it.  Release manager will not build
it either.  Still, it is a step in the right direction to
be able to compile locally for it.

Cross compilation for this platform is still NOT possible.
This can be investigated in a followup PR.  (Supporting
this actually requires considerable changes to the cross
compilation framework, as it currently contains a quite
deeply embedded assumption that macOS is x86_64 only.)

The last dregs of Linux MUSL port code are also removed.
(Most support for MUSL was removed previously, but a few
bits were missed.)

Backport of elastic#1651
@droberts195 droberts195 merged commit 752dd03 into elastic:7.x Jan 13, 2021
@droberts195 droberts195 deleted the mac_arm_7x branch January 13, 2021 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant