Brad King
697900da29
cmCTestMultiProcessHandler: Manage affinity assignments with other resources
2023-11-22 07:49:04 -05:00
Brad King
1d963973b9
Merge topic 'ctest-loop-idle'
...
086a41c0f3 cmCTestMultiProcessHandler: Simplify test startup batching
e528cd795f cmCTestMultiProcessHandler: Start new tests asynchronously
9d8415c17b cmCTestMultiProcessHandler: Clarify test-load retry timer infrastructure
61e98ca33b cmCTestMultiProcessHandler: Factor out loop startup and teardown
5ff0b4ed57 cmCTestMultiProcessHandler: Consolidate test readiness checks
ad3df3ce4d cmCTestMultiProcessHandler: Exclude dependent tests earlier
3c4767f467 cmCTestTestHandler: Clarify name of member storing RESOURCE_LOCK property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8995
2023-11-22 07:25:04 -05:00
Brad King
d0dc8eea2f
Merge topic 'gfortran-flags'
...
4597fee41f GNU: Remove duplicate and unnecessary optimization flags for gfortran
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8994
2023-11-22 07:24:01 -05:00
Brad King
09b63dbc42
Merge branch 'release-3.28'
2023-11-22 07:22:33 -05:00
Brad King
5b33cebe32
Merge branch 'release-3.27'
2023-11-22 07:22:31 -05:00
Brad King
646b2395ac
Merge branch 'release-3.26'
2023-11-22 07:22:29 -05:00
Brad King
66149dd1a9
Merge branch 'release-3.27' into release-3.28
2023-11-22 07:22:21 -05:00
Brad King
34afeb625f
Merge branch 'release-3.26' into release-3.27
2023-11-22 07:22:11 -05:00
Brad King
69a2c3c971
Merge branch 'release-3.28'
2023-11-22 07:21:16 -05:00
Brad King
5763a85592
Merge topic 'doc-ctest-link-cdash'
...
486c89dd6a Help: Fix ctest(1) manual links to www.cdash.org
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8998
2023-11-22 07:21:16 -05:00
Brad King
1d431e440d
Merge topic 'doc-ctest-link-cdash' into release-3.28
...
486c89dd6a Help: Fix ctest(1) manual links to www.cdash.org
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8998
2023-11-22 07:21:15 -05:00
Brad King
2ce9a81fe6
Merge branch 'release-3.28'
2023-11-22 07:20:05 -05:00
Brad King
874b62abb4
Merge topic 'clang-scan-deps-failed-scan'
...
77a7edb73f Clang-CXX: copy into the dyndep output on success
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Namniav W <namniav@gmail.com >
Merge-request: !8991
2023-11-22 07:20:05 -05:00
Brad King
cf2f2dfe63
Merge topic 'clang-scan-deps-failed-scan' into release-3.28
...
77a7edb73f Clang-CXX: copy into the dyndep output on success
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Namniav W <namniav@gmail.com >
Merge-request: !8991
2023-11-22 07:20:04 -05:00
Kitware Robot
1db4d34694
CMake Nightly Date Stamp
2023-11-22 00:01:07 -05:00
Brad King
5c5830bb9e
Merge branch 'doc-ctest-link-cdash' into release-3.27
...
Merge-request: !8998
2023-11-21 18:53:15 -05:00
Brad King
569c1d1b6e
Merge branch 'doc-ctest-link-cdash' into release-3.26
...
Merge-request: !8998
2023-11-21 18:52:31 -05:00
Brad King
486c89dd6a
Help: Fix ctest(1) manual links to www.cdash.org
...
When the link was updated to `https` by commit 52eac4573d (Help: Fix
link to cdash.org from CTest manual, 2021-04-21, v3.21.0-rc1~262^2~2)
the markup was incorrectly adjusted to show the link as part of the
"See Also" section. It is meant to be the link destination for links
in prose elsewhere in the manual. Fix the markup and move it to a
clearer location. Also update the link to resolve a redirect.
2023-11-21 18:46:41 -05:00
Brad King
086a41c0f3
cmCTestMultiProcessHandler: Simplify test startup batching
...
Once a test is ready to run, count it against the number of tests to
start in the current batch whether or not the test process actually
starts successfully. If a test process does fail to start, simply
schedule a new startup batch on the next loop iteration.
2023-11-21 12:40:13 -05:00
Brad King
e528cd795f
cmCTestMultiProcessHandler: Start new tests asynchronously
...
When a test finishes, defer starting new tests until the next loop
iteration. That way, if multiple tests finish in a single loop
iteration, we can free all of their resources first, and then start
a new batch of tests.
2023-11-21 12:37:53 -05:00
Brad King
9d8415c17b
cmCTestMultiProcessHandler: Clarify test-load retry timer infrastructure
2023-11-21 12:37:41 -05:00
Brad King
61e98ca33b
cmCTestMultiProcessHandler: Factor out loop startup and teardown
2023-11-21 12:37:31 -05:00
Brad King
5ff0b4ed57
cmCTestMultiProcessHandler: Consolidate test readiness checks
2023-11-21 12:36:31 -05:00
Ben Boeckel
77a7edb73f
Clang-CXX: copy into the dyndep output on success
...
When `clang-scan-deps` fails to scan (e.g., bad source syntax, junk
flags, etc.), the redirection unconditionally updates the file. If this
fails, the `.ddi` file timestamp is updated. If the state is then
reverted (e.g., the command line returns to the state of the last
successful build), the updated file is not useful, but `ninja` does not
rerun because:
- the command hash matches the last successful run
- the output file is newer than its inputs
However, since the `.ddi` file has been updated with bogus contents from
a failed scan, collation fails as the `rules` array is empty (or
incomplete from a batch scan).
If `clang-scan-deps` were properly aware of its output file, it could
use this to not write the file if any inner scan fails. Requested in
https://github.com/llvm/llvm-project/issues/72875 .
See: https://github.com/llvm/llvm-project/issues/72875
Fixes : #25429
2023-11-21 09:41:59 -05:00
Brad King
ad3df3ce4d
cmCTestMultiProcessHandler: Exclude dependent tests earlier
...
Tests with unfinished dependencies should not be considered at all when
looking for tests that fit within the load and concurrency limits.
2023-11-21 08:29:17 -05:00
Brad King
3c4767f467
cmCTestTestHandler: Clarify name of member storing RESOURCE_LOCK property
...
The property represents project-defined resources.
2023-11-21 08:29:17 -05:00
Brad King
4597fee41f
GNU: Remove duplicate and unnecessary optimization flags for gfortran
...
Since commit a66004bee0 (Honor CMAKE_<LANG>_FLAGS[_<CONFIG>]_INIT set in
toolchain files, 2016-07-05, v3.7.0-rc1~392^2) we've accidentally been
adding extra optimization flags instead of replacing unwanted flags.
Fixes : #25434
2023-11-21 08:19:15 -05:00
Brad King
773fd7e05d
Merge topic 'uv-handle-start-stop'
...
fb7ee82271 cmUVHandlePtr: Add uv_idle_ptr::{start,stop} methods
9dd14b2946 cmUVHandlePtr: Add uv_timer_ptr::stop method
8908f277d9 Tests: Add dedicated test case for uv_timer_ptr
f906e2482f Tests: Factor out callback in uv_idle_ptr test case
89435a5662 Tests: Add dedicated test to cover cmUVHandlePtr types
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8993
2023-11-21 07:56:44 -05:00
Kitware Robot
152a0aff24
CMake Nightly Date Stamp
2023-11-21 00:01:11 -05:00
Brad King
fb7ee82271
cmUVHandlePtr: Add uv_idle_ptr::{start,stop} methods
...
These were missing w.r.t. the pattern established for other handle wrappers.
2023-11-20 18:22:53 -05:00
Brad King
9dd14b2946
cmUVHandlePtr: Add uv_timer_ptr::stop method
...
This was missing w.r.t. the pattern established for other handle wrappers.
2023-11-20 18:22:30 -05:00
Brad King
8908f277d9
Tests: Add dedicated test case for uv_timer_ptr
2023-11-20 18:22:09 -05:00
Brad King
f906e2482f
Tests: Factor out callback in uv_idle_ptr test case
2023-11-20 18:22:03 -05:00
Brad King
89435a5662
Tests: Add dedicated test to cover cmUVHandlePtr types
...
Move the case added by commit 70d88a5361 (cmUVHandlePtr: Add
uv_idle_ptr, 2023-11-06) to a dedicated test.
2023-11-20 18:21:46 -05:00
Brad King
e68e7b1768
Merge branch 'release-3.28'
2023-11-20 09:13:45 -05:00
Brad King
0f336e8cac
Merge branch 'release-3.27'
2023-11-20 09:13:44 -05:00
Brad King
05566a51df
Merge branch 'release-3.26'
2023-11-20 09:13:42 -05:00
Brad King
11a2fd6cca
Merge branch 'release-3.27' into release-3.28
2023-11-20 09:13:31 -05:00
Brad King
87dab04aee
Merge branch 'release-3.26' into release-3.27
2023-11-20 09:13:24 -05:00
Brad King
f4486da08b
Merge branch 'release-3.28'
2023-11-20 09:13:01 -05:00
Brad King
b6845a689e
Merge topic 'fileapi-file-sets-base-dirs-relative'
...
a3a85524cd fileapi: Fix file sets' base directories relative to top source
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !8977
2023-11-20 09:13:01 -05:00
Brad King
2f30b29ac3
Merge topic 'fileapi-file-sets-base-dirs-relative' into release-3.28
...
a3a85524cd fileapi: Fix file sets' base directories relative to top source
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !8977
2023-11-20 09:12:59 -05:00
Brad King
3c1176bb24
Merge branch 'fileapi-file-sets-base-dirs-relative' into release-3.27
...
Merge-request: !8977
2023-11-20 09:12:11 -05:00
Brad King
fa272fa91e
Merge branch 'fileapi-file-sets-base-dirs-relative' into release-3.26
...
Merge-request: !8977
2023-11-20 09:11:37 -05:00
Brad King
79811a2d2b
Merge branch 'release-3.28'
2023-11-20 09:10:26 -05:00
Brad King
7f18a7a697
Merge branch 'release-3.27'
2023-11-20 09:10:24 -05:00
Brad King
a03780c4c3
Merge branch 'release-3.27' into release-3.28
2023-11-20 09:10:13 -05:00
Brad King
c1e43752b7
Merge branch 'release-3.28'
2023-11-20 09:08:38 -05:00
Brad King
c184bd2d48
Merge topic 'doc-CMP0149'
...
fe0d03b044 Help: Document that CMP0149 should be set before project()
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8990
2023-11-20 09:08:38 -05:00
Brad King
d9c8a3abdf
Merge topic 'doc-CMP0149' into release-3.28
...
fe0d03b044 Help: Document that CMP0149 should be set before project()
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8990
2023-11-20 09:08:37 -05:00