aboutsummaryrefslogtreecommitdiffstats
path: root/tool
Commit message (Collapse)AuthorAgeFilesLines
* Pass $(XRUBY) to test-bundled-gems.rb since RbConfig.ruby is incorrect for ↵Benoit Daloze2019-09-291-1/+1
| | | | miniruby
* Move the logic to test bundled gems to Ruby codeBenoit Daloze2019-09-291-0/+26
| | | | | * Writing shell scripts in a Makefile is very error-prone. * TEST_BUNDLED_GEMS_ALLOW_FAILURES seemed to not work before.
* assert_in_out_err should use FailDesc tooNobuyoshi Nakada2019-09-271-4/+2
|
* make-snapshot: store timestamps in UTC for zip which lacks timezoneNobuyoshi Nakada2019-09-231-0/+1
|
* Add `-mtc=off` to `7z` not to store NTFS timestampsKazuhiro NISHIYAMA2019-09-231-1/+1
| | | | https://sevenzip.osdn.jp/chm/cmdline/switches/method.htm
* make-snapshot: Added -no7z optionNobuyoshi Nakada2019-09-221-1/+1
| | | | | | It disables 7z, which seems not to have an option to stop saving extra file attributes (uid/gid and atime), in order to make zip packages stable.
* make-snapshot: Do not save extra file attributesNobuyoshi Nakada2019-09-221-1/+1
| | | | | Extra file attributes (uid/gid and atime) make the packaged zip file unstable.
* st.c: Use rb_st_* prefix instead of st_* (#2479)Yusuke Endoh2019-09-221-1/+1
| | | | | | | | | | | The original st.c was public domain hash table implementation, but Ruby's st.c is highly modified, and its data structure is not compatiblie with the original one. Therefore, when creating an extension library to wrap C code that uses the original st.c, the symbols conflict, which leads to segfault. This changes the prefix `st_*` of st.c functions to `rb_st_*` for reflecting that they are specific to Ruby's, and avoid symbol conflicts.
* typedef rb_jmpbuf_t to void *[5] if __builtin_setjmp is usedFangrui Song2019-09-211-1/+1
| | | | | | The built-in version operates on a buffer of 5 words, much smaller than the size of jmp_buf defined in libc. Note, powerpc requires 5 words, while arm and x86_64 just require 3.
* Fixed up 37c083942509dd7e0d8b7ccd3575936a2017c400Hiroshi SHIBATA2019-09-201-1/+0
|
* Removed ThreadsWait from the ruby repositoryHiroshi SHIBATA2019-09-201-6/+0
|
* Removed Synchronizer from the ruby repository.Hiroshi SHIBATA2019-09-201-1/+1
|
* Removed Shell from the ruby repository.Hiroshi SHIBATA2019-09-201-3/+1
|
* Removed Scanf from the ruby repository.Hiroshi SHIBATA2019-09-201-3/+1
|
* Removed CMath from the ruby repository.Hiroshi SHIBATA2019-09-201-3/+1
|
* Try to fetch commits notes to the source tree automaticallyNobuyoshi Nakada2019-09-151-4/+3
| | | | [Bug #16167]
* make-snapshot: no merge commits in ChangeLogNobuyoshi Nakada2019-09-151-1/+1
| | | | | | Parents commit hashs in logs of merge commits are abbreviated to necessary length depending on the repositories. Exclude merge commits from ChangeLog to make it stable.
* make-snapshot: export ChangeLog from srcdirNobuyoshi Nakada2019-09-152-5/+2
|
* make-snapshot: deprecated -exported option [Bug #16167]Nobuyoshi Nakada2019-09-151-51/+46
|
* Continue to export even if no notes/commitsNobuyoshi Nakada2019-09-141-1/+3
| | | | | Just exporting may not imply exporting ChangeLog which needs notes/commits. [Bug #16167]
* make-snapshot: -git option is no longer provided [ci skip]Nobuyoshi Nakada2019-09-081-2/+0
|
* make-snapshot: default to the toplevel directoryNobuyoshi Nakada2019-09-081-1/+5
| | | | | | As this tool has been intended to use in a working directory, assume that the toplevel directory is under the VCS, and SVN will no longer be canonical.
* Touch copied cache files to make tarballs stableNobuyoshi Nakada2019-09-081-5/+8
|
* Suppress detached head warningNobuyoshi Nakada2019-09-081-1/+1
|
* Exit gently if no VCS found but --suppress_not_found is givenNobuyoshi Nakada2019-09-071-0/+1
|
* Removed no longer used variableNobuyoshi Nakada2019-09-071-1/+0
|
* Assign to vcs in new_vcs block not to use rescue resultNobuyoshi Nakada2019-09-071-3/+4
|
* Fixed wrong method at 71f7b0421acNobuyoshi Nakada2019-09-071-1/+1
|
* Fix error when checking file modified with git-svnNobuyoshi Nakada2019-09-071-1/+2
|
* Get rid of overwriting revision.h and creating .revision.timeNobuyoshi Nakada2019-09-071-1/+3
|
* Use `git describe --contains` for tagsNobuyoshi Nakada2019-09-071-1/+1
|
* Added more debug outputs from VCS::GITNobuyoshi Nakada2019-09-071-1/+4
|
* Refined file2lastrev.rb optionsNobuyoshi Nakada2019-09-071-20/+30
| | | | | | | * check --srcdir if given twice or more * falls back to the current working directory if no --srcdir option is given. * define common VCS options.
* Separated VCS.define_options for common VCS optionsNobuyoshi Nakada2019-09-071-17/+16
|
* VCS::GIT no longer accepts remote repositoryNobuyoshi Nakada2019-09-061-4/+2
|
* add include/ruby/backward/cxxanyargs.hpp卜部昌平2019-09-061-2/+2
| | | | | | | | | | | | | | Compilation of extension libraries written in C++ are reportedly broken due to https://github.com/ruby/ruby/pull/2404 The root cause of this issue was that the definition of ANYARGS differ between C and C++, and that of C++ is incompatible with the updated ones. We are using the incompatibility against itself. In C++ two distinct function prototypes can be overloaded. We provide the old, ANYARGSed prototypes in addition to the current granular ones; and let the older ones warn about types.
* Revert "Add a temporal stack dumper for debugging on trunk-mjit"Yusuke Endoh2019-09-061-3/+0
| | | | | | | This reverts commit 433c9c00d96124e3b416d0a20ff795b0ad4273fa. Successfully captured some traces, and 3b60e5e6bc2c84b971bea9c8312eb5d33ada2ff5 seems to fix the issue.
* Add a temporal stack dumper for debugging on trunk-mjitYusuke Endoh2019-09-051-0/+3
| | | | | This must be definitely removed after we collect the stack traces :-) http://ci.rvm.jp/results/trunk-mjit@silicon-docker/2245710
* Removed -git option of make-snapshotNobuyoshi Nakada2019-09-051-1/+1
| | | | | Git is not for direct access to a remote repository. Most of its operations need a local clone.
* Separate VCS::DEBUG_OUTNobuyoshi Nakada2019-09-051-6/+10
|
* Use `git pull` instead of `git fetch` if master branchKazuhiro NISHIYAMA2019-09-041-1/+5
|
* Check frozen flag on MJIT setinstancevariableTakashi Kokubun2019-09-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It does not seem to have a significant performance impact, hopefully? ``` $ benchmark-driver -v benchmark.yml --rbenv 'before --jit;after --jit' --repeat-count=24 --output=all before --jit: ruby 2.7.0dev (2019-09-03T21:02:24Z master 77596fb7a9) +JIT [x86_64-linux] after --jit: ruby 2.7.0dev (2019-09-04T01:54:44Z master 7363e22d79) +JIT [x86_64-linux] Calculating ------------------------------------- before --jit after --jit Optcarrot Lan_Master.nes 48.44054595799523 71.67010255902900 fps 71.32797692837639 71.97846863769546 72.51921961607691 78.87360980544105 73.54082925611047 79.80408132389941 74.03503843709451 79.85739528572826 74.04863857926493 79.89850834901381 75.30266276129467 80.34607233076015 75.69063990896244 80.88474397425360 75.70458132587405 81.09234267781642 77.39842764662852 82.13766823612643 77.76922944068329 82.20398304840373 81.17984044023393 82.26722630628272 82.85235776076533 82.71375902781254 83.04906099135320 82.75893420702198 83.10214168136230 82.79668965325972 83.71456007558125 82.85131667916379 84.06658306760725 82.95676565411722 84.25690684305728 83.19972846225775 84.27938663923503 83.28510503845854 84.45467716218090 83.41003730434703 84.51563186125925 83.67773614721280 84.56139892968321 84.02082201151110 84.69819452180658 84.10495346787033 84.78125989622576 84.47867803506055 ``` Note for backporter: test_jit's `success_count` would be 1 in Ruby 2.6, since 2.7 introduced "MJIT recompile" on JIT-ed code cancel. [Bug #16139]
* Avoid defining unused instructionsTakashi Kokubun2019-09-031-15/+19
|
* Touch tar file itself to make gz file hash stableNobuyoshi Nakada2019-09-031-0/+1
|
* Touch the toplevel directory tooNobuyoshi Nakada2019-09-031-2/+5
|
* --date=iso-local does not work with old gitNobuyoshi Nakada2019-09-031-2/+8
|
* Do not keep tar file by the defaultNobuyoshi Nakada2019-09-031-5/+5
|
* Align timestamps to make tarball stableNobuyoshi Nakada2019-09-031-12/+40
|
* Use -z option for git-logNobuyoshi Nakada2019-09-031-3/+1
|
* Extract git commit log as raw format like git-svn for ChangeLogNobuyoshi Nakada2019-09-021-24/+22
|