| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Nobody uses this macro any longer.
|
|
|
|
|
| |
Clang 12 warns "suspicious concatenation of string literals in an array
initialization", which is rather annoying than useful in this context.
|
|
|
|
| |
Do not repeat yourself.
|
|
|
|
|
| |
Exclude linker flags for external libraries used by no longer
built extension libraries when static-linked-ext.
|
|
|
|
|
| |
Consider the libraries, which remain exts.mk but not listed in
ext/configure-ext.mk, removed.
|
| |
|
| |
|
| |
|
|
|
|
| |
Scripts to run the interpreter via debugger.
|
| |
|
| |
|
| |
|
|
|
|
| |
`RubyVM.each_builtin` is not defined when cross compiling.
|
|
|
|
| |
To generate what is necessary via generic_erb.rb instead.
|
|
|
|
| |
To generate what is necessary via generic_erb.rb instead.
|
|
|
| |
Split ruby.h
|
|
|
|
|
| |
This reverts commit 4a6571dbc14ee4e88c12cd9931f7695077a3ee6e,
because chkbuild does not follow.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
And then the environment variable.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Use `"\n"` and `IO#fileno` instead of `$/` and `$.` respectively.
[Feature #14240]
|
|
|
|
|
|
|
| |
* Remove builtin_binary.inc which is generated for each time
miniruby is built.
* dSYM is a directory, not a file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
`gem_prelude.rb` is not compiled yet. This patch compile it to
compiled binary.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
miniruby
|
|
|
|
|
| |
* Writing shell scripts in a Makefile is very error-prone.
* TEST_BUNDLED_GEMS_ALLOW_FAILURES seemed to not work before.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Rules which have used CPPFLAGS will need XCFLAGS or INCFLAGS now.
|
|
|
|
|
| |
This is an auto-generated header file that does not include anything
interesting. Should skip generating CAPI documents.
|
| |
|
| |
|
| |
|
| |
|
| |
|