summaryrefslogtreecommitdiff
path: root/defs
AgeCommit message (Collapse)Author
2020-03-28Deal with bundled gems by BASERUBYNobuyoshi Nakada
As the currently released/snapshot tarballs should contain the bundled gems extracted already, RUNRUBY is not required when building from them with GNU make.
2020-03-13Update and extract for each gemNobuyoshi Nakada
2020-03-13`update-gems` should wait for `update-bundled_gems`Nobuyoshi Nakada
2020-03-12Add prepare-gems to download and extract bundled gemsNobuyoshi Nakada
2020-01-08config.status should be newer than config.cache if existsNobuyoshi Nakada
2019-12-20Fixed misspellingsNobuyoshi Nakada
Fixed misspellings reported at [Bug #16437], only in ruby and rubyspec.
2019-12-10Prefer $(CHDIR) for the case srcdir contains symlinksNobuyoshi Nakada
2019-11-23Suppress git error messageKazuhiro NISHIYAMA
`fatal: not a git repository (or any of the parent directories): .git`
2019-11-21Fixed for old gitNobuyoshi Nakada
2019-11-21Skip updating revision.h when the revision is unchangedNobuyoshi Nakada
note: GNU make only.
2019-11-12Revert "Method reference operator"Nobuyoshi Nakada
This reverts commit 67c574736912003c377218153f9d3b9c0c96a17b. [Feature #16275]
2019-10-24Added refresh-gemsNobuyoshi Nakada
Refreshes bundled gems to the latest version, and extracts them.
2019-09-25Removed idNUMPARAM_0Nobuyoshi Nakada
2019-09-23Lazy init thread local storageLourens Naudé
Notes: Merged: https://github.com/ruby/ruby/pull/2295
2019-09-20Added the target to run a benchmarkNobuyoshi Nakada
2019-09-20Fixed a variable in checkout-github-%Nobuyoshi Nakada
2019-09-09Use target-specific variable instead of a conditional [ci skip]Nobuyoshi Nakada
And test-rubyspec is deprecated.
2019-09-06Warn local variables which conflict with new numbered parametersNobuyoshi Nakada
2019-09-01Made :nil static IDNobuyoshi Nakada
2019-08-29Revert "Add pipeline operator [Feature #15799]"Nobuyoshi Nakada
This reverts commits: * d365fd5a024254d7c105a62a015a7ea29ccf3e5d * d780c3662484d6072b3a6945b840049de72c2096 * aa7211836b769231a2a8ef6b6ec2fd0ec882ef29 * 043f010c28e82ea38978bf8ed885416f133b5b75 * bb4dd7c6af05c7821d572e2592ea3d0cc748d81f * 043f010c28e82ea38978bf8ed885416f133b5b75 * f169043d81524b5b529f2c1e9c35437ba5bc3a7a http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/94645
2019-08-26Moved INCFLAGS to XCFLAGS from CPPFLAGS as well as mswinNobuyoshi Nakada
Rules which have used CPPFLAGS will need XCFLAGS or INCFLAGS now.
2019-08-26Added in-srcdir macro [ci skip]Nobuyoshi Nakada
2019-08-16exit accepts true and false [ci skip]Nobuyoshi Nakada
2019-08-16Use GNU make built-in funtion [ci skip]Nobuyoshi Nakada
2019-08-16Also clean up branch for worktreeTakashi Kokubun
2019-08-16Clean up temporary git resourcesTakashi Kokubun
after `make update-github`
2019-08-16Improve `make update-github` to avoid configureTakashi Kokubun
after doing it once.
2019-08-16Make `make update-github` idempotentTakashi Kokubun
2019-08-16Fix crash on $(PULL_REQUEST) expansionTakashi Kokubun
by directly passing it to Ruby without passing a shell. Formerly it was broken when $(PULL_REQUEST) included quotes.
2019-08-15Prepare to pull commits notes [ci skip]Nobuyoshi Nakada
2019-08-15Simplified GITHUB_TOKEN argument [ci skip]Nobuyoshi Nakada
2019-08-15Add `make update-github PR=1234` to refresh PR (#2368)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2019-08-14Drop obsoleted `make merge-github` taskTakashi Kokubun
2019-08-13spec/bundler needs the specific command [ci skip]Nobuyoshi Nakada
2019-08-13Stop rewriting message to include PR URLNobuyoshi Nakada
Notes: Merged: https://github.com/pull/2347
2019-08-12Use rev-parseNobuyoshi Nakada
Use simpler rev-parse to check if pull request was fetched.
2019-08-11Note the reference to the pull request [ci skip]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2339
2019-08-11Use already fetched pull request [ci skip]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/2338
2019-08-11prereq.status deals with removal of nmake VPATH notations [ci skip]Nobuyoshi Nakada
2019-08-08Remove temporary directory [ci skip]Nobuyoshi Nakada
2019-08-03Predefine some IDsNobuyoshi Nakada
2019-08-02Revert "Revert "Add a specialized instruction for `.nil?` calls""Yusuke Endoh
This reverts commit a0980f2446c0db735b8ffeb37e241370c458a626. Retry for macOS Mojave.
2019-08-02Revert "Add a specialized instruction for `.nil?` calls"Yusuke Endoh
This reverts commit 9faef3113fb4331524b81ba73005ba13fa0ef6c6. It seemed to cause a failure on macOS Mojave, though I'm unsure how. https://rubyci.org/logs/rubyci.s3.amazonaws.com/osx1014/ruby-master/log/20190802T034503Z.fail.html.gz This tentative revert is to check if the issue is actually caused by the change or not.
2019-07-31Add a specialized instruction for `.nil?` callsAaron Patterson
This commit adds a specialized instruction for called to `.nil?`. It is about 27% faster than master in the case where the object is nil or not nil. In the case where an object implements `nil?`, I think it may be slightly slower. Here is a benchmark: ```ruby require "benchmark/ips" class Niller def nil?; true; end end not_nil = Object.new xnil = nil niller = Niller.new Benchmark.ips do |x| x.report("nil?") { xnil.nil? } x.report("not nil") { not_nil.nil? } x.report("niller") { niller.nil? } end ``` On Ruby master: ``` [aaron@TC ~/g/ruby (master)]$ ./ruby compil.rb Warming up -------------------------------------- nil? 429.195k i/100ms not nil 437.889k i/100ms niller 437.935k i/100ms Calculating ------------------------------------- nil? 20.166M (± 8.1%) i/s - 100.002M in 5.002794s not nil 20.046M (± 7.6%) i/s - 99.839M in 5.020086s niller 22.467M (± 6.1%) i/s - 112.111M in 5.013817s [aaron@TC ~/g/ruby (master)]$ ./ruby compil.rb Warming up -------------------------------------- nil? 449.660k i/100ms not nil 433.836k i/100ms niller 443.073k i/100ms Calculating ------------------------------------- nil? 19.997M (± 8.8%) i/s - 99.375M in 5.020458s not nil 20.529M (± 7.0%) i/s - 102.385M in 5.020689s niller 21.796M (± 8.0%) i/s - 108.110M in 5.002300s [aaron@TC ~/g/ruby (master)]$ ./ruby compil.rb Warming up -------------------------------------- nil? 402.119k i/100ms not nil 438.968k i/100ms niller 398.226k i/100ms Calculating ------------------------------------- nil? 20.050M (±12.2%) i/s - 98.519M in 5.008817s not nil 20.614M (± 8.0%) i/s - 102.280M in 5.004531s niller 22.223M (± 8.8%) i/s - 110.309M in 5.013106s ``` On this branch: ``` [aaron@TC ~/g/ruby (specialized-nilp)]$ ./ruby compil.rb Warming up -------------------------------------- nil? 468.371k i/100ms not nil 456.517k i/100ms niller 454.981k i/100ms Calculating ------------------------------------- nil? 27.849M (± 7.8%) i/s - 138.169M in 5.001730s not nil 26.417M (± 8.7%) i/s - 131.020M in 5.011674s niller 21.561M (± 7.5%) i/s - 107.376M in 5.018113s [aaron@TC ~/g/ruby (specialized-nilp)]$ ./ruby compil.rb Warming up -------------------------------------- nil? 477.259k i/100ms not nil 428.712k i/100ms niller 446.109k i/100ms Calculating ------------------------------------- nil? 28.071M (± 7.3%) i/s - 139.837M in 5.016590s not nil 25.789M (±12.9%) i/s - 126.470M in 5.011144s niller 20.002M (±12.2%) i/s - 98.144M in 5.001737s [aaron@TC ~/g/ruby (specialized-nilp)]$ ./ruby compil.rb Warming up -------------------------------------- nil? 467.676k i/100ms not nil 445.791k i/100ms niller 415.024k i/100ms Calculating ------------------------------------- nil? 26.907M (± 8.0%) i/s - 133.755M in 5.013915s not nil 25.319M (± 7.9%) i/s - 125.713M in 5.007758s niller 19.569M (±11.8%) i/s - 96.286M in 5.008533s ``` Co-Authored-By: Ashe Connor <kivikakk@github.com>
2019-07-31run single spec [ci skip]Nobuyoshi Nakada
2019-07-25Separated tool/test/runner.rb and test/runner.rbNobuyoshi Nakada
As `make test-tool` does not use gems, and no Rubygems stuffs is needed, so moved such things to test/runner.rb. Also no longer nees `--test-target-dir` option.
2019-07-24Adjusted test runnerNobuyoshi Nakada
2019-07-22Run test-tool in the order of the testsNobuyoshi Nakada
2019-07-19Update before commitNobuyoshi Nakada
2019-07-17Separate pull-github from merge-github [ci skip]Nobuyoshi Nakada