tools/ninja: update to 1.12.1
authorMichael Pratt <mcpratt@pm.me>
Sat, 12 Oct 2024 18:55:04 +0000 (14:55 -0400)
committerRobert Marko <robimarko@gmail.com>
Mon, 14 Oct 2024 11:58:44 +0000 (13:58 +0200)
commitac483e1c2a37180aea9ab985aefde8f236d582a6
tree8500ac6cc978a47724a4ac8f5b7058dd4d6b5514
parentdf303c7ef49d8dc8a0061e002ea021d4e7c8f529
tools/ninja: update to 1.12.1

Update to the most recent stable release,
including a new job scheduler and bug fixes.

Backport a patch to assist in reworking jobserver support.

The original patch for jobserver support requires reworking
due to the function CanRunMore() and its usage
being significantly changed, including the return
becoming an integer instead of a boolean.

AcquireToken() must now be used in CanRunMore()
in order to quantify how much the job searching loop
is able to run at any time, and in order to do so
CanRunMore() cannot be a constant function anymore.

Added:
 - 010-backport-gtest.patch

Manually Adjust:
 - 100-make_jobserver_support.patch

Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/16693
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/ninja/Makefile
tools/ninja/patches/001-backport-gtest.patch [new file with mode: 0644]
tools/ninja/patches/010-bootstrap-configure-only.patch
tools/ninja/patches/100-make_jobserver_support.patch