Skip to content

Commit

Permalink
Renames ruby patches to make it generic for >= 3.2
Browse files Browse the repository at this point in the history
Pushed this in a separate commit to make it easy to revert waiting for feedback
  • Loading branch information
san983 committed Dec 26, 2023
1 parent 0b61706 commit c08ca81
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions container-entrypoints/build-ruby
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if [[ "$VARIANT" = jemalloc ]]; then
run patch -p1 -ti /system/resources/ruby_31_jemalloc.patch
else
EXTRA_CONFIGURE_ARGS+=(--enable-yjit)
run patch -p1 -ti /system/resources/ruby_32_jemalloc.patch
run patch -p1 -ti /system/resources/ruby_jemalloc.patch
fi
elif [[ "$VARIANT" = malloctrim ]]; then
EXTRA_CONFIGURE_ARGS=()
Expand All @@ -100,7 +100,7 @@ elif [[ "$VARIANT" = malloctrim ]]; then
run patch -p1 -ti /system/resources/ruby_31_malloctrim.patch
else
EXTRA_CONFIGURE_ARGS+=(--enable-yjit)
run patch -p1 -ti /system/resources/ruby_32_malloctrim.patch
run patch -p1 -ti /system/resources/ruby_malloctrim.patch
fi
else
EXTRA_CONFIGURE_ARGS=()
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit c08ca81

Please sign in to comment.