mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
benchmark/time_strptime.yml does not work with miniruby
Since 72ad092960
, we cannot run full `make benchmark`
because default BENCH_RUBY is miniruby and it fails to require 'time'.
Using miniruby for benchmark by default seems reasonable for some cases,
but now it's just bothering for people running full `make benchmark`.
This commit is contained in:
parent
d7c3eb570b
commit
a4c5d23404
1 changed files with 2 additions and 2 deletions
|
@ -1163,7 +1163,7 @@ bisect-ruby: PHONY
|
||||||
$(srcdir)/tool/bisect.sh ruby $(srcdir)
|
$(srcdir)/tool/bisect.sh ruby $(srcdir)
|
||||||
|
|
||||||
COMPARE_RUBY = $(BASERUBY)
|
COMPARE_RUBY = $(BASERUBY)
|
||||||
BENCH_RUBY = $(MINIRUBY)
|
BENCH_RUBY = $(RUNRUBY)
|
||||||
ITEM =
|
ITEM =
|
||||||
ARGS = $$(ls $(srcdir)/benchmark/*$(ITEM)*.{yml,rb} 2>/dev/null)
|
ARGS = $$(ls $(srcdir)/benchmark/*$(ITEM)*.{yml,rb} 2>/dev/null)
|
||||||
OPTS =
|
OPTS =
|
||||||
|
@ -1176,7 +1176,7 @@ OPTS =
|
||||||
benchmark: miniruby$(EXEEXT) update-benchmark-driver PHONY
|
benchmark: miniruby$(EXEEXT) update-benchmark-driver PHONY
|
||||||
$(BASERUBY) -rrubygems -I$(srcdir)/benchmark/lib $(srcdir)/benchmark/benchmark-driver/exe/benchmark-driver \
|
$(BASERUBY) -rrubygems -I$(srcdir)/benchmark/lib $(srcdir)/benchmark/benchmark-driver/exe/benchmark-driver \
|
||||||
--executables="compare-ruby::$(COMPARE_RUBY) -I$(EXTOUT)/common --disable-gem" \
|
--executables="compare-ruby::$(COMPARE_RUBY) -I$(EXTOUT)/common --disable-gem" \
|
||||||
--executables="built-ruby::$(BENCH_RUBY) -r$(srcdir)/prelude --disable-gem" \
|
--executables="built-ruby::$(BENCH_RUBY) --disable-gem" \
|
||||||
$(ARGS) $(OPTS)
|
$(ARGS) $(OPTS)
|
||||||
|
|
||||||
run.gdb:
|
run.gdb:
|
||||||
|
|
Loading…
Add table
Reference in a new issue