diff options
| author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-15 06:39:49 +0000 |
|---|---|---|
| committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-15 06:39:49 +0000 |
| commit | b80598a92644abde7a38ef959f2c85f05d5ce381 (patch) | |
| tree | 1943cf137975e3a0e34906b7c825a07c640b56f3 | |
| parent | 53d48629527bcfc7720499e877acba67e5825412 (diff) | |
* common.mk (benchmark): order options for built-ruby and compare-ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | common.mk | 12 |
2 files changed, 10 insertions, 6 deletions
@@ -1,3 +1,7 @@ +Fri Apr 15 15:38:58 2016 NARUSE, Yui <naruse@ruby-lang.org> + + * common.mk (benchmark): order options for built-ruby and compare-ruby. + Fri Apr 15 14:14:00 2016 Kenta Murata <mrkn@mrkn.jp> * test/ruby/test_array.rb (test_sum): add assertions for Rational and @@ -927,19 +927,19 @@ OPTS = # for example, # $ make benchmark COMPARE_RUBY="ruby-trunk" OPTS="-e ruby-2.2.2" # This command compares trunk and built-ruby and 2.2.2 -benchmark: $(PROGRAM) PHONY +benchmark: miniruby$(EXEEXT) PHONY $(BASERUBY) $(srcdir)/benchmark/driver.rb -v \ - --executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \ + --executables="$(COMPARE_RUBY) -I../../ruby/lib -I. -I.ext/common --disable-gem; built-ruby::$(MINIRUBY) --disable-gem" \ --pattern='bm_' --directory=$(srcdir)/benchmark $(OPTS) -benchmark-each: $(PROGRAM) PHONY +benchmark-each: miniruby$(EXEEXT) PHONY $(BASERUBY) $(srcdir)/benchmark/driver.rb -v \ - --executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \ + --executables="$(COMPARE_RUBY) -I../../ruby/lib -I. -I.ext/common --disable-gem; built-ruby::$(MINIRUBY) --disable-gem" \ --pattern=$(ITEM) --directory=$(srcdir)/benchmark $(OPTS) -tbench: $(PROGRAM) PHONY +tbench: miniruby$(EXEEXT) PHONY $(BASERUBY) $(srcdir)/benchmark/driver.rb -v \ - --executables="$(COMPARE_RUBY); built-ruby::$(RUNRUBY)" \ + --executables="$(COMPARE_RUBY) -I../../ruby/lib -I. -I.ext/common --disable-gem; built-ruby::$(MINIRUBY) --disable-gem" \ --pattern='bmx_' --directory=$(srcdir)/benchmark $(OPTS) run.gdb: |
