Hello,

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:

You first need to install all required packages:

brew install curl expat jsoncpp libarchive rhash libuv xz zstd

Then configure with:
  -DCMAKE_USE_SYSTEM_LIBRARIES=ON
  -DLibArchive_ROOT=$(brew --prefix libarchive)

Speeup:

          embedded    system
  Ninja       103s       14s
  Xcode       749s       67s

Cheers,
Gregor
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers

Reply via email to