summaryrefslogtreecommitdiff
path: root/defs
AgeCommit message (Collapse)Author
2022-11-29Fix dependencies of outdate-bundled-gemsNobuyoshi Nakada
Extract new gems then remove outdated gem directories.
2022-11-29Refine outdate-bundled-gemsNobuyoshi Nakada
2022-11-13Control non-parallel parts with `.WAIT` if availableNobuyoshi Nakada
2022-11-13Force to update revision.h when commits differNobuyoshi Nakada
2022-09-21reserved_word: just use gperf 3.1 declaration卜部昌平
The reason why this was commented out was because of gperf 3.0 vs 3.1 differences (see [Feature #13883]). Five years passed, I am pretty confident that we can drop support of old versions here. Ditto for uniname2ctype_p(), onig_jis_property(), and zonetab(). Notes: Merged: https://github.com/ruby/ruby/pull/6358
2022-09-17Always generate non-empty revision.hTakashi Kokubun
Non-GNU make seems to generate empty revision.h, but it doesn't make sense since https://github.com/ruby/ruby/pull/6382. Also the $(HAVE_BASERUBY:yes=tmp) hack doesn't seem to be working on OpenBSD. I'll remove it to focus on fixing RubyCI first, and then deal with baseruby-missing environments. At least a snapshot should have revision.h and it might work fine though.
2022-09-12Revert "defs/gmake.mk: no _FORTIFY_SOURCE unless optimization"Nobuyoshi Nakada
This reverts commit b8c376cb9d91854fd40f6e06f07773404899b54f, as it seems no longer needed probably. Notes: Merged: https://github.com/ruby/ruby/pull/6356
2022-09-08Generate token ID indexes in id.defNobuyoshi Nakada
Separate the logic accross the tables from the template view for id.h.
2022-08-31SCRIPTBINDIR is ok if it just exists [ci skip]Nobuyoshi Nakada
2022-08-31Scripts under libexec may not be considered to be placed in binNobuyoshi Nakada
2022-08-22Adjust space-width for help messageHiroshi SHIBATA
2022-08-18Suppress detached head warnings [ci skip]Nobuyoshi Nakada
Check out the revisions for testing as "detached" from the beginning.
2022-08-05Get rid of `-C` option for very old `git`Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6214
2022-08-05Ignore revision to test unless HAVE_GITNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6203
2022-08-05Clone upstream gem repositories for testNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6203
2022-08-05Copy from cloned gem sources in parallelNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6203
2022-08-05Move to tool/lib/bundled_gem.rbNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6203
2022-08-05Copy from bundled gem source for testNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6203
2022-08-05Use configured GITNobuyoshi Nakada
2022-07-17`Gem.unpack` extracts gems so able to executeNobuyoshi Nakada
Creates simple bin stubs to load the extracted executable files. After only extracted under `gems` directory, the gems are considered installed but the executable scripts are not found. Also the second argument is now the parent of the previous second and third arguments. Notes: Merged: https://github.com/ruby/ruby/pull/6145
2022-07-06Set `SDKROOT` to empty value [ci skip]Nobuyoshi Nakada
So `RbConfig::CONFIG["includedir"]` does not start with double slash.
2022-06-27mac: Remove debug option fro MJIT_DEBUGFLAGSNobuyoshi Nakada
Not to generate .dSYM directories by MJIT runs, which are left in large numbers after each test.
2022-06-02Split YJIT rules for CODEOWNERSNobuyoshi Nakada
2022-05-27Use `$(CHDIR)` so works with symlink [ci skip]Nobuyoshi Nakada
2022-05-27Revert "Stop rebuilding miniruby always [ci skip]"Nobuyoshi Nakada
This reverts commit 2f5edfa47d06c9605a5a0aa3ad72d7fef4d44fa3.
2022-05-26Stop rebuilding miniruby always [ci skip]Nobuyoshi Nakada
2022-04-27Rust YJITAlan Wu
In December 2021, we opened an [issue] to solicit feedback regarding the porting of the YJIT codebase from C99 to Rust. There were some reservations, but this project was given the go ahead by Ruby core developers and Matz. Since then, we have successfully completed the port of YJIT to Rust. The new Rust version of YJIT has reached parity with the C version, in that it passes all the CRuby tests, is able to run all of the YJIT benchmarks, and performs similarly to the C version (because it works the same way and largely generates the same machine code). We've even incorporated some design improvements, such as a more fine-grained constant invalidation mechanism which we expect will make a big difference in Ruby on Rails applications. Because we want to be careful, YJIT is guarded behind a configure option: ```shell ./configure --enable-yjit # Build YJIT in release mode ./configure --enable-yjit=dev # Build YJIT in dev/debug mode ``` By default, YJIT does not get compiled and cargo/rustc is not required. If YJIT is built in dev mode, then `cargo` is used to fetch development dependencies, but when building in release, `cargo` is not required, only `rustc`. At the moment YJIT requires Rust 1.60.0 or newer. The YJIT command-line options remain mostly unchanged, and more details about the build process are documented in `doc/yjit/yjit.md`. The CI tests have been updated and do not take any more resources than before. The development history of the Rust port is available at the following commit for interested parties: https://github.com/Shopify/ruby/commit/1fd9573d8b4b65219f1c2407f30a0a60e537f8be Our hope is that Rust YJIT will be compiled and included as a part of system packages and compiled binaries of the Ruby 3.2 release. We do not anticipate any major problems as Rust is well supported on every platform which YJIT supports, but to make sure that this process works smoothly, we would like to reach out to those who take care of building systems packages before the 3.2 release is shipped and resolve any issues that may come up. [issue]: https://bugs.ruby-lang.org/issues/18481 Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> Co-authored-by: Noah Gibbs <the.codefolio.guy@gmail.com> Co-authored-by: Kevin Newton <kddnewton@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/5826
2022-04-07Obey spec file locations to rubygemsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5774
2022-03-31Remove github and git related files from extracted bundled gemsNobuyoshi Nakada
2022-01-14Add a Module#const_added callbackJean Boussier
[Feature #17881] Works similarly to `method_added` but for constants. ```ruby Foo::BAR = 42 # call Foo.const_added(:FOO) class Foo::Baz; end # call Foo.const_added(:Baz) Foo.autoload(:Something, "path") # call Foo.const_added(:Something) ``` Notes: Merged: https://github.com/ruby/ruby/pull/4521
2022-01-14Get rid of building main again when test-bundled-gemsNobuyoshi Nakada
2022-01-02Run the prerequisites of test-bundled-gems in orderNobuyoshi Nakada
2021-12-04Remove unversioned phony target for pkgconfig file [Bug #18374]Nobuyoshi Nakada
It results in a circular dependency when `--with-ruby-pc=ruby.pc` is given. [ci skip]
2021-12-04Fix circular dependencies specific to in-place build [Bug #18374]Nobuyoshi Nakada
* Move the rubyspec running recipe after the rule for rubyspec C-API extension library, so that separate dummy recipe is not needed. * Add a dummy recipe for rubyspec.h before the rubyspec running recipe, so that the dependency of extensions do not fire the latter.
2021-12-02Needs to update revision.h unless existing [ci skip]Nobuyoshi Nakada
2021-10-28Prune stale worktrees before checking out a new pull request [ci skip]Nobuyoshi Nakada
2021-08-30Fix rubyspec_capiext dependency and flagsNobuyoshi Nakada
- The file needed to link may be the import library. - Remove duplicate flags.
2021-08-30Use proper suffixNobuyoshi Nakada
2021-08-25Use `empty` instead of NOOP in mk file to make it safer Yuta Saito
This would avoid unintentional use of the `NOOP` environment variable Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/4776
2021-08-25Fix build failure on macOS with --enable-sharedYuta Saito
./spec/ruby/optional/capi/ext/array_spec.c can match with spec/%/ if using GNU Make under version 3.81. make command installed on macOS is 3.81, so ruby can't be built with default make on macOS with --enable-shared option since https://github.com/ruby/ruby/commit/bda56a03a625793cb3fd110458c3f7323d73705e Notes: Merged: https://github.com/ruby/ruby/pull/4776
2021-08-15Show verbose error messages when single pattern match failsKazuki Tsujimoto
[0] => [0, *, a] #=> [0] length mismatch (given 1, expected 2+) (NoMatchingPatternError) Ignore test failures of typeprof caused by this change for now.
2021-08-14Disable debug flag for executable files when LTO [ci skip]Nobuyoshi Nakada
Get rid of tons of linker warnings that it could not find object file symbol for every symbols, when targeting darwin.
2021-08-10Run only directories or *_spec.rb files only by mspec [Bug #18072]Nobuyoshi Nakada
Not to match *.c files under spec/ruby/optional/capi/ext, in the case of in-place build.
2021-08-07Group commands on GitHub ActionsNobuyoshi Nakada
2021-08-06Make jobserver availableNobuyoshi Nakada
2021-08-05Build rubyspec CAPI extensionsNobuyoshi Nakada
2021-07-27Predefine recursive key IDNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4684
2021-07-27Added intern_ids.rbNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4684
2021-05-21Remove short options with argument [Bug #17870]Nobuyoshi Nakada
Remove GNU make `-O` and `-W` options which are short but followed by an argument, so that `$mflags.set?(?n)` does not return `true` wrongly.
2021-04-10mac: ignore SDKROOT at installationNobuyoshi Nakada