summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmCTestRunTest: Drop unused membersBryon Bean2018-01-101-8/+0
|
* cmCTestMultiProcessHandler: Factor out duplicate test finish logicBryon Bean2018-01-102-36/+38
|
* cmCTestMultiProcessHandler: Add helper to make libuv use SA_RESTARTBrad King2018-01-101-0/+37
| | | | | | Prior to 1.19, libuv does not use SA_RESTART in its signal handler. Add a helper to cause libuv to install its handler and then revise the handler's flags to add SA_RESTART.
* cmCTestMultiProcessHandler: Fix StartNextTests loop on not-started testBrad King2018-01-082-19/+20
| | | | | | | | If `StartTestProcess` does not start a test, propagate this information back up to the `StartNextTests` loop so that it can move on to another candidate without allocating processors to a test that didn't run. Otherwise we have to wait for the next time `RunTests` loops around and calls `StartNextTests` again.
* cmCTestMultiProcessHandler: Check stop time more directlyBrad King2018-01-083-14/+14
| | | | | | | | Avoid creating a cmCTestRunTest instance if the stop time has been reached. If the stop time occurs in the small time between creating an instance and computing the child process timeout, we will simply compute a zero timeout. This is already done for the case that we StartAgain after the stop time.
* cmCTestRunTest: Subsume ResolveTimeout into only call siteBrad King2018-01-082-29/+18
|
* cmCTest: Refactor stop time calculationsBrad King2018-01-083-82/+42
| | | | | Calculate the stop time up front instead of re-parsing its string for every test.
* cmCTest: Remove unused member LastStopTimeoutBrad King2018-01-083-6/+1
| | | | | | | This member was added by commit v2.8.2~285 (Better detection of stop_time being passed, 2010-03-19), but its logic has no effect. The member is only used for comparison against a value to which it was just assigned.
* libuv: unix: restart syscalls interrupted by our signal handlerBrad King2018-01-081-1/+6
| | | | | | | | | | BSD `signal(2)` semantics make some system calls (e.g. for `write`) restartable when interrupted by a signal handler. Use `SA_RESTART` to enable these semantics everywhere that supports them. This is required by C++ stream libraries that interpret `EINTR` as any other error, set `badbit`, and stop writing. I've observed this with `libstdc++` during a `std::cout.flush()` call interrupted by `SIGCHLD`.
* Merge topic 'use_generator_is_multi_config'Brad King2018-01-0847-102/+176
|\ | | | | | | | | | | | | | | 3c413e2a GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Modules c267ea1c GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in Tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1627
| * GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in ModulesCraig Scott2017-12-298-26/+42
| |
| * GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in TestsCraig Scott2017-12-2939-76/+134
| |
* | Merge topic 'execute_process_UTF8_keyword'Brad King2018-01-085-4/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | 8caec41e execute_process: Allow UTF-8 as a synonym for the UTF8 keyword Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !1623
| * | execute_process: Allow UTF-8 as a synonym for the UTF8 keywordCraig Scott2017-12-275-4/+8
| |/ | | | | | | | | | | | | | | UTF-8 is the proper naming according to the UTF-8 RFC and is also the name used for a similar keyword in the file() command. This commit brings (backward compatible) consistency to the keyword names and allows the standard UTF-8 name to be used with execute_process(). The old UTF8 keyword is still supported.
* | Merge topic '17431-iphone-deployment-target'Brad King2018-01-0819-27/+200
|\ \ | | | | | | | | | | | | | | | | | | | | | 4017bf40 Darwin: Emit deployment target that matches the SDK 8f4663ff Xcode: rename embedded SDK query function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1447
| * | Darwin: Emit deployment target that matches the SDKGregor Jasny2017-12-2215-15/+185
| | | | | | | | | | | | Closes: #17431
| * | Xcode: rename embedded SDK query functionGregor Jasny2017-12-227-13/+16
| | |
* | | CMake Nightly Date StampKitware Robot2018-01-081-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-01-071-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-01-061-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-01-051-1/+1
| | |
* | | Merge topic 'various-typos'Craig Scott2018-01-0461-69/+69
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 3ab7bf82 Various typo fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1626
| * | | Various typo fixesLuz Paz2018-01-0361-69/+69
| | | | | | | | | | | | | | | | Some are user-facing. Others are source comments.
* | | | CMake Nightly Date StampKitware Robot2018-01-041-1/+1
| | | |
* | | | Merge topic 'doxygen_verbatim_vars'Craig Scott2018-01-034-8/+103
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1e6d1dd3 FindDoxygen: Add DOXYGEN_VERBATIM_VARS for quote prevention Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1624
| * | | | FindDoxygen: Add DOXYGEN_VERBATIM_VARS for quote preventionCraig Scott2018-01-024-8/+103
| | |_|/ | |/| | | | | | | | | | | | | | Each CMake variable listed in DOXYGEN_VERBATIM_VARS will not have any automatic quoting applied to it when written to the Doxyfile.
* | | | CMake Nightly Date StampKitware Robot2018-01-031-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2018-01-021-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2018-01-011-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2017-12-311-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2017-12-301-1/+1
| |/ / |/| |
* | | CMake Nightly Date StampKitware Robot2017-12-291-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2017-12-281-1/+1
|/ /
* | CMake Nightly Date StampKitware Robot2017-12-271-1/+1
| |
* | CMake Nightly Date StampKitware Robot2017-12-261-1/+1
| |
* | CMake Nightly Date StampKitware Robot2017-12-251-1/+1
| |
* | CMake Nightly Date StampKitware Robot2017-12-241-1/+1
| |
* | Merge topic 'self-c++17'Brad King2017-12-237-39/+93
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 31d59ff3 Compile CMake as C++17 if supported by the compiler 31c6b9ad Generalize check for C++14 constructs 05af537e cmGlobalNinjaGenerator: Avoid using deprecated std::ptr_fun Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !1614
| * | Compile CMake as C++17 if supported by the compilerBrad King2017-12-223-4/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a check that a simple source file can compile as C++17 that uses some of the features we need. Do this only when hosted by CMake 3.8 or above because those versions are aware of C++17. Check for unordered_map as we do in bootstrap since commit 375eca7881 (bootstrap: Check support for unordered_map from compiler mode, 2017-11-30). Also maintain the existing C++14 cstdio check.
| * | Generalize check for C++14 constructsBrad King2017-12-224-35/+38
| | | | | | | | | | | | | | | | | | The check for C++14 and cstdio is a special case of the more general problem of checking that the compiler's C++14 mode supports everything we need. Rename the checks accordingly.
| * | cmGlobalNinjaGenerator: Avoid using deprecated std::ptr_funBrad King2017-12-211-2/+1
| | | | | | | | | | | | It was deprecated by C++11 and removed by C++17. Use a C++11 lambda.
* | | CMake Nightly Date StampKitware Robot2017-12-231-1/+1
| |/ |/|
* | Merge topic 'FindPkgConfig_search_path_fix'Brad King2017-12-222-5/+66
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 40b95ee8 FindPkgConfig: Fix IMPORTED_TARGET NO...PATH option handling b0ff528a FindPkgConfig: Make IMPORTED_TARGET test verify NO...PATH properly Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !1602
| * | FindPkgConfig: Fix IMPORTED_TARGET NO...PATH option handlingCraig Scott2017-12-161-5/+5
| | |
| * | FindPkgConfig: Make IMPORTED_TARGET test verify NO...PATH properlyCraig Scott2017-12-161-0/+61
| | |
* | | CMake Nightly Date StampKitware Robot2017-12-221-1/+1
| |/ |/|
* | Merge topic 'copyright-year'Brad King2017-12-211-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 20eef608 Copyright.txt: Update year range to end in 2018 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1613
| * | Copyright.txt: Update year range to end in 2018Brad King2017-12-201-1/+1
| | |
* | | Merge topic 'cpackifw-package-remove-target-dir'Brad King2017-12-214-0/+29
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 739ae1d0 CPack/IFW: Add option to control deletion of the install directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1591
| * | | CPack/IFW: Add option to control deletion of the install directoryJean-Philippe Lebel2017-12-154-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | Added support for QT IFW "RemoveTargetDir" boolean option. QTIFW supports an option to prevent, or not, deletion of the installation directory. This is a direct pass-through to that variable.