summaryrefslogtreecommitdiff
path: root/template
AgeCommit message (Collapse)Author
8 daysSupport customizable rustc_flags for rustc builds.Jarek Prokop
Add `rustc_flags` option for configure that appends to RUSTC_FLAGS flags used when compiling with rustc for customizable build flags. It appends to existing defaults in RUSTC_FLAGS. Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
2025-12-14[Bug #21779] Do not export InitVM functionsNobuyoshi Nakada
Fix ruby/io-console#105.
2025-12-10JITs: Drop cargo and use just rustc for release combo buildAlan Wu
So we don't expose builders to network flakiness which cannot be worked around using cargo's --offline flag.
2025-11-27Remove an excess colon [ci skip]Nobuyoshi Nakada
2025-11-21Fix timezone of `yesterday`Nobuyoshi Nakada
Set the `TZ environment variable. `git log` does not recognize UTC offset in `--before` option, unless full datetime is given.
2025-10-07Remove warning when generating $(arch)-fake.rbÉtienne Barrié
This happens if BASERUBY is Ruby 3.4. $ rm -f *-fake.rb && make test-precheck RUBYOPT=-w >/dev/null build/arm64-darwin24-fake.rb:28: warning: ::Ruby is reserved for Ruby 3.5
2025-09-16Expect `git -C <path>` to workNobuyoshi Nakada
This option is available since git 1.8.5 that was released in 2013.
2025-09-10Rename VM instruction classes to singular names (#14507)Takashi Kokubun
2025-09-05ZJIT: Invalidate local variables on EP escape (#14448)Takashi Kokubun
2025-09-01Remove unnecessary Enumerable#each_sliceMari Imaizumi
This method has been a built-in feature since Ruby 1.8.7, so this fallback implementation is no longer needed. Ref: https://docs.ruby-lang.org/en/3.4/NEWS/NEWS-1_8_7.html
2025-08-19Gererate prism source files dependencies from template.rbNobuyoshi Nakada
Update included file list automatically.
2025-08-18Gererate prism source files dependencies from template.rbNobuyoshi Nakada
2025-08-17[Bug #21546] Make the generated pc file relocatableNobuyoshi Nakada
2025-08-12NMake needs caret to escape a hash signNobuyoshi Nakada
2025-08-01Win: Strip CRs from `cpp` and `nm` outputNobuyoshi Nakada
The combination of mingw tools and cygin/msys2 ruby leaves CRs.
2025-07-28Get rid of ID_JUNKJean Boussier
It has been aliased as ID_INTERNAL for a long time and that alias is much more descriptive.
2025-07-26Rename builtin_binary.inc as .rbbinNobuyoshi Nakada
Distinguish between platform-dependent ".rbbin" and platform- independent ".inc" files.
2025-07-25Split autogenerated dependency to depend file from common.mkHiroshi SHIBATA
2025-07-16ZJIT: Have `make zjit-test` use the same Cargo features as minirubyAlan Wu
This is so that e.g. building with `--enable-zjit=dev` will test with the disassembly feature. It makes more sense, saves on build time and reveals that `backend::arm64::tests::sp_movements_are_single_instruction` was in fact failing with the `disasm` feature.
2025-05-15YJIT: ZJIT: Allow both JITs in the same buildAlan Wu
This commit allows building YJIT and ZJIT simultaneously, a "combo build". Previously, `./configure --enable-yjit --enable-zjit` failed. At runtime, though, only one of the two can be enabled at a time. Add a root Cargo workspace that contains both the yjit and zjit crate. The common Rust build integration mechanisms are factored out into defs/jit.mk. Combo YJIT+ZJIT dev builds are supported; if either JIT uses `--enable-*=dev`, both of them are built in dev mode. The combo build requires Cargo, but building one JIT at a time with only rustc in release build remains supported. Notes: Merged: https://github.com/ruby/ruby/pull/13262
2025-05-12digest.so needs ruby/digest.h which is installed by build-extNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13302
2025-05-02YJIT: ZJIT: Share identical glue functionsAlan Wu
Working towards having YJIT and ZJIT in the same build, we need to deduplicate some glue code that would otherwise cause name collision. Add jit.c for this and build it for YJIT and ZJIT builds. Update bindgen to look at jit.c; some shuffling of functions in the output, but the set of functions shouldn't have changed. Notes: Merged: https://github.com/ruby/ruby/pull/13229
2025-04-30Suppress gcc 15 unterminated-string-initialization warningsNobuyoshi Nakada
2025-04-28Suppress error message when gc is cleaned already [ci skip]Nobuyoshi Nakada
2025-04-23Check Unicode version of the normalization tableNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13154
2025-04-22Remove extra empty expressionsNobuyoshi Nakada
Only `class_table` values are not quoted and need to terminate %-= literal.
2025-04-18Add zjit_* instructions to profile the interpreter ↵Takashi Kokubun
(https://github.com/Shopify/zjit/pull/16) * Add zjit_* instructions to profile the interpreter * Rename FixnumPlus to FixnumAdd * Update a comment about Invalidate * Rename Guard to GuardType * Rename Invalidate to PatchPoint * Drop unneeded debug!() * Plan on profiling the types * Use the output of GuardType as type refined outputs Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Use separate cargo build flagsTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Pass CARGO_BUILD_ARGS through properlyAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Fix template/Makefile.inTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18prepare Unicode normalization for Unicode 16.0.0Martin Dürst
2025-04-06Ensure builtin binaries are aligned to ibf_headerNobuyoshi Nakada
Since IBF result string size should be multiple of 4, this should not increase the binary size actually. Notes: Merged: https://github.com/ruby/ruby/pull/13075
2025-03-28Ignore to build C extension for test files of bundled gemsHiroshi SHIBATA
2025-03-05Remove obsoleted insn_may_depend_on_sp_or_pc()Takashi Kokubun
which was for MJIT
2025-02-13[Feature #21116] Extract RJIT as a third-party gemNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12740
2025-02-11YJIT doesn't merge archives anymore [ci skip]Alan Wu
2025-01-14Use LRAMA instead of YACCydah
Notes: Merged: https://github.com/ruby/ruby/pull/12556
2025-01-13CPPFLAGS is needed for dtrace not only INCFLAGSNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12563
2024-12-27Win32: Fix sub make commandsNobuyoshi Nakada
`cmd.exe` built-in `cd` does not recognize slashes as path separators, replace to backslashes. Notes: Merged: https://github.com/ruby/ruby/pull/12481
2024-12-25fake.rb: Override constants in Ruby moduleNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12451
2024-12-22Split `modular-gc` into build and installationNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12428
2024-12-22Allow variables in modular_gc_dirNobuyoshi Nakada
Such as `$(ruby_version)`, `$(arch)` and so on. Notes: Merged: https://github.com/ruby/ruby/pull/12428
2024-12-10Split system dependent commands to clean modular-gcNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12300
2024-12-05Standardize on the name "modular GC"Peter Zhu
We have name fragmentation for this feature, including "shared GC", "modular GC", and "external GC". This commit standardizes the feature name to "modular GC" and the implementation to "GC library". Notes: Merged: https://github.com/ruby/ruby/pull/12261
2024-11-26Shell dependent command should be in Makefile.inNobuyoshi Nakada
As common.mk is used by nmake.exe, the commands there need to be accepted also by cmd.exe. Notes: Merged: https://github.com/ruby/ruby/pull/12166
2024-10-11Remove unused PRELOADENV macro in ruby-runner.hPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/11871
2024-10-11Remove unused SOEXT macro in ruby-runner.hPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/11871
2024-10-08Substitute `coroutine_transfer` with prefixed symbol in MakefileNobuyoshi Nakada
``` coroutine/arm64/Context.S:31:57: error: invoking macro TOKEN_PASTE argument 1: empty macro arguments are undefined in ISO C90 [-Wpedantic] 31 | .global PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer) | ^ ```
2024-10-07Make rbconfig/sizeof keys US-ASCIINobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11815
2024-10-07Make rbconfig/sizeof keys as literalsNobuyoshi Nakada
These keys are made from string literals, and used only as keys of hashes. Notes: Merged: https://github.com/ruby/ruby/pull/11814