summaryrefslogtreecommitdiff
path: root/template
AgeCommit message (Collapse)Author
2024-10-20merge revision(s) bcb3247072e6973d0f6b50ca5fed238d5824bd28: [Backport #20500]nagachika
[Bug #19778] Pass additional include options to INCFLAGS in common.mk
2024-05-16merge revision(s) ae8990aef098410ecc2b5f48fea9d7d171a3c5f6: [Backport #20183]nagachika
Alias init functions The extension library has each initialization function named "Init_" + basename. If multiple extensions have the same base name (such as cgi/escape and erb/escape), the same function will be registered for both names. To fix this conflict, rename the initialization functions under sub directories using using parent names, when statically linking.
2024-02-25merge revision(s) ↵nagachika
665b4c5b2a31078d7db0173ad60daad0b463c1fd,642875e474b4e6a13770b1dbbc33d466ba5e0718,54b9b80b84760717aadb8bf67f638785ed895a58,361bce8d2c4c90a01eb3b7365a87dec0d93bb2b6: [Backport #19967] [Bug #19967] Reset `LIBPATHENV` env after started Not to affect other tools invoked as child processes. --- common.mk | 3 ++- template/Makefile.in | 3 +++ template/fake.rb.in | 3 +++ tool/fake.rb | 8 ++++++++ 4 files changed, 16 insertions(+), 1 deletion(-) [Bug #19967] Revert "configure.ac: LIBPATHENV on macOS" This reverts commit 1961c786aab243b3eb60e7238224e87975d88056. These environment variables should no longer propagate to child processes. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [Bug #19967] Delete real path --- tool/fake.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) [Bug #19967] Ignore library before build --- tool/fake.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2023-07-29merge revision(s) 99162dee7aa478d8a65f028b098bdaa69e1ecad5: [Backport #19751]nagachika
[Bug #19751] Remove linemarkers in middle --- template/fake.rb.in | 1 + 1 file changed, 1 insertion(+)
2022-12-20MSVS lacks `touch` [ci skip]Nobuyoshi Nakada
2022-12-20Fix missing parentheses [ci skip]Nobuyoshi Nakada
2022-12-10[Bug #19181] Separate the rule for unicode_normalize/tables.rb timestampNobuyoshi Nakada
It should depends on only existing data files (except for the tools), unless `ALWAYS_UPDATE_UNICODE=yes`. Notes: Merged: https://github.com/ruby/ruby/pull/6898
2022-12-07document for commit 5bbba76489628f450949 [ci skip]卜部昌平
2022-12-05Handle depend files on nmakeNobuyoshi Nakada
2022-11-29MJIT: Rename mjit_compile_attr to mjit_sp_incTakashi Kokubun
There's no mjit_compile.inc, so no need to use this prefix anymore.
2022-11-13Control non-parallel parts with `.WAIT` if availableNobuyoshi Nakada
2022-11-02Fix infinite loop when out-of-place buildNobuyoshi Nakada
2022-10-28Follow up "Rework `first_lineno` to be `int`."Nobuyoshi Nakada
2022-10-19Suppress warning for fgrepHiroshi SHIBATA
>fgrep: warning: fgrep is obsolescent; using ggrep -F Notes: Merged: https://github.com/ruby/ruby/pull/6586
2022-09-25Extract `RUBY_RELEASE_DATE` from also revision.hNobuyoshi Nakada
This make variable is very useful for daily build. Notes: Merged: https://github.com/ruby/ruby/pull/6433 Merged-By: nobu <nobu@ruby-lang.org>
2022-09-18Move mjit/instruction.rb rule to common.mkTakashi Kokubun
as suggested by nobu. We don't really need to generate this for Windows, but using common.mk whenever possible would probably make maintenance easier. Notes: Merged: https://github.com/ruby/ruby/pull/6398
2022-09-18Introduce --basedir to insns2vm.rbTakashi Kokubun
and leverage that to preserve the directory structure under tool/ruby_vm/views
2022-09-18Revert "Preserve the directory structure under tool/ruby_vm/views"Takashi Kokubun
This reverts commit 62ec621f8c7457374d1f08aec97138ac1b7bdf2a. will revisit this once fixing non-MJIT targets
2022-09-18Preserve the directory structure under tool/ruby_vm/viewsTakashi Kokubun
for nested target directories
2022-09-18Demote mjit_instruction.rb from builtin to stdlibTakashi Kokubun
2022-09-10Fix parallel build on MINGWLars Kanis
When the build is running with a base ruby then generating `x64-ucrt-ruby320.rc` could fail due to a missing dependency to `x64-mingw-ucrt-fake.rb`. This commit adds this dependency. A failing build looks like so: ``` generating x64-mingw-ucrt-fake.rb generating x64-ucrt-ruby320.rc ../snapshot-master/win32/resource.rb:in `require': cannot load such file -- ./x64-mingw-ucrt-fake (LoadError) make: *** [GNUmakefile:57: x64-ucrt-ruby320.rc] Error 1 make: *** Waiting for unfinished jobs.... linking miniruby.exe x64-mingw-ucrt-fake.rb updated ``` Notes: Merged: https://github.com/ruby/ruby/pull/6347
2022-09-09Support sub-library in builtin-loaderNobuyoshi Nakada
Previously, it was supported in prelude.c, but has not followed up the builtin-loader system. Notes: Merged: https://github.com/ruby/ruby/pull/6344
2022-09-09Move RDoc `--`/`++` directives to commentsNobuyoshi Nakada
2022-09-08Generate token ID indexes in id.defNobuyoshi Nakada
Separate the logic accross the tables from the template view for id.h.
2022-09-07Fix missing replacement in 1f91dcdab3bNobuyoshi Nakada
2022-09-07Define BOOTSTRAPRUBY from HAVE_BASERUBYNobuyoshi Nakada
2022-09-04Ruby MJIT (#6028)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-09-05Debugging snapshot [ci skip]Nobuyoshi Nakada
2022-09-05Fix fake.rb expansion from preprocessed version.hNobuyoshi Nakada
2022-09-05Set fake.rb variables by command line argumentsNobuyoshi Nakada
Then fallbacks to preprocessed version.h.
2022-09-03Make sources by BASERUBY if available instead of minirubyNobuyoshi Nakada
2022-09-03Exclude LIBPATHENV wrapper from PREPNobuyoshi Nakada
2022-09-03Move duplicate dependenciesNobuyoshi Nakada
2022-08-31Let fake.rb allow newlines in expanded stringsNobuyoshi Nakada
2022-08-14Silent configure does not output cached configurationsNobuyoshi Nakada
2022-08-11Fix race conditions when cleaning extensionsNobuyoshi Nakada
Clean built directories by `make distclean`, and then clean leftover makefiles for skipped extensions.
2022-08-11The "gems" build directory was rename as ".bundle"Nobuyoshi Nakada
2022-08-11Fix paths of exts.mk to cleanNobuyoshi Nakada
exts.mk files are one level under the top of extension directories.
2022-08-11Add `--enable-devel` configure optionNobuyoshi Nakada
Since `RUBY_DEVEL` in cppflags has no effect in the configure script and makefiles. Notes: Merged: https://github.com/ruby/ruby/pull/6230
2022-07-21Expand tabs [ci skip]Takashi Kokubun
[Misc #18891] Notes: Merged: https://github.com/ruby/ruby/pull/6094
2022-05-30Add yjit.o to DTRACE_DEPENDENT_OBJSJakub Kulík
In principle, we have a DTrace probe in yjit.c, so yjit.o should be in DTRACE_DEPENDENT_OBJS for DTRACE_REBUILD=yes builds. This commit adds to the list. In practice DTRACE_REBUILD=yes implies the system has a Solaris-like DTrace and YJIT doesn't support those systems. YJIT_OBJ expands to nothing, and yjit.c isn't compiled. I tested on OmniOS v11 r151034m with: $ ../src/configure --with-out-ext=psych MAKE=gmake AR=ar debugflags=-g $ gmake -j It builds before and after this change. [Bug #18480] Notes: Merged: https://github.com/ruby/ruby/pull/5891 Merged-By: XrXr
2022-05-30Reduce duplicate replacementsNobuyoshi Nakada
Reduce duplicate replacements so that reflect macros in command lines consitently. So that reflect macros in command lines. Others than `nmake` have no problems with nested expansions.
2022-05-25Run find in PATH [ci skip]Nobuyoshi Nakada
2022-05-25Clean intermediate files for update-deps [ci skip]Nobuyoshi Nakada
2022-05-18Clean intermediate object filesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5914
2022-05-18Verbose mode on libyjit mergeNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5914
2022-05-18Extract YJIT_LIBS directly without copyingNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5914
2022-05-18`AR` does not need the absolute pathNobuyoshi Nakada
Still use `find` to get rid of potential ARGV limit overflow, since rustc-genrated object file names are mangled and very long. Notes: Merged: https://github.com/ruby/ruby/pull/5914
2022-05-17Set `target_os` for a7577dbfd3ea53cccf7aaf94208069784ad17791Nobuyoshi Nakada
2022-04-28YJIT: Handle spaces in build dir path using find(1) `-exec`Alan Wu
Previously, we relied on shell word splitting, which leads to passing the wrong arguments when there are white spaces in the path. Avoiding command substitution also makes this script more likely to work under Solaris 10, where `/bin/sh` is not POSIX compliant [1]. (Thanks you, `@znz` for fixing the syntax error in 4210ae2158b545beda908fb29e03d23994f262e3 though!) The hack from c466f270b891962518763ad299f907beac0ebf62 doesn't actually work so this commit reverts it. The shell still needs to parse through all of the code, maybe because make doesn't in fact send newlines to the shell. By the way, we also use the `-exec` option in the `ext/distclean` task. [1]: https://docs.oracle.com/cd/E26505_01/html/816-5165/sh-1.html Notes: Merged: https://github.com/ruby/ruby/pull/5860