summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-06-03 20:47:32 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-06-03 20:47:33 +0900
commita4c5d234045438e09ea4f5feed0ae50958604907 (patch)
treea689a212db0e549f22493cce62b38cb0882aed05 /common.mk
parentd7c3eb570b2a9dd76f4e0e5d3c39fa10dc8d0cd7 (diff)
benchmark/time_strptime.yml does not work with miniruby
Since 72ad092960c413b6a5687c552747b20a5ed78b22, 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`.
Diffstat (limited to 'common.mk')
-rwxr-xr-xcommon.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index 3fd77afef6..58520a33c3 100755
--- a/common.mk
+++ b/common.mk
@@ -1163,7 +1163,7 @@ bisect-ruby: PHONY
$(srcdir)/tool/bisect.sh ruby $(srcdir)
COMPARE_RUBY = $(BASERUBY)
-BENCH_RUBY = $(MINIRUBY)
+BENCH_RUBY = $(RUNRUBY)
ITEM =
ARGS = $$(ls $(srcdir)/benchmark/*$(ITEM)*.{yml,rb} 2>/dev/null)
OPTS =
@@ -1176,7 +1176,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::$(BENCH_RUBY) -r$(srcdir)/prelude --disable-gem" \
+ --executables="built-ruby::$(BENCH_RUBY) --disable-gem" \
$(ARGS) $(OPTS)
run.gdb: