spiral-modules / roadrunner-binary

💾 High-performance PHP application server, load-balancer and process manager written in Golang. RR2 releases repository.
MIT License
44 stars 25 forks source link

[ARCH] Current architecture (arm64) may not be supported #16

Closed sc0rp10 closed 3 years ago

sc0rp10 commented 3 years ago

Hi, tried to install roadrunner on latest Apple macbook with Apple Silicon M1 processor but installation failed with the message:

Uncaught OutOfRangeException: Current architecture (arm64) may not be supported in vendor/spiral/roadrunner-cli/src/Environment/Architecture/Factory.php:56

It would be nice if roadrunner will support arm64 architecture and will have precompiled binaries for it.

Thanks!

rustatian commented 3 years ago

Hi @sc0rp10, nice to meet you. Yeah, I agree, we will provide a binary for the macOS arm64.

rustatian commented 3 years ago

@sc0rp10 Feel free to try the M1 builds https://github.com/spiral/roadrunner-binary/releases/tag/v2.0.2-beta.2

n7olkachev commented 3 years ago

@48d90782 docker for mac on m1 uses linux/arm64 (with fallback to linux/amd64). Could you also provide arm64 docker image?

rustatian commented 3 years ago

@n7olkachev For sure, could you please create a ticket in the roadrunner-binary repository fo it?

n7olkachev commented 3 years ago

Done #19

rustatian commented 3 years ago

@n7olkachev Now in the v2.0.4, darwin/arm64 docker container, feel free to try)