1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

mjit_c.rb doesn't need to be an erb

This commit is contained in:
Takashi Kokubun 2022-09-18 23:20:44 +09:00
parent 334b8bd459
commit 4e0db2f753
Notes: git 2022-09-23 06:45:08 +09:00
4 changed files with 1 additions and 7 deletions

1
.gitignore vendored
View file

@ -235,7 +235,6 @@ lcov*.info
# MJIT
/include/ruby-*/*/rb_mjit_min_header-*.h
/lib/mjit/instruction.rb
/mjit_c.rb
/mjit_config.h
/rb_mjit_header.h

View file

@ -239,11 +239,6 @@ $(srcdir)/lib/mjit/instruction.rb: $(tooldir)/insns2vm.rb $(tooldir)/ruby_vm/vie
$(ECHO) generating $@
$(Q) $(BASERUBY) -Ku $(tooldir)/insns2vm.rb --basedir="$(srcdir)" $(INSNS2VMOPT) $@
srcs: $(srcdir)/mjit_c.rb
$(srcdir)/mjit_c.rb: $(tooldir)/insns2vm.rb $(tooldir)/ruby_vm/views/mjit_c.rb.erb
$(ECHO) generating $@
$(Q) $(BASERUBY) -Ku $(tooldir)/insns2vm.rb --basedir="$(srcdir)" $(INSNS2VMOPT) $@
mjit-headers: $(MJIT_SUPPORT)-mjit-headers
no-mjit-headers: PHONY
yes-mjit-headers: mjit_config.h PHONY

View file

@ -308,7 +308,7 @@ class BindingGenerator
end
src_dir = File.expand_path('../..', __dir__)
src_path = File.join(src_dir, 'tool/ruby_vm/views/mjit_c.rb.erb')
src_path = File.join(src_dir, 'mjit_c.rb')
build_dir = File.expand_path(build_dir)
cflags = [
src_dir,