summaryrefslogtreecommitdiff
path: root/zjit/zjit.mk
AgeCommit message (Collapse)Author
2025-12-17JITs: Pass down GNU make jobserver resources when appropriateAlan Wu
To fix warnings from rustc on e.g. Make 4.3, which is in Ubuntu 24.04: > warning: failed to connect to jobserver from environment variable
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-12-10ZJIT: For rustc build, remove cargo touch(1) workaroundAlan Wu
2025-12-05ZJIT: Fix duplicate make rule warning in combo buildAlan Wu
~/zjit/zjit.mk:30: warning: overriding commands for target `~/build-default/' ~/yjit/yjit.mk:26: warning: ignoring old commands for target `~/build-default/' ~/zjit/zjit.mk:30: warning: overriding commands for target `~/build-default/' ~/yjit/yjit.mk:26: warning: ignoring old commands for target `~/build-default/'
2025-09-23ZJIT: Support gdb for debugging zjit-test (#14637)Takashi Kokubun
2025-09-11ZJIT: Add support for stats_allocatorAiden Fox Ivey
* Using the shared jit crate, support for a single global_allocator can function * Solves --zjit-mem-size
2025-09-08ZJIT: Fix backtraces on opt_new (#14461)Takashi Kokubun
2025-08-28ZJIT: Enable no-fail-fast on zjit-testStan Lo
2025-08-28ZJIT: Add zjit-test-update for updating insta snapshotStan Lo
2025-07-23ZJIT: Start testing againt /testStan Lo
2025-07-16DRY up CARGO_VERBOSE for JITsAlan Wu
2025-07-16ZJIT: Define make recipes only when configuredAlan Wu
This gives a better signal when say you try to run `make zjit-test` on a YJIT-only build.
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-07-16ZJIT: Remove an extra slash from $(TESTS) (#13911)Takashi Kokubun
2025-07-15ZJIT: Start testing against `/test/ruby/` and update all ZJIT related ↵Stan Lo
testing targets/docs (#13791) * ZJIT: Add test exclusions for ZJIT * ZJIT: Update test targets and documentation - Rename `zjit-test-all` to `zjit-check` - Add `zjit-test-all` target to zjit.mk to run all Ruby tests with ZJIT enabled excluding known failing tests - Update documentation and CI workflow to reflect the new targets
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-04-30ZJIT: Add `make zjit-test-lldb` [ci skip]Alan Wu
Handy for dropping into LLDB for a Rust test. Notes: Merged: https://github.com/ruby/ruby/pull/13203 Merged-By: XrXr
2025-04-18Stop sharing yjit/bindgen with ZJIT (https://github.com/Shopify/zjit/pull/64)Takashi Kokubun
* cp -r yjit/bindgen zjit/ * Rename YJIT variables * Stop mentioning YJIT in zjit.c Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Add a make target to run all ZJIT tests ↵Takashi Kokubun
(https://github.com/Shopify/zjit/pull/49) * Add a make target to run all ZJIT tests * Remove an unused variable * Write up a document about testing * Explain zjit-test-all first * Clarify what's zjit-test-all Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Profile instructions for fixnum arithmetic ↵Takashi Kokubun
(https://github.com/Shopify/zjit/pull/24) * Profile instructions for fixnum arithmetic * Drop PartialEq from Type * Do not push PatchPoint onto the stack * Avoid pushing the output of the guards * Pop operands after guards * Test HIR from profiled runs * Implement Display for new instructions * Drop unused FIXNUM_BITS * Use a Rust function to split lines * Use Display for GuardType operands Co-authored-by: Max Bernstein <max@bernsteinbear.com> * Fix tests with Display-ed values --------- Co-authored-by: Max Bernstein <max@bernsteinbear.com> Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Mention that the linker warnings were from capstone.Alan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Try macOS linker warning fixAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Explain libminirubyAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18put libminiruby next to zjit-testAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18zjit-test requires cargoAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18copyedit commentAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18add `make zjit-test`Alan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18boot_vm boots and runsAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Revert "Suppress ld's macOS version warnings"Takashi Kokubun
This reverts commit 47b810cdb7b2604cf0e83a9e68ebc4a02dbc37db. It seems to break the CI. Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Suppress ld's macOS version warningsTakashi Kokubun
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-18bindgen works in --enable-zjit=dev mode.Alan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18Fix duplicated make target namesTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2025-04-18make zjit-bindgen runs, but doesn't graft the right things yetAlan 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-18Add zjit.mkTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/13131