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:
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
1
.gitignore
vendored
|
@ -235,7 +235,6 @@ lcov*.info
|
||||||
# MJIT
|
# MJIT
|
||||||
/include/ruby-*/*/rb_mjit_min_header-*.h
|
/include/ruby-*/*/rb_mjit_min_header-*.h
|
||||||
/lib/mjit/instruction.rb
|
/lib/mjit/instruction.rb
|
||||||
/mjit_c.rb
|
|
||||||
/mjit_config.h
|
/mjit_config.h
|
||||||
/rb_mjit_header.h
|
/rb_mjit_header.h
|
||||||
|
|
||||||
|
|
|
@ -239,11 +239,6 @@ $(srcdir)/lib/mjit/instruction.rb: $(tooldir)/insns2vm.rb $(tooldir)/ruby_vm/vie
|
||||||
$(ECHO) generating $@
|
$(ECHO) generating $@
|
||||||
$(Q) $(BASERUBY) -Ku $(tooldir)/insns2vm.rb --basedir="$(srcdir)" $(INSNS2VMOPT) $@
|
$(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
|
mjit-headers: $(MJIT_SUPPORT)-mjit-headers
|
||||||
no-mjit-headers: PHONY
|
no-mjit-headers: PHONY
|
||||||
yes-mjit-headers: mjit_config.h PHONY
|
yes-mjit-headers: mjit_config.h PHONY
|
||||||
|
|
|
@ -308,7 +308,7 @@ class BindingGenerator
|
||||||
end
|
end
|
||||||
|
|
||||||
src_dir = File.expand_path('../..', __dir__)
|
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)
|
build_dir = File.expand_path(build_dir)
|
||||||
cflags = [
|
cflags = [
|
||||||
src_dir,
|
src_dir,
|
||||||
|
|
Loading…
Reference in a new issue