diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2023-11-03 15:41:39 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2023-11-05 12:19:39 +0100 |
commit | edf6c155b0b22cbff2d255796c0541b644a5f245 (patch) | |
tree | 47b71c170e83b292814f0d79ee9db9f5e29d3bd0 /sanitize-ubsan-excludelist | |
parent | 2486803ee26c10751ff92e46c53cc03ad0a1218d (diff) |
limit parallelism during msi packaging stage to avoid cscript failures
with high parallelism there's a high risk of running into random
failures when calling WiLangId.vbs via cscript.
The limiter doesn't use make's jobserver since it is too easy to
deadlock the build since all jobs are started at once, consuming all
slots, but in addition all wait for an additional slot that never is
made available because all jobs are blocked waiting....
All jobs being started at once and all jobs getting started from that
point on getting put under the limiter's control makes this simple
approach with separate grab/release calls possible. If they were spread
out the semaphore wouldn't be available (gets closed/removed as soon as
nothing waits for it anymore)
Change-Id: I345f2904a1d7e8989720722415fb51282ab3b05b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158886
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'sanitize-ubsan-excludelist')
0 files changed, 0 insertions, 0 deletions