summaryrefslogtreecommitdiff
path: root/defs/gmake.mk
AgeCommit message (Collapse)Author
2025-12-20[Bug #21792] Build rubyspec-capiext only when excuting `test-spec`Mike Dalessio
rubyspec-capiext is only needed for running specs, not for building or installing Ruby.
2025-12-14Export `GIT`Nobuyoshi Nakada
Propagate the value given with `--with-git` configure option to tool/lib/vcs.rb.
2025-11-27Remove an excess colon [ci skip]Nobuyoshi Nakada
2025-11-08Use DOT_WAIT for old GNU make [ci skip]Nobuyoshi Nakada
2025-11-01[DOC] How to use `make matz`Nobuyoshi Nakada
2025-11-01Flush NEWS.md only when NEW is not givenNobuyoshi Nakada
Split flushing NEWS and bumping up versions
2025-10-30Take `MAJOR` and `MINOR` from `$(NEW)` if givenNobuyoshi Nakada
2025-09-16Expect `git -C <path>` to workNobuyoshi Nakada
This option is available since git 1.8.5 that was released in 2013.
2025-08-28Abandon `ruby` target on the others than GNU makeNobuyoshi Nakada
The default non-transformed name, `ruby` target was added for the case of `--program-transform-name` and similars, but it was occasionally added even when no such option is used.
2025-08-18Add the recipe to fix/update depend filesNobuyoshi Nakada
2025-08-12Handle preperly comments in middle of lines in gems/bundled_gemsNobuyoshi Nakada
2025-07-25Split autogenerated dependency to depend file from common.mkHiroshi SHIBATA
2025-06-09Fetch only necessary commits of bundled gemsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13563
2025-06-07Revert "[Bug #21388] Make snapshots of gems"Nobuyoshi Nakada
This reverts commit e90282be7ba1bc8e3119f6e1a2c80356ceb3f80a, a commit miss.
2025-06-07[Bug #21388] Make snapshots of gemsNobuyoshi Nakada
If the revision of bundled gems is specified for ruby master (and `git` is usable), checkout that revision and build a snapshot gem, and use it for `test-spec` instead of the downloaded release version.
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-12Do not let files depend on a phony targetNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13304
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-12Revert "Try removing building C API specs in CRuby makefiles entirely"Nobuyoshi Nakada
This reverts commit 2a9236366d6016738a756caecab03263565a20c7. spec/ruby/optional/capi/spec_helper.rb doesn't work well for mingw. Notes: Merged: https://github.com/ruby/ruby/pull/13302
2025-05-09Try removing building C API specs in CRuby makefiles entirelyBenoit Daloze
* Since it does not work when using some configure options such as: .../configure --with-ext=-test-/cxxanyargs,+ --enable-shared as the CI does. * It also duplicates the logic of spec/ruby/optional/capi/spec_helper.rb incorrectly. ruby/spec maintainers have no experience and no interest in dealing with these complicated CRuby build system issues. We asked help on the CRuby Slack and nobody helped so far. Notes: Merged: https://github.com/ruby/ruby/pull/13265
2025-05-09Try fixing building C API specs with makeAndrew Konchin
* But it doesn't work because there is no .ext/include/ruby/digest.h when using .../configure --with-ext=-test-/cxxanyargs,+ --enable-shared as the CI does. Notes: Merged: https://github.com/ruby/ruby/pull/13265
2025-04-18Add zjit.mkTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/13131
2024-05-26Prevent test-bundled-gems outputs from mixingNobuyoshi Nakada
Run test-bundled-gems-run and test-bundled-gems-spec sequentially.
2024-05-09Revert "Update revision.h if branch unmatch not only revision"Nobuyoshi Nakada
This reverts commit 5a332940ed2f809cb17af7e4d068089b6e1fa6ca. Something does not work well on Github Actions.
2024-05-08Update revision.h if branch unmatch not only revision [ci skip]Nobuyoshi Nakada
2024-04-19Fix rubyspec-capiext dependencyNobuyoshi Nakada
Not to build the rubyspec-capiext extension libraries again on the next build after the build all extensions get built, ensure these extensions are up to date when recursively building from exts.mk.
2024-04-16Escape colons in pre-commit dependency [ci skip]Nobuyoshi Nakada
Colons are special in Makefiles.
2024-03-10Clean intermediate files and debug info for each targetNobuyoshi Nakada
By replacing `ALLOBJS` suffix with intermediate file suffixes instead of roughly removing by wildcards. Made `cleanlibs` append `.dSYM` suffix for each word in `TARGET_SO`, not the end of the entire list.
2024-03-04Run POSTLINK for rubyspec CAPIEXT objectsNobuyoshi Nakada
2023-12-25Refresh NEWS.md at starting new development [ci skip]Nobuyoshi Nakada
2023-10-11Fix error when gems/src is read-onlyKazuhiro NISHIYAMA
When I shared srcdir as read-only in lima-vm, `make install` causes following error: ``` Update rbs to 33813a60752624d58dfe5ae770b39bfaf29fbaf1 error: cannot open .git/FETCH_HEAD: Read-only file system ``` I cannot find any ignore option for `git checkout --detach` when already checked out. So I add `if`.
2023-09-26Download Unicode files once [ci skip]Nobuyoshi Nakada
2023-09-21`.NOTPARALLEL` with prerequisites needs recent GNU MakeNobuyoshi Nakada
GNU Make prior to 4.4 just ignores the prerequisites, and runs everything in serial.
2023-09-13Enable `.NOTPARALLEL` on `ripper_srcs`Nobuyoshi Nakada
And add special treats only for old GNU make.
2023-09-11Split commit recipe and pass more macrosNobuyoshi Nakada
2023-08-17RJIT: Remove macros inherited from MJIT but no longer usedNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8224
2023-08-15Use `::` form workflow commandsNobuyoshi Nakada
2023-08-14Fix test and precheck order for old GNU MakeNobuyoshi Nakada
2023-08-11Fix test-bundler dependenciesNobuyoshi Nakada
2023-08-11Fix order of test-syntax-suggest-prepare for old GNU MakeNobuyoshi Nakada
2023-07-30Extract common variablesNobuyoshi Nakada
2023-07-10Serially update only the ripper source, even with old GNU makeNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/8049
2023-05-12Use Lrama LALR parser generator instead of Bisonv3_3_0_preview1Yuichiro Kaneko
https://bugs.ruby-lang.org/issues/19637 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/7798 Merged-By: yui-knk <spiketeika@gmail.com>
2023-04-08Replace arch_flags for universal build [ci skip]Nobuyoshi Nakada
2023-03-08BundledGem.dummy_spec needs to checkout revision after cloning repository.Hiroshi SHIBATA
The current BundledGem.dummy_spec always called from master branch. It caused to CI faiulres like http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20230305T001003Z.fail.html.gz Notes: Merged: https://github.com/ruby/ruby/pull/7475
2023-03-06s/MJIT/RJIT/Takashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7462
2023-03-06Drop obsoleted MJIT header (#7458)Takashi Kokubun
RJIT doesn't need this. Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2023-02-22Move dummy gemspec file creation for extract-gems-sequentialNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/7347
2023-02-22Use git directories instead of gemspec files as dependencyNobuyoshi Nakada
Minitest repository does not commit its gemspec file. Notes: Merged: https://github.com/ruby/ruby/pull/7347
2023-02-19No validation for bundled gemsYusuke Endoh
https://github.com/mame/ruby/actions/runs/4208869556/jobs/7305356097 ``` WARNING: open-ended dependency on irb (>= 1.5.0) is not recommended if irb is semantically versioned, use: add_runtime_dependency 'irb', '~> 1.5', '>= 1.5.0' WARNING: open-ended dependency on reline (>= 0.3.1) is not recommended if reline is semantically versioned, use: add_runtime_dependency 'reline', '~> 0.3', '>= 0.3.1' WARNING: See http://guides.rubygems.org/specification-reference/ for help /usr/lib/ruby/2.7.0/rubygems/specification_policy.rb:418:in `error': specification has warnings (Gem::InvalidSpecificationException) ``` Notes: Merged: https://github.com/ruby/ruby/pull/7339