https://github.com/Kitware/CMake
Revision a008578deebfa71b38786281450e3d9cf84f5847 authored by Sebastian Holtermann on 03 January 2018, 15:59:40 UTC, committed by Sebastian Holtermann on 17 January 2018, 16:23:49 UTC
This introduces concurrent thread processing in the `_autogen` target wich processes AUTOMOC and AUTOUIC. Source file parsing is distributed among the threads by using a job queue from which the threads pull new parse jobs. Each thread might start an independent ``moc`` or ``uic`` process. Altogether this roughly speeds up the AUTOMOC and AUTOUIC build process by the number of physical CPUs on the host system. The exact number of threads to start in the `_autogen` target is controlled by the new AUTOGEN_PARALLEL target property which is initialized by the new CMAKE_AUTOGEN_PARALLEL variable. If AUTOGEN_PARALLEL is empty or unset (which is the default) the thread count is set to the number of physical CPUs on the host system. The AUTOMOC/AUTOUIC generator and the AUTORCC generator are refactored to use a libuv loop internally. Closes #17422.
1 parent 488baaf
Tip revision: a008578deebfa71b38786281450e3d9cf84f5847 authored by Sebastian Holtermann on 03 January 2018, 15:59:40 UTC
Autogen: Process files concurrently in AUTOMOC and AUTOUIC
Autogen: Process files concurrently in AUTOMOC and AUTOUIC
Tip revision: a008578
DartConfig.cmake
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.
set(CTEST_PROJECT_NAME "CMake")
set(CTEST_NIGHTLY_START_TIME "21:00:00 EDT")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "open.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=CMake")
set(CTEST_DROP_SITE_CDASH TRUE)
Computing file changes ...