[gentoo-dev] [PATCH 1/2] cmake-utils.eclass: Make ninja default backend in EAPI >= 7

2018-07-25 Thread soap
From: David Seifert * Using the ninja backend as a default is the only way to massively improve src_compile core utilization, given that it seems unlikely that CMake will ever produce non-recursive Makefiles. For a benchmark, see: http://www.kaizou.org/2016/09/build-benchmark-large-c-p

[gentoo-dev] [PATCH 2/2] cmake-utils.eclass: Enable BUILD_SHARED_LIBS by default in EAPI >= 7

2018-07-25 Thread soap
From: David Seifert * Many upstreams build static libraries by default, as this is simpler for distribution. Developers can still override this variable if required. Examples: https://github.com/pezmaster31/bamtools/blob/master/CMakeLists.txt#L64 --- eclass/cmake-utils.eclass | 1 + 1 f