aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
Commit message (Collapse)AuthorAgeFilesLines
* Annotate Kernel#class as inline (#3250)Takashi Kokubun2020-06-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | ``` $ benchmark-driver -v --rbenv 'before;after;before --jit;after --jit' benchmark/mjit_class.yml --repeat-count=4 before: ruby 2.8.0dev (2020-06-23T07:09:54Z master 37a2e48d76) [x86_64-linux] after: ruby 2.8.0dev (2020-06-23T17:29:56Z inline-class 0ff147c007) [x86_64-linux] before --jit: ruby 2.8.0dev (2020-06-23T07:09:54Z master 37a2e48d76) +JIT [x86_64-linux] after --jit: ruby 2.8.0dev (2020-06-23T17:29:56Z inline-class 0ff147c007) +JIT [x86_64-linux] Calculating ------------------------------------- before after before --jit after --jit mjit_class(self) 39.219M 40.060M 53.502M 69.202M i/s - 40.000M times in 1.019915s 0.998495s 0.747631s 0.578021s mjit_class(1) 39.567M 41.242M 52.100M 68.895M i/s - 40.000M times in 1.010935s 0.969885s 0.767749s 0.580591s Comparison: mjit_class(self) after --jit: 69201690.7 i/s before --jit: 53502336.4 i/s - 1.29x slower after: 40060289.1 i/s - 1.73x slower before: 39218939.2 i/s - 1.76x slower mjit_class(1) after --jit: 68895358.6 i/s before --jit: 52100353.0 i/s - 1.32x slower after: 41241993.6 i/s - 1.67x slower before: 39567314.0 i/s - 1.74x slower ```
* Stop relying on `make benchmark`'s `-I$(srcdir)/benchmark/lib`Takashi Kokubun2020-06-221-1/+1
| | | | | | These days I don't use `make benchmark`. The YAML files should be executable with bare `benchmark-driver` CLI without passing `RUBYOPT=-Ibenchmark/lib`.
* Make Integer#zero? a separated method and builtin (#3226)Takashi Kokubun2020-06-201-0/+5
| | | | | | | A prerequisite to fix https://bugs.ruby-lang.org/issues/15589 with JIT. This commit alone doesn't make a significant difference yet, but I thought this commit should be committed independently. This method override was discussed in [Misc #16961].
* Build configured extension libraries onlyNobuyoshi Nakada2020-06-191-1/+1
| | | | | Consider the libraries, which remain exts.mk but not listed in ext/configure-ext.mk, removed.
* $(PREP) is needed to run $(MINIRUBY)Nobuyoshi Nakada2020-06-181-1/+1
|
* Replaced accessors of `Struct` with `invokebuiltin`Nobuyoshi Nakada2020-06-171-0/+1
|
* Revert "Replaced accessors of `Struct` with `invokebuiltin`"Nobuyoshi Nakada2020-06-161-1/+0
| | | | | This reverts commit 19cabe8b09d92d033c244f32ff622b8e513375f1, which didn't support tool/lib/iseq_loader_checker.rb.
* Replaced accessors of `Struct` with `invokebuiltin`Nobuyoshi Nakada2020-06-161-0/+1
|
* Added install-dbgNobuyoshi Nakada2020-06-131-0/+7
| | | | Scripts to run the interpreter via debugger.
* Updated autogenerated dependenciesNobuyoshi Nakada2020-06-111-1563/+1575
| | | | Sorted the lines asnd added mjit_build_dir.o dependencies.
* Skip updating exts in test-all to reduce the turnaround timeNobuyoshi Nakada2020-06-101-1/+1
|
* Fixed main dependencyNobuyoshi Nakada2020-06-081-1/+1
| | | | | `programs` has depended on the "fake" script, which is used by `test-spec` and etc.
* Fixed test dependenciesNobuyoshi Nakada2020-06-081-5/+13
| | | | | All tests of `test-all` or more require not only the `main` but also extension libraries.
* Updated the benchmark-driver versionNobuyoshi Nakada2020-06-081-1/+1
|
* Defaulted benchmark output to markdown with comarisonNobuyoshi Nakada2020-06-081-1/+2
|
* Fixup test-bundler-parallelNobuyoshi Nakada2020-06-051-4/+7
| | | | | | | * Do not chdir in the runner process, to access miniruby. Chdir in worker processes instead. * GNU make does not export newly added environment variables by default, set PARALLEL_TESTS_EXECUTABLE in the runner.
* Fixup 347127794e8041a1257b7241bbbdd9d0db2921a5Hiroshi SHIBATA2020-06-051-1/+2
|
* spec/bundler/support/parallel.rb is no longer used parallel_rspec.Hiroshi SHIBATA2020-06-051-1/+1
|
* Update leaked-globals [Bug #16934]Nobuyoshi Nakada2020-06-041-1/+1
| | | | | * match uppercase types which would be global, other than [BDT] * ignore `RUBY_` prefixed symbols
* No GITPULLOPTIONS by defaultNobuyoshi Nakada2020-06-041-1/+1
| | | | | To honor the environment variable, keep GITPULLOPTIONS unset by default, and appended the option to VCSUP.
* Remove platform directory when distclean or more [ci skip]Nobuyoshi Nakada2020-05-281-1/+1
| | | | | At the time of clean-platform, platform directory may not be empty because of parallel build.
* Bump version to use RSpec 3.8+Hiroshi SHIBATA2020-05-131-1/+1
|
* Bump version to use Rake 13 in bundler examplesHiroshi SHIBATA2020-05-131-1/+1
|
* Build auxiliary program files earlyNobuyoshi Nakada2020-05-121-4/+4
|
* builtin_binary.inc: should be updated even if no changes [ci skip]Nobuyoshi Nakada2020-05-121-1/+1
| | | | | As this rule does not use a separate timestamp file, the target will be rebuilt every time once it is outdated.
* sed -i 's|ruby/impl|ruby/internal|'卜部昌平2020-05-111-10447/+10447
| | | | To fix build failures.
* sed -i s|ruby/3|ruby/impl|g卜部昌平2020-05-111-10447/+10447
| | | | This shall fix compile errors.
* nmake doesn't understand $<卜部昌平2020-05-101-1/+1
| | | | Fix MSVC build error.
* delete mk_builtin_binary.rb卜部昌平2020-05-101-2/+3
| | | | To generate what is necessary via generic_erb.rb instead.
* delete mk_call_iseq_optimized.rb卜部昌平2020-05-101-2/+2
| | | | To generate what is necessary via generic_erb.rb instead.
* internal/process.h: add a no-warning simple wrapper for fork(2)Yusuke Endoh2020-05-021-0/+1
| | | | | | | | | | | | As fork(2) is deprecated, its calls must be guarded by `COMPILER_WARNING_IGNORED(-Wdeprecated-declarations)`. All usages of fork(2) in process have been alread guarded. A new call to fork(2) was added in ruby.c with f22c4ff359498ab342e4b6d6feb21af6004ee270. This caused a build failure on Solaris 11. It may hide a bug to guard big code unnecessarily, so this change introduces a simple wrapper "rb_fork" whose definition is guarded, and replaces all calls to fork(2) with the wrapper function.
* Remove rubyspec temporary directoriesNobuyoshi Nakada2020-04-281-1/+0
|
* Remove rubyspec temporary directoryNobuyoshi Nakada2020-04-281-0/+1
|
* check: compare with right upstreamNobuyoshi Nakada2020-04-271-2/+4
|
* Update benchmark-driver versionNobuyoshi Nakada2020-04-221-1/+1
|
* Update benchmark-driver versionNobuyoshi Nakada2020-04-221-1/+1
|
* fileutils now depends on rbconfig.rb due to JRuby supportNobuyoshi Nakada2020-04-171-1/+1
|
* Make y.output in ripper unlocalized [ci skip]Nobuyoshi Nakada2020-04-141-1/+1
| | | | | Often it is easy to search, grep, etc from command line, for debugging purpose.
* include what you use.卜部昌平2020-04-131-17/+1
| | | | | | | | | | | | | | | | | | | | | | This reverts commit 443389effc37308ce1a3c3a840082a344fc6af56. This reverts commit d94960f22ec2de3a3855305cb51343806d2b46c7. Inclusion of header files must be explicit. Every file shall directly include what is necessary. https://github.com/include-what-you-use/include-what-you-use says: > When every file includes what it uses, then it is possible to edit any > file and remove unused headers, without fear of accidentally breaking > the upwards dependencies of that file. It also becomes easy to > automatically track and update dependencies in the source code. Though we don't use iwyu itself, the principle quoted above is a good thing that we can agree. Now that include guards were added to every and all of the headers inside of our project this changeset does not increase compile time, at least on my machine.
* update dependenciesKoichi Sasada2020-04-101-1/+17
|
* Merge pull request #2991 from shyouhei/ruby.h卜部昌平2020-04-081-60/+11344
| | | Split ruby.h
* Moved `Dir.open` and `Dir#initialize` to dir.rbNobuyoshi Nakada2020-04-061-0/+4
|
* Added tooldir variableNobuyoshi Nakada2020-04-051-81/+81
|
* Refresh revision.h by after-updateNobuyoshi Nakada2020-03-301-4/+2
|
* Add rexml to fix rss of test-bundled-gems (#2976)Kazuhiro NISHIYAMA2020-03-241-1/+1
|
* Use miniruby to run tool/mjit_tabs.rbTakashi Kokubun2020-03-231-2/+2
| | | | hoping to fix https://github.com/ruby/actions/runs/527422022
* Make file names and variable names consistentTakashi Kokubun2020-03-231-2/+2
|
* Moved MJIT_WITHOUT_TABS default to configure.acNobuyoshi Nakada2020-03-241-3/+0
| | | | And then the environment variable.
* Change the filename like make variableTakashi Kokubun2020-03-221-2/+2
| | | | for consistency
* Make the first argument slightly more robustTakashi Kokubun2020-03-221-1/+1
|