summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-11-03 15:41:39 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-11-05 12:19:39 +0100
commitedf6c155b0b22cbff2d255796c0541b644a5f245 (patch)
tree47b71c170e83b292814f0d79ee9db9f5e29d3bd0 /external
parent2486803ee26c10751ff92e46c53cc03ad0a1218d (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 'external')
0 files changed, 0 insertions, 0 deletions