summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-07 01:58:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-07 01:58:05 +0000
commit9e3ffd41f5aa697bcfd2adac29498755f095d4a3 (patch)
tree5c54eb877157e3a702137e7d0d4cf25bef7ca021 /common.mk
parent26ea03c04fdcd282d499b762017d78d8c06e68e5 (diff)
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
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 4e02287eff..07429b4ed8 100644
--- a/common.mk
+++ b/common.mk
@@ -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: