mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Select ruby to run benchmarks with BENCH_RUBY
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
26ea03c04f
commit
9e3ffd41f5
1 changed files with 2 additions and 1 deletions
|
@ -1153,6 +1153,7 @@ bisect-ruby: PHONY
|
|||
$(srcdir)/tool/bisect.sh ruby $(srcdir)
|
||||
|
||||
COMPARE_RUBY = $(BASERUBY)
|
||||
BENCH_RUBY = $(MINIRUBY)
|
||||
ITEM =
|
||||
ARGS = $$(find $(srcdir)/benchmark -maxdepth 1 -name '*$(ITEM)*.yml' -o -name '*$(ITEM)*.rb' | sort)
|
||||
OPTS =
|
||||
|
@ -1165,7 +1166,7 @@ OPTS =
|
|||
benchmark: miniruby$(EXEEXT) update-benchmark-driver PHONY
|
||||
$(BASERUBY) -rrubygems -I$(srcdir)/benchmark/lib $(srcdir)/benchmark/benchmark-driver/exe/benchmark-driver \
|
||||
--executables="compare-ruby::$(COMPARE_RUBY) -I$(EXTOUT)/common --disable-gem" \
|
||||
--executables="built-ruby::$(MINIRUBY) -r$(srcdir)/prelude --disable-gem" \
|
||||
--executables="built-ruby::$(BENCH_RUBY) -r$(srcdir)/prelude --disable-gem" \
|
||||
$(ARGS) $(OPTS)
|
||||
|
||||
run.gdb:
|
||||
|
|
Loading…
Add table
Reference in a new issue