[cmake-developers] How to speed up CMake configuration on macOS
Ben Boeckel
ben.boeckel at kitware.com
Sat Mar 23 11:42:07 EDT 2019
On Sat, Mar 23, 2019 at 15:07:39 +0100, Gregor Jasny via cmake-developers wrote:
> in the past when building CMake (itself) I spent long times waiting for
> configuration of the embedded libraries. Mostly libcurl send / receive
> signature detection. Today I had the idea of using system libraries
> installed with Homebrew and the speedups are quite noticeable:
One thing I'd like to see here is to take a survey of what `send` and
`recv` signatures actually exist in the wild today. We can then remove
those `try_compile` runs from CMake's import. Further work would be to
have `libcurl` upstream do this survey too (though this is a wider set
of platforms than even CMake supports) and remove those which don't
actually appear in the wild today. In addition, the attempts can be
ordered based on platform and short circuit once one is found since
`send` can have only one actual definition.
--Ben
More information about the cmake-developers
mailing list