Commit 490093f5
490093f5c137Merged
Yukihiro "Matz" Matsumoto <[email protected]> · 5 months ago · 2 files · ~2 modified
Description
Support a machine-local Makefile override (local.mk)
Add -include local.mk early in the Makefile so a developer can point
the bootstrap at an alternative Ruby -- e.g. a YJIT-enabled miniruby --
and set OPT/CC/etc. for their environment without editing committed
defaults. Included before the ?= defaults so local.mk wins; a
command-line make VAR=... still overrides everything. local.mk is
gitignored.
The bootstrap steps already run through $(BOOTSTRAP_RUBY); pointing it
at a YJIT miniruby (e.g. BOOTSTRAP_RUBY = /path/to/ruby/miniruby plus
YJIT = 1 in local.mk) accelerates the hot-loop-heavy compiler
interpretation. REF_RUBY and the gem-dependent steps (prism detect,
optcarrot pack) stay on the full system ruby.
Co-Authored-By: Claude Opus 4.8 [email protected]
Details
- Commit
- 490093f5c137
- Parent
- 69b25d852c5d