build of localedef data files should be parallelized
As part of the build for the localedef command, a number of locale-specific files are processed. As these do not match the normal compiled object rules, they are run sequentially. This can result in a slow portion of the build where CPU capacity is going un-utilized.
Assuming the dependencies are adequately specified (which they appear to be), make parallelization should be applied to the localedef directory.
I ran some timing tests on my build machine (12 cores)
real 1:58.712710650 user 1:52.415261001 sys 17.200809045
real 0m30.571s user 2m37.299s sys 0m22.568s
Updated by Electric Monk over 5 years ago
- Status changed from New to Closed
commit bb8a2a6a74b7eec7d62e371f17d319edb81f8501 Author: Patrick Mooney <firstname.lastname@example.org> Date: 2017-01-03T23:59:54.000Z 7699 build of localedef data files should be parallelized Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Jerry Jelinek <firstname.lastname@example.org> Reviewed by: Igor Kozhukhov <email@example.com> Reviewed by: Richard Lowe <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>