-
Notifications
You must be signed in to change notification settings - Fork 60
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
long-shot feature request: elixir OTP 25 builds with JIT disabled #149
Comments
What's the use case for this? |
Been running dockerfiles with
to avoid segmentation faults in arm64 builds but would be ideal to have it image specific instead of dockerfile tuned. |
You can select a different emulator with -emu_flavor. https://www.erlang.org/doc/man/erl.html Since there are options to disable the JIT I don't feel like separate images are needed since it would double the amount we have to build. |
Makes sense, thanks for clarifying. |
From aforementioned docs:
are we building our images with |
The downside is larger images. The beam flavor is slower and likely only to get slower with time, I would avoid it the most we can. |
Sorry to post in a closed issue but what is the recommended way to disable JIT in the current hexpm images? I've tried the following options:
Reference build: ruslandoga/plausible#93 |
No, it is not possible. The VM is compiled with the JIT in. |
I see. Thank you! |
something on the line of:
1.14.2-erlang-24.3.4.9-debian-bullseye-20230202-slim-nojit
x.x.x-erlang-25.x.x-distro-something-somethingelse-nojit
The text was updated successfully, but these errors were encountered: