hhvm
hhvm copied to clipboard
HHVM does not support ARM64 Macs (M1+)
Describe the bug illegal hardware instruction
Standalone code, or other way to reproduce the problem
This should not depend on installing any libraries or frameworks. Ideally, it should be possible to copy-paste this into a single file and reproduce the problem by running hhvm and/or hh_client
Steps to reproduce the behavior:
- Go to any hack/hhvm file
- Click on on any of them
- run the hhvm "NAME OF THE FILE"
- See an an error saying: "illegal hardware instruction"
Environment
- Operating system
'MacOS Big Sur'.
- Installation method
'homebrew'
Sorry - this is a known issue we intend to work on (with native support), but don't currently have any kind of timeline.
Would be useful for https://github.com/facebookincubator/Glean to have hhvm/hh_server .deb/ubuntu builds for linux/aarch64. (hh_server is the PHP indexer used for Hack source code). Currently we can't index PHP source on arm/linux, due to missing binaries in the nightlies/LTS for arm.
Does anyone have a workaround for this issue?
I created a docker image as a way to develop using HHVM on my M1 mac which can be found at this repo - https://github.com/justdan6/docker-hack-dev