ninja-build/ninja

CMake build doesn't enable the use of ppoll on platforms that support it

Open

#1,821 opened on Jul 28, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C++ (1,544 forks)batch import
help wanted

Repository metrics

Stars
 (10,194 stars)
PR merge metrics
 (Avg merge 39d 3h) (10 merged PRs in 30d)

Description

On platforms that support it, configure.py enables the use of ppoll by defining USE_PPOLL. CMake build doesn't replicate this logic which means that Ninja built with CMake is always going to use the less efficient pselect.

Contributor guide