Skip to content

Conversation

@ksss
Copy link
Collaborator

@ksss ksss commented Jan 9, 2026

Using CMake's fast preset speeds up the build of re2c.
This change reduces the execution time of the "C Code Generation and Formatting Check" task from about 5 minutes to 2 minutes.

The -fast presets have minimal dependencies and build re2c using pre-generated manpages, lexers, and parsers.

https://re2c.org/build/build.html#build-cmake

@ksss ksss force-pushed the cache-re2c branch 2 times, most recently from 2522935 to 851b10b Compare January 9, 2026 08:00
@ksss ksss changed the title Cache built re2c Use fast build by cmake for re2c Jan 9, 2026
@ksss ksss merged commit b481899 into ruby:master Jan 13, 2026
20 checks passed
@ksss ksss deleted the cache-re2c branch January 13, 2026 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant