-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
relay-compiler v13: Linux-ARM platform support #3799
Comments
Thanks for suggestion, I think we could add support for this here: relay/.github/workflows/ci.yml Lines 83 to 101 in 427c01b
The downsides:
There is a PR to add platform-specific compilers as optional dependencies, but this approach also has downsides (as optional dependencies may be disabled in some cases). I suggest keeping this issue open for now, if more people will want this, we can add support for this. |
@alunyov - This is certainly very important - every new macbook is going to be arm-based. Given a large percentage of developers use macs - this issue is only going to increase. As our organisation about 80% of developers are now on M1 Macbooks and would be unable to do builds using Relay v13. |
@alunyov you have added a "help wanted" label. How exactly could the community help? This issue is slowing down our development, I'd be willing to invest my time to fix it |
Summary: Following discussions in #3799 this PR adds support for a Linux ARM64 target for `relay-compiler` Pull Request resolved: #3882 Test Plan: Imported from GitHub, without a `Test Plan:` line. **Static Docs Preview: relay** |[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D35760366/V2/relay/)| |**Modified Pages**| Reviewed By: josephsavona Differential Revision: D35760366 Pulled By: alunyov fbshipit-source-id: 4e79ce2ccbe91a70f2d91d80667fd6960210c7f1
Does it mean relay-compiler package size will be ~10-20MB bigger? |
@TrySound additional binary is ~5 MB |
Looks like the fix was shipped in https://github.com/facebook/relay/releases/tag/v14.0.0 and this can be closed. |
Hello relay team! Thank you for all the effort you've been putting into the relay!
I have a question (or even a feature request) but let me quickly describe the context.
My laptop is on based apple m1 platform, at the same my team and I prefer to develop in docker containers.
It means that my usual platform is linux-arm64 which is not supported among other platforms listed below:
relay/packages/relay-compiler/index.js
Lines 16 to 26 in 427c01b
Now I have to run the new relay-compiler in a docker container forcing the platform for it this way
platform: linux/x86_64
which doesn't bring any benefits of node -> rust migration when it comes to speed. And actually brings another layer of virtualization to the whole app. Not that bad but not perfect too.Do you have any plans regarding linux-arm64 support for the new compiler?
The text was updated successfully, but these errors were encountered: