mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-31 12:27:22 +02:00
129e114ddf
[why] The messages from parallel font-patcher runs can be very confusing, so it has been disabled some time ago (without a comment in that commit?!). However, if someone wants to repatch multiple fonts on a local machine it might be beneficial to run more than one process to have work on all cores. [how] Add option to select multiple processes in parallel. Limit the amout to 8, which might be a good value for typical end-user machines with 4 cores and 8 threads. Patching Cascadia Code (12 fonts) took these times on my machine: 1 job: 21m 55s 4 jobs: 6m 24s 8 jobs: 5m 14s (this runs 8 and then the remaining 4) 16 jobs: 4m 48s (this runs 12 in parallel) Adding a proper `-j` that takes a numeric argument is rather too much work for my taste, so we stick with 8 for now. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>