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

Apple Silicon support #741

Closed
teameh opened this issue Dec 4, 2020 · 9 comments
Closed

Apple Silicon support #741

teameh opened this issue Dec 4, 2020 · 9 comments

Comments

@teameh
Copy link

teameh commented Dec 4, 2020

The current releases are only x86_64 compatible, not ARM. It would be great to have ARM support added so we can use Bitrise on the new M1 Macs. I guess you guys are already working on this, but I couldn't find any open issues regarding this.

Currently also blocked by: #566

Because of: Homebrew/brew#7857

@pigeon-archive
Copy link

Thank you for reporting this. I've shared it internally.

@jukbot
Copy link

jukbot commented Feb 8, 2021

Homebrew 3.0.0 is now officially supported Apple Silicon


@bitce
Copy link

bitce commented Feb 23, 2021

Hi folks! Just to clarify, this request is for the CLI to support M1 locally, correct? No provider currently supports macOS virtualisation on M1 macs so that doesn't seem possible for now.

@teameh
Copy link
Author

teameh commented Feb 23, 2021

Correct!

@mackoj
Copy link

mackoj commented Feb 25, 2021

Hi I'm facing this issue after compiling Bitrise for apple silicon

➜  projet git:(master) brew install bitrise
Error: bitrise: no bottle available!
You can try to install from source with:
  brew install --build-from-source bitrise
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
➜  projet git:(master) brew install --build-from-source bitrise
==> Downloading https://homebrew.bintray.com/bottles/go-1.16.arm64_big_sur.bottl
==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/c1f259427b953cb5564af
######################################################################## 100.0%
==> Downloading https://github.com/bitrise-io/bitrise/archive/1.45.1.tar.gz
==> Downloading from https://codeload.github.com/bitrise-io/bitrise/tar.gz/1.45.
   #-=#=-#    #                                                               
==> Installing dependencies for bitrise: go
==> Installing bitrise dependency: go
==> Pouring go-1.16.arm64_big_sur.bottle.tar.gz
🍺  /opt/homebrew/Cellar/go/1.16: 9,967 files, 504.8MB
==> Installing bitrise
==> go build
🍺  /opt/homebrew/Cellar/bitrise/1.45.1: 5 files, 10.2MB, built in 4 seconds
➜  projet git:(master) bitrise setup

  ██████╗ ██╗████████╗██████╗ ██╗███████╗███████╗
  ██╔══██╗██║╚══██╔══╝██╔══██╗██║██╔════╝██╔════╝
  ██████╔╝██║   ██║   ██████╔╝██║███████╗█████╗
  ██╔══██╗██║   ██║   ██╔══██╗██║╚════██║██╔══╝
  ██████╔╝██║   ██║   ██║  ██║██║███████║███████╗
  ╚═════╝ ╚═╝   ╚═╝   ╚═╝  ╚═╝╚═╝╚══════╝╚══════╝

  version: 1.45.1

Setup
Full setup: false
Clean setup: false
Detected OS: darwin

Checking Bitrise Core tools...
No supported envman version found
You can find more information about envman on its official GitHub page: https://github.com/bitrise-io/envman
Installing ⣾Download failed, retrying ...
Installing ⣾Download failed, retrying ...
Setup failed, error: Failed to do common/platform independent setup, error: Envman failed to install: Failed to determine ARCH: Unsupported architecture (arm64)

@mackoj
Copy link

mackoj commented Feb 25, 2021

It don't work even if the terminal is in Rosetta 2 mode.

@bitce
Copy link

bitce commented Feb 25, 2021

Hi @mackoj! Do you also get this error if you don't install the CLI from source? I was able to install it using brew regularly and I do not get this error while using Rosetta 2 (although I am running into different errors for now)

EDIT: That's not it, I can run Bitrise setup without errors when building from source too. Can you post logs of doing this with Rosetta 2 too? I'm assuming this log is from running in arm64 from the big sur bottle brew clones

@benbitrise
Copy link

Apple Silicon is now supported in the latest release: https://github.com/bitrise-io/bitrise/releases/tag/1.47.0

@mackoj
Copy link

mackoj commented May 19, 2021

Thank @benbitrise great news.
Be careful the release page is missing the " here bitrise-"$(uname -s)"-"$(uname -m)" .

 -fL https://github.com/bitrise-io/bitrise/releases/download/1.47.0/bitrise-"$(uname -s)"-"$(uname -m)" > /usr/local/bin/bitrise

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

No branches or pull requests

7 participants