Skip to content

Commit 2085455

Browse files
committed
Build Ruby 3.5 or greater with zjit
zjit is the next big thing and at least one character better than yjit. It currently lags behind yjit in many areas but commiters expect it to be ready and on par with yjit by the time 3.5 actually releases. https://bugs.ruby-lang.org/issues/21221
1 parent 5a7d944 commit 2085455

File tree

7 files changed

+9
-0
lines changed

7 files changed

+9
-0
lines changed

3.5-rc/alpine3.20/Dockerfile

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

3.5-rc/alpine3.21/Dockerfile

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

3.5-rc/bookworm/Dockerfile

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

3.5-rc/bullseye/Dockerfile

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

3.5-rc/slim-bookworm/Dockerfile

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

3.5-rc/slim-bullseye/Dockerfile

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Dockerfile.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ RUN set -eux; \
207207
--disable-install-doc \
208208
--enable-shared \
209209
${rustArch:+--enable-yjit} \
210+
{{ if env.version | IN("3.2", "3.3", "3.4") then "" else ( -}}
211+
${rustArch:+--enable-zjit} \
212+
{{ ) end -}}
210213
; \
211214
make -j "$(nproc)"; \
212215
make install; \

0 commit comments

Comments
 (0)