Commit Graph

45539 Commits

Author SHA1 Message Date
Brad King 39ac8b4eb5 ctest: Add --repeat-after-timeout option
Add an option to re-run tests if they timeout.  This will help tolerate
sporadic timeouts on busy machines.
2019-10-29 15:14:36 -04:00
Brad King 80c2c9d14c ctest: Add --repeat-until-pass option
Add an option to re-run tests if they fail.  This will help tolerate
sporadic failures.

Issue: #17010
Co-Author: Ben Boeckel <ben.boeckel@kitware.com>
Co-Author: Chuck Atkins <chuck.atkins@kitware.com>
2019-10-29 15:10:12 -04:00
Brad King 0187e52244 cmCTestRunTest: Use inline member initializers 2019-10-29 13:47:23 -04:00
Brad King 1fb4839225 Merge topic 'ccmake_progress_bar_and_log_display'
2086da1713 ccmake: Add output and progress bar release note
66d969fcc4 ccmake: Don't overwrite the last character of the title
1d0e557aed ccmake: Display output during configure and generate
c168e789df ccmake: Use the error display for all the logs
3300070cc2 ccmake: Display an ASCII progress bar in the status bar

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3942
2019-10-29 11:18:16 -04:00
Brad King c299d10a2e Merge topic 'FindPackageModeMakefileTest-isysroot'
c37f4eff5e FindPackageModeMakefileTest: macOS needs isysroot flag

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3956
2019-10-29 11:17:31 -04:00
Brad King b4b6a3e7e5 Merge branch 'release-3.16' 2019-10-29 11:15:57 -04:00
Brad King c5e22dfaea Merge topic 'swift-sdk-on-mac'
c10c9f839a Swift: Honor CMAKE_OSX_SYSROOT on Apple platforms

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3957
2019-10-29 11:15:09 -04:00
Brad King e90f6bacd5 Merge topic 'FindCurses-formw'
84ce473255 FindCurses: use formw when wide support is requested

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3947
2019-10-29 10:39:41 -04:00
Brad King 36516f0a50 Merge topic 'swift-parallel-jobs'
d9dd7cca66 Swift: correct flags for parallel jobs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3950
2019-10-29 10:34:17 -04:00
Brad King 8db410f336 Merge topic 'docs-find-vars'
a0a7a45dbc Help: Fix markup errors, improve wording of CMAKE_FIND... variable docs
049dbdd38c Help: Document that <PackageName>_ROOT applies to config packages too

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3952
2019-10-29 10:33:16 -04:00
Kitware Robot cffff0f17e CMake Nightly Date Stamp 2019-10-29 00:01:08 -04:00
Craig Scott c37f4eff5e FindPackageModeMakefileTest: macOS needs isysroot flag
macOS/Xcode no longer populate /usr/include.
Building with the compiler directly instead of using /usr/bin/c++
can result in missing headers without the -isysroot flag.

Relates: #19885
2019-10-29 07:14:08 +11:00
Brad King 449a29296d Merge branch 'sdk-on-mac' into release-3.16
Merge-request: !3957
2019-10-28 13:39:52 -04:00
Brad King ee366b0273 Merge branch 'FindCurses-formw' into release-3.16
Merge-request: !3947
2019-10-28 12:04:26 -04:00
nick black 84ce473255 FindCurses: use formw when wide support is requested
Fixes: #19883
2019-10-28 12:03:11 -04:00
Brad King c10c9f839a Swift: Honor CMAKE_OSX_SYSROOT on Apple platforms
Pass the value to the Swift compiler driver via `-sdk`.  We already do
this for C/C++ via `-isysroot`.

This fixes command-line builds on macOS 10.15 with Xcode 11 Swift tools.

