]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: Intelligently set job limits for sccache 56865/head
authorZack Cerza <zack@redhat.com>
Thu, 4 Apr 2024 19:01:05 +0000 (13:01 -0600)
committerZack Cerza <zack@redhat.com>
Mon, 6 May 2024 20:03:14 +0000 (14:03 -0600)
commitbe709462ad41c445001d103b4c3fbf4aa4673947
tree9b11a4c546c275b57310d14ef8ea10bf90d9c7b4
parentc2d8c3155d854ee204cb7c7261232571229d1d54
cmake: Intelligently set job limits for sccache

If we are correctly configured for distributed mode, use the cluster's CPU count
instead of ours. If we are configured for sccache but without distributed mode,
inform the user but continue with normal job limits.

Signed-off-by: Zack Cerza <zack@redhat.com>
CMakeLists.txt
cmake/modules/LimitJobs.cmake