aboutsummaryrefslogtreecommitdiffstats
path: root/template
Commit message (Collapse)AuthorAgeFilesLines
* template/prelude.c.tmpl: suppress clang-12 warning卜部昌平2020-08-111-0/+6
| | | | | Clang 12 warns "suspicious concatenation of string literals in an array initialization", which is rather annoying than useful in this context.
* tool/prelude.c.tmpl: use RubyVM::CEscape卜部昌平2020-08-111-19/+7
| | | | Do not repeat yourself.
* Ignore configurations in un-built extension librariesNobuyoshi Nakada2020-06-231-0/+1
| | | | | Exclude linker flags for external libraries used by no longer built extension libraries when static-linked-ext.
* Build configured extension libraries onlyNobuyoshi Nakada2020-06-191-1/+11
| | | | | Consider the libraries, which remain exts.mk but not listed in ext/configure-ext.mk, removed.
* Configure only directories having extconf.rbNobuyoshi Nakada2020-06-191-0/+1
|
* Now bundled gems are extracted under .bundle/gemsNobuyoshi Nakada2020-06-192-2/+2
|
* Clean exts.mk under each extension libraryNobuyoshi Nakada2020-06-191-0/+1
|
* Added install-dbgNobuyoshi Nakada2020-06-132-0/+12
| | | | Scripts to run the interpreter via debugger.
* Hash marks in Makefile need to be escaped [Bug #16935]Nobuyoshi Nakada2020-06-061-1/+1
|
* Build auxiliary program files earlyNobuyoshi Nakada2020-05-121-1/+1
|
* Fixed a typoNobuyoshi Nakada2020-05-101-1/+1
|
* Fix for cross_compilingNobuyoshi Nakada2020-05-101-1/+1
| | | | `RubyVM.each_builtin` is not defined when cross compiling.
* delete mk_builtin_binary.rb卜部昌平2020-05-101-0/+30
| | | | To generate what is necessary via generic_erb.rb instead.
* delete mk_call_iseq_optimized.rb卜部昌平2020-05-101-0/+68
| | | | To generate what is necessary via generic_erb.rb instead.
* Merge pull request #2991 from shyouhei/ruby.h卜部昌平2020-04-081-8/+8
| | | Split ruby.h
* Revert "Moved aclocal.m4 to macro directory"Nobuyoshi Nakada2020-04-051-4/+4
| | | | | This reverts commit 4a6571dbc14ee4e88c12cd9931f7695077a3ee6e, because chkbuild does not follow.
* Moved aclocal.m4 to macro directoryNobuyoshi Nakada2020-04-051-4/+4
|
* Added tooldir variableNobuyoshi Nakada2020-04-051-59/+61
|
* Share download cache with bundlerNobuyoshi Nakada2020-03-311-0/+1
|
* Make file names and variable names consistentTakashi Kokubun2020-03-231-1/+1
|
* Moved MJIT_WITHOUT_TABS default to configure.acNobuyoshi Nakada2020-03-241-0/+1
| | | | And then the environment variable.
* Update and extract for each gemNobuyoshi Nakada2020-03-131-0/+2
|
* add predefined macros for Doxygen卜部昌平2020-02-061-3/+43
| | | | | | | 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.
* Get rid of use of special variablesJeremy Evans2020-01-202-6/+6
| | | | | Use `"\n"` and `IO#fileno` instead of `$/` and `$.` respectively. [Feature #14240]
* Update clean-local [ci skip]Nobuyoshi Nakada2020-01-181-2/+2
| | | | | | | * Remove builtin_binary.inc which is generated for each time miniruby is built. * dSYM is a directory, not a file.
* decouple internal.h headers卜部昌平2019-12-261-2/+3
| | | | | | | | | | | | | | | | | | 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).
* remove prelude.cKoichi Sasada2019-12-111-1/+0
| | | | | | | | | 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.
* use compiled binary for gem_prelude.rb.Koichi Sasada2019-12-111-1/+1
| | | | | `gem_prelude.rb` is not compiled yet. This patch compile it to compiled binary.
* load prelude.rb by builtin features.Koichi Sasada2019-11-151-1/+1
| | | | | | | | | 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.
* Add missing Makefile dependencies for the tool/insns2vm.rb scriptDylan Thacker-Smith2019-11-131-1/+46
|
* Get rid of FreeBSD make incompatibility [Bug #16331]Nobuyoshi Nakada2019-11-101-13/+18
| | | | | | | | | | | | | | | | | | 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.
* Embed builtin ruby scripts in miniprelude.cNobuyoshi Nakada2019-11-091-10/+51
| | | | | | Instead of reading from the files by the full-path at runtime. As rbinc files need to be included in distributed tarballs, the full-paths at the packaging are unavailable at compilation times.
* Fixed commit missNobuyoshi Nakada2019-11-091-1/+1
|
* Fixed `#line` directives in miniprelude.cNobuyoshi Nakada2019-11-091-4/+5
|
* Share test-bundled-gems-run in common.mkNobuyoshi Nakada2019-11-051-6/+0
|
* Clean mjit and timestamp directoriesNobuyoshi Nakada2019-10-281-1/+1
|
* Use `_` instead of `_n_`Kazuhiro NISHIYAMA2019-10-181-1/+1
|
* Suppress numbered parameter warningsNobuyoshi Nakada2019-10-181-1/+1
|
* 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-9/+1
| | | | | * Writing shell scripts in a Makefile is very error-prone. * TEST_BUNDLED_GEMS_ALLOW_FAILURES seemed to not work before.
* Fixed wrong usage of file2lastrev.rbNobuyoshi Nakada2019-09-071-1/+1
|
* add include/ruby/backward/cxxanyargs.hpp卜部昌平2019-09-061-1/+1
| | | | | | | | | | | | | | 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.
* Moved INCFLAGS to XCFLAGS from CPPFLAGS as well as mswinNobuyoshi Nakada2019-08-261-3/+3
| | | | Rules which have used CPPFLAGS will need XCFLAGS or INCFLAGS now.
* rb_mjit_header.h is not worth documenting [ci skip]卜部昌平2019-08-261-1/+1
| | | | | This is an auto-generated header file that does not include anything interesting. Should skip generating CAPI documents.
* test-bundled-gems-run: Respect -k optionNobuyoshi Nakada2019-07-241-3/+6
|
* Reduced duplicate commands in test-bundled-gems-runNobuyoshi Nakada2019-07-241-6/+4
|
* Improve build process and coroutine implementation selection.Samuel Williams2019-07-181-1/+2
|
* Added depend filesNobuyoshi Nakada2019-07-141-0/+2
|
* Substitue suffixes with dotNobuyoshi Nakada2019-07-011-1/+1
|
* Use configured ASMEXTNobuyoshi Nakada2019-07-011-1/+1
|