Bail if attempting to bootstrap on macOS arm64
What does this Merge Request do and why?
This MR ensures make bootstrap
bails if attempting to installing the GDK on Apple Silicon outside of the Rosetta 2 mode, e.g.
$ make bootstrap
INFO: Performing common preflight checks..
ERROR: Native Apple Silicon (arm64) detected. Rosetta 2 is required. For more information, see https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/advanced.md#macos.
INFO: Native Apple Silicon support for macOS is coming with https://gitlab.com/gitlab-org/gitlab-development-kit/-/issues/1159.
ERROR: Unsupported platform. The list of supported platforms are:
INFO:
INFO: - macOS
INFO: - Ubuntu Pop neon
INFO: - Debian PureOS
INFO: - Arch Manjaro
INFO: - Fedora RHEL
INFO:
INFO: If your platform is not listed above, you're welcome to create a Merge Request in the GDK project to add support.
INFO:
INFO: Please visit https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/advanced.md to bootstrap manually.
make: *** [bootstrap] Error 1
Merge Request checklist
-
This change is backward compatible. If not, please include steps to communicate to our users. -
Tests added for new functionality. If not, please raise Issue to follow-up. -
Documentation added/updated, if needed. -
gdk doctor
test added, if needed. -
Add the ~highlight
label if this MR should be included in theCHANGELOG.md
.
Edited by Ash McKenzie