From fc624020e6ac13427e61d97a8e63b68f73073939 Mon Sep 17 00:00:00 2001 From: Ryan Davis Date: Tue, 26 Aug 2025 13:33:33 +0100 Subject: [PATCH] Rakefile: make the whole thing parallel unless SERIAL=1 Goes from 36s to 16s on my system (from clean): ``` $ 2>&1 time -p rake -m | rg real real 14.72 $ 2>&1 time -p rake | rg real real 14.72 $ 2>&1 time -p rake SERIAL=1 | rg real real 37.49 ``` --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 79ec84f67..4422f9688 100644 --- a/Rakefile +++ b/Rakefile @@ -4,6 +4,7 @@ MRUBY_ROOT = File.dirname(File.expand_path(__FILE__)) MRUBY_BUILD_HOST_IS_CYGWIN = RUBY_PLATFORM.include?('cygwin') MRUBY_BUILD_HOST_IS_OPENBSD = RUBY_PLATFORM.include?('openbsd') +Rake.application.options.always_multitask = true unless ENV["SERIAL"] Rake.verbose(false) if Rake.verbose == Rake::DSL::DEFAULT $LOAD_PATH << File.join(MRUBY_ROOT, "lib")