]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: fix sccache job limits when dist is unavailable 70189/head
authorSun Yuechi <sunyuechi@iscas.ac.cn>
Tue, 14 Jul 2026 11:25:08 +0000 (04:25 -0700)
committerSun Yuechi <sunyuechi@iscas.ac.cn>
Tue, 14 Jul 2026 13:15:35 +0000 (06:15 -0700)
commitae789567a2d500f5a92d8c4460df5fa9b9f4b5d1
tree419062437089e53d84ef994729f2874c34e609c4
parentb68f5a1d6f7e11c218596bf74fe3e7f43eb3d770
cmake: fix sccache job limits when dist is unavailable

The "disabled" search only matches sccache's Disabled("disabled")
payload, not "dist-client feature not selected" or the NotConnected
states. Those reach the success branch, so the job counts become
SchedulerStatus-NOTFOUND, JOB_POOLS is never defined, and ninja
rejects the manifest. Key off the JSON lookup's error instead to
cover every non-dist state.

Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
CMakeLists.txt