path: root/template
AgeCommit message (Collapse)Author
9 daysjust redirect preprocessed vm.c to mjit header [Bug #17787]Nobuyoshi Nakada
Not all preprocessors work with output option. Notes: Merged:
2021-03-21Share variables defined in common GNUmakefile also in cygwin/mingwNobuyoshi Nakada
2021-03-20No longer aclocal is used [ci skip]Nobuyoshi Nakada
2021-01-22Support coroutine on universal binaryNobuyoshi Nakada
2021-01-18Revert "Autoconf 2.70 no longer has -o option"Nobuyoshi Nakada
This reverts commit 331f0bc1cb7965bec9aed5d7278360c2e9fc8946. It seems a mistake.
2021-01-18Autoconf 2.70 no longer has -o optionNobuyoshi Nakada
Notes: Merged:
2021-01-13Rename RubyVM::MJIT to RubyVM::JITTakashi Kokubun
because the name "MJIT" is an internal code name, it's inconsistent with --jit while they are related to each other, and I want to discourage future JIT implementation-specific (e.g. MJIT-specific) APIs by this rename. [Feature #17490]
2020-12-29Fixed wrong configure optionNobuyoshi Nakada
2020-12-29Make more silent when -s on GNU makeNobuyoshi Nakada
Notes: Merged:
2020-12-29transcode-tblgen.rb: make silent a little when just -vNobuyoshi Nakada
Notes: Merged:
2020-12-27Ignore symbols declared in the platform headerNobuyoshi Nakada
2020-12-15fix inline method cache sync bugKoichi Sasada
`cd` is passed to method call functions to method invocation functions, but `cd` can be manipulated by other ractors simultaneously so it contains thread-safety issue. To solve this issue, this patch stores `ci` and found `cc` to `calling` and stops to pass `cd`. Notes: Merged:
2020-11-26Revert "Set VM_FRAME_FLAG_FINISH at once on MJIT"Takashi Kokubun
This reverts commit 4d2c8edca69884a41d2f843d36023e3decdb9872. Unfortunately this seems to cause several issues:
2020-11-26Set VM_FRAME_FLAG_FINISH at once on MJITTakashi Kokubun
Performance is probably improved? $ benchmark-driver -v --rbenv 'before --jit;after --jit' --repeat-count=12 --alternate --output=all benchmark.yml before --jit: ruby 3.0.0dev (2020-11-27T04:37:47Z master 69e77e81dc) +JIT [x86_64-linux] after --jit: ruby 3.0.0dev (2020-11-27T05:28:19Z master df6b05c6dd) +JIT [x86_64-linux] last_commit=Set VM_FRAME_FLAG_FINISH at once Calculating ------------------------------------- before --jit after --jit Optcarrot Lan_Master.nes 80.89292998533379 82.19497327502751 fps 80.93130641142331 85.13943315260148 81.06214830270119 87.43757879797808 82.29172808453910 87.89942441487113 84.61206450455929 87.91309779491075 85.44545883567997 87.98026086648694 86.02923132404449 88.03081060383973 86.07411817365879 88.14650206137341 86.34348799602836 88.32791633649961 87.90257338977324 88.57599644892220 88.58006509876580 88.67426384743277 89.26611118140011 88.81669430874207 This should have no bad impact on VM because this function is ALWAYS_INLINE.
2020-11-22rubyspec-capiext: Use plain DLDFLAGS without flags for librubyNobuyoshi Nakada
2020-11-10Removed canonicalization for mathnNobuyoshi Nakada
Notes: Merged:
2020-10-29check isolated Proc more strictlyKoichi Sasada
Isolated Proc prohibit to access outer local variables, but it was violated by binding and so on, so they should be error. Notes: Merged:
2020-10-21Don't redefine #rb_intern over and over againStefan Stüben
Notes: Merged:
2020-08-27DEPRECATED_TYPE: is deprecated卜部昌平
Nobody uses this macro any longer. Notes: Merged:
2020-08-11template/prelude.c.tmpl: suppress clang-12 warning卜部昌平
Clang 12 warns "suspicious concatenation of string literals in an array initialization", which is rather annoying than useful in this context. Notes: Merged:
2020-08-11tool/prelude.c.tmpl: use RubyVM::CEscape卜部昌平
Do not repeat yourself. Notes: Merged:
2020-06-23Ignore configurations in un-built extension librariesNobuyoshi Nakada
Exclude linker flags for external libraries used by no longer built extension libraries when static-linked-ext.
2020-06-19Build configured extension libraries onlyNobuyoshi Nakada
Consider the libraries, which remain but not listed in ext/, removed.
2020-06-19Configure only directories having extconf.rbNobuyoshi Nakada
2020-06-19Now bundled gems are extracted under .bundle/gemsNobuyoshi Nakada
2020-06-19Clean under each extension libraryNobuyoshi Nakada
2020-06-13Added install-dbgNobuyoshi Nakada
Scripts to run the interpreter via debugger.
2020-06-06Hash marks in Makefile need to be escaped [Bug #16935]Nobuyoshi Nakada
2020-05-12Build auxiliary program files earlyNobuyoshi Nakada
2020-05-10Fixed a typoNobuyoshi Nakada
2020-05-10Fix for cross_compilingNobuyoshi Nakada
`RubyVM.each_builtin` is not defined when cross compiling.
2020-05-10delete mk_builtin_binary.rb卜部昌平
To generate what is necessary via generic_erb.rb instead. Notes: Merged:
2020-05-10delete mk_call_iseq_optimized.rb卜部昌平
To generate what is necessary via generic_erb.rb instead. Notes: Merged:
2020-04-08Merge pull request #2991 from shyouhei/ruby.h卜部昌平
Split ruby.h Notes: Merged-By: shyouhei <>
2020-04-05Revert "Moved aclocal.m4 to macro directory"Nobuyoshi Nakada
This reverts commit 4a6571dbc14ee4e88c12cd9931f7695077a3ee6e, because chkbuild does not follow.
2020-04-05Moved aclocal.m4 to macro directoryNobuyoshi Nakada
Notes: Merged:
2020-04-05Added tooldir variableNobuyoshi Nakada
Notes: Merged:
2020-03-31Share download cache with bundlerNobuyoshi Nakada
2020-03-23Make file names and variable names consistentTakashi Kokubun
2020-03-24Moved MJIT_WITHOUT_TABS default to configure.acNobuyoshi Nakada
And then the environment variable.
2020-03-13Update and extract for each gemNobuyoshi Nakada
2020-02-06add predefined macros for Doxygen卜部昌平
Predefined macros are practices not very well recommended, but can be better than having no documents at all. Without those predefined macros, Doxygen confused for instace PUREFUNC(int foo()) to be a declaration of PUREFUNC, not foo. Notes: Merged:
2020-01-20Get rid of use of special variablesJeremy Evans
Use `"\n"` and `IO#fileno` instead of `$/` and `$.` respectively. [Feature #14240]
2020-01-18Update clean-local [ci skip]Nobuyoshi Nakada
* Remove which is generated for each time miniruby is built. * dSYM is a directory, not a file.
2019-12-26decouple internal.h headers卜部昌平
Saves comitters' daily life by avoid #include-ing everything from internal.h to make each file do so instead. This would significantly speed up incremental builds. We take the following inclusion order in this changeset: 1. "ruby/config.h", where _GNU_SOURCE is defined (must be the very first thing among everything). 2. RUBY_EXTCONF_H if any. 3. Standard C headers, sorted alphabetically. 4. Other system headers, maybe guarded by #ifdef 5. Everything else, sorted alphabetically. Exceptions are those win32-related headers, which tend not be self- containing (headers have inclusion order dependencies). Notes: Merged:
2019-12-11remove prelude.cKoichi Sasada
prelude.c is an automatically generated file by template/prelude.c.tmpl. However it does not contain any required functions. So remove it from dependency. Also miniprelude.c is included by mini_builtin.c and does not need to make miniprelude.o. Notes: Merged:
2019-12-11use compiled binary for gem_prelude.rb.Koichi Sasada
`gem_prelude.rb` is not compiled yet. This patch compile it to compiled binary. Notes: Merged:
2019-11-15load prelude.rb by builtin features.Koichi Sasada
The script in prelude.rb was embed in MRI to load it (eval this script at everyboot). This commit change the loading process of prelude.rb. MRI doesn't eval a script, but load from compiled binary with builtin feature. So that Init_prelude() does not load `prelude.rb` now.
2019-11-13Add missing Makefile dependencies for the tool/insns2vm.rb scriptDylan Thacker-Smith
Notes: Merged:
2019-11-10Get rid of FreeBSD make incompatibility [Bug #16331]Nobuyoshi Nakada
FreeBSD make works differently with `-j` option. > -j max_jobs > Specify the maximum number of jobs that `make` may have running > at any one time. The value is saved in `.MAKE.JOBS.` Turns > compatibility mode off, unless the `B` flag is also specified. > When compatibility mode is off, all commands associated with a > target are executed in a single shell invocation as opposed to > the traditional one shell invocation per line. This can break > traditional scripts which change directories on each command > invocation and then expect to start with a fresh environment on > the next line. It is more efficient to correct the scripts > rather than turn backwards compatibility on. Stop using exit, cd, exec in middle of commands.