Skip to content

Commit

Permalink
Enable multiple threads to build rake gem:native
Browse files Browse the repository at this point in the history
This speeds up building of all gems. rake-compiler by default will
attempt to launch N + 4 jobs, where N is the number of cores on the
system.
  • Loading branch information
stanhu authored and mudge committed Jul 28, 2023
1 parent 98a4a9f commit 5764294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ namespace 'gem' do
end

desc 'build all native gems'
task 'native' => CROSS_RUBY_PLATFORMS
multitask 'native' => CROSS_RUBY_PLATFORMS
end

def add_file_to_gem(relative_source_path)
Expand Down

0 comments on commit 5764294

Please sign in to comment.