mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
common.mk: load prelude on make benchmark
because benchmark/bm_io_nonblock_noex.rb and benchmark/bm_io_nonblock_noex2.rb are using IO#write_nonblock and it's defined in prelude. miniruby can't run the benchmark without prelude. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9fd839c0b2
commit
1f4541cb98
1 changed files with 2 additions and 2 deletions
|
@ -1119,12 +1119,12 @@ OPTS =
|
|||
# This command compares trunk and built-ruby and 2.2.2
|
||||
benchmark: miniruby$(EXEEXT) PHONY
|
||||
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
|
||||
--executables="$(COMPARE_RUBY) -I$(srcdir)/lib -I. -I$(EXTOUT)/common --disable-gem; built-ruby::$(MINIRUBY) --disable-gem" \
|
||||
--executables="$(COMPARE_RUBY) -I$(srcdir)/lib -I. -I$(EXTOUT)/common --disable-gem; built-ruby::$(MINIRUBY) -r$(srcdir)/prelude --disable-gem" \
|
||||
--pattern='bm_' --directory=$(srcdir)/benchmark $(OPTS)
|
||||
|
||||
benchmark-each: miniruby$(EXEEXT) PHONY
|
||||
$(BASERUBY) $(srcdir)/benchmark/driver.rb -v \
|
||||
--executables="$(COMPARE_RUBY) -I$(srcdir)/lib -I. -I$(EXTOUT)/common --disable-gem; built-ruby::$(MINIRUBY) --disable-gem" \
|
||||
--executables="$(COMPARE_RUBY) -I$(srcdir)/lib -I. -I$(EXTOUT)/common --disable-gem; built-ruby::$(MINIRUBY) -r$(srcdir)/prelude --disable-gem" \
|
||||
--pattern=$(ITEM) --directory=$(srcdir)/benchmark $(OPTS)
|
||||
|
||||
run.gdb:
|
||||
|
|
Loading…
Add table
Reference in a new issue