Fixes: #19880
2019-10-28 11:52:31 -04:00
Brad King f9193ca2dd Merge branch 'swift-parallel-jobs' into release-3.16
Merge-request: !3950
2019-10-28 11:37:39 -04:00
Saleem Abdulrasool d9dd7cca66 Swift: correct flags for parallel jobs
`-num-threads` is for the threading, not the job control.  Use `-j` to
launch the parallel jobs.  This enables parallel builds for Swift again
after driver updates preventing the parallelization through
`-num-threads`.
2019-10-28 11:36:57 -04:00
Brad King a575fbc3cb Merge branch 'docs-find-vars' into release-3.16
Merge-request: !3952
2019-10-28 11:33:05 -04:00
Brad King 92eb3a4475 Merge branch 'release-3.16' 2019-10-28 11:28:27 -04:00
Brad King 336a826f77 Merge topic 'framework-tests-multiarch-old-macos'
3e30c4cc1f Tests: Match file command output for older macOS (Framework test)
89ad3b3959 Tests: Prevent CMP0012 policy warnings in Framework test output

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3954
2019-10-28 10:10:37 -04:00
Brad King 62267715fe Merge branch 'framework-tests-multiarch-old-macos' into release-3.16
Merge-request: !3954
2019-10-28 10:09:29 -04:00
Brad King f289ab61e3 Merge topic 'cpack-nsis-uninstaller-name'
c97abc9688 CPack/NSIS: Add option for custom Uninstall filename

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3945
2019-10-28 10:06:40 -04:00
Brad King cb13aa580d Merge topic 'ExternalProject-git-no-recurse'
5bc6230741 ExternalProject: Option to turn off recursive update of git submodules

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3923
2019-10-28 10:05:45 -04:00
Craig Scott 6ad91699bf Merge branch 'release-3.16' 2019-10-28 21:56:49 +11:00
Craig Scott c79e9d8c21 Merge branch 'project-version-buffer-overflow' into release-3.16
Merge-request: !3948
2019-10-28 21:55:20 +11:00
Craig Scott f4749489fd Merge branch 'docs-FindPython-minor-grammar' into release-3.16
Merge-request: !3953
2019-10-28 21:54:30 +11:00
Craig Scott cdcc173e23 Merge topic 'project-version-buffer-overflow'
82cdb26c93 project: Fix potential buffer write-past-end for version components
15a0b0d046 Help: math() expressions must be representable as signed 64-bit

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3948
2019-10-28 06:50:22 -04:00
Craig Scott e03b677e70 Merge topic 'docs-FindPython-minor-grammar'
9914b90f4a Help: Minor wording cleanup for Python modules

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3953
2019-10-28 06:44:17 -04:00
Kitware Robot 0e4190ba9e CMake Nightly Date Stamp 2019-10-28 00:01:05 -04:00
Craig Scott 3e30c4cc1f Tests: Match file command output for older macOS (Framework test) 2019-10-27 23:48:41 +11:00
Craig Scott 89ad3b3959 Tests: Prevent CMP0012 policy warnings in Framework test output 2019-10-27 23:28:17 +11:00
Craig Scott 9914b90f4a Help: Minor wording cleanup for Python modules 2019-10-27 21:36:31 +11:00
Craig Scott a0a7a45dbc Help: Fix markup errors, improve wording of CMAKE_FIND... variable docs 2019-10-27 18:11:00 +11:00
Craig Scott 049dbdd38c Help: Document that <PackageName>_ROOT applies to config packages too
The original intent of <PackageName>_ROOT may have been for it
to apply only to Find modules, but the implementation of the
find_package() command treats modules and config packages the
same. Both result in a <PackageName>_ROOT variable being
pushed onto the stack of package roots. A config package can
also call other find_...() commands, the behavior doesn't apply
just to find modules.
2019-10-27 16:10:09 +11:00
Kitware Robot f3968470ce CMake Nightly Date Stamp 2019-10-27 00:01:04 -04:00
Craig Scott 82cdb26c93 project: Fix potential buffer write-past-end for version components
This fixes two errors: not accounting for the trailing null and a
misunderstanding of what std::numeric_limits::digits10 means.
2019-10-26 17:50:24 +11:00
Craig Scott 15a0b0d046 Help: math() expressions must be representable as signed 64-bit 2019-10-26 17:47:03 +11:00
Kitware Robot a894397153 CMake Nightly Date Stamp 2019-10-26 00:01:09 -04:00
Sylvain Joubert 2086da1713 ccmake: Add output and progress bar release note 2019-10-25 14:19:46 -04:00
Johnny Jazeix c97abc9688 CPack/NSIS: Add option for custom Uninstall filename
Fixes: #10728
2019-10-25 14:13:25 -04:00
Brad King 5c8d821eca Merge topic 'xcode-scheme-env'
f0005dacde Xcode: Add CMAKE_XCODE_SCHEME_ENVIRONMENT variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3933
2019-10-25 09:37:49 -04:00
Sylvain Joubert 66d969fcc4 ccmake: Don't overwrite the last character of the title 2019-10-25 14:58:23 +02:00
Sylvain Joubert 1d0e557aed ccmake: Display output during configure and generate 2019-10-25 14:58:23 +02:00
Sylvain Joubert c168e789df ccmake: Use the error display for all the logs 2019-10-25 14:58:23 +02:00
Sylvain Joubert 3300070cc2 ccmake: Display an ASCII progress bar in the status bar
The status bar is now only used to display the progress.
The status log are not shown anymore since for the most cases they went
by too quickly to be read. As for cases when a process is long enough
to display and read a log, it would probably be a previous unrelated
message.
2019-10-25 14:58:23 +02:00
Kitware Robot 5a3f539cd5 CMake Nightly Date Stamp 2019-10-25 00:01:07 -04:00
Charis Marangos 5bc6230741 ExternalProject: Option to turn off recursive update of git submodules
Fixes: #19832
2019-10-24 13:36:19 -04:00
Felix Heidrich f0005dacde Xcode: Add CMAKE_XCODE_SCHEME_ENVIRONMENT variable
Initialize the `XCODE_SCHEME_ENVIRONMENT` target property.

This was left out of commit 6b7f1e1db0 (Xcode: Add variables and
properties to configure schemes, 2018-07-29, v3.13.0-rc1~243^2).
2019-10-24 11:24:34 -04:00
Brad King b2b79e7776 Merge topic 'doc-dev-note-ext'
2d1fd3f818 Help: Fix missed extension for `CMAKE_MESSAGE_CONTEXT` release note

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3943
2019-10-24 10:41:30 -04:00