-
Notifications
You must be signed in to change notification settings - Fork 335
Description
YJIT currently works on the ruby 3.1 images, but not on the 3.2-preview images. It would be nice to have it enabled so that functionality isn't lost.
Starting with ruby 3.2, YJIT requires rust 1.58.1+ and using the --enable-yjit
config option to be built into ruby. It also only works on the x86_64, arm64, and aarch64 platforms.
I started to update the Dockerfile.template
to support this, but it turns out that alpine3.16 is the only build variant that ships with a new enough rust to support YJIT.
With the combination of limited build variants and limited platforms, what is the best way to support YJIT in this project? I didn't see a way to change which Dockerfile is used for each platform, but I'm not very familiar with the build infrastructure used by this project. If someone can point me in the right direction, I can put together a merge request.