Brad King
1487e540aa
cmCTestMultiProcessHandler: Reduce repeat test property map lookups
2023-11-17 18:43:01 -05:00
Brad King
b02b628ad9
cmCTestMultiProcessHandler: Simplify loop termination on serial test
2023-11-17 18:43:01 -05:00
Brad King
8f1e8af0cc
cmCTestMultiProcessHandler: Stop searching for tests when limit is reached
...
Avoid an extra loop iteration if we have no room for more tests.
2023-11-17 18:42:17 -05:00
Brad King
bd0b4ca867
cmCTestMultiProcessHandler: Invert spare load condition
...
Switch then/else blocks to reduce indentation.
2023-11-17 18:41:42 -05:00
Brad King
9b548139fd
cmCTestMultiProcessHandler: Clarify search for tests <= concurrency limit
2023-11-17 18:41:42 -05:00
Brad King
ee321dc85f
cmCTestMultiProcessHandler: Clarify search for tests <= spare load
...
Move code into conditions where it is needed and comment its purpose.
2023-11-17 18:41:42 -05:00
Brad King
afd185881f
cmCTestMultiProcessHandler: Make loops over all pending tests more consistent
...
Some loops were using the ordered list unnecessarily while others used
the main map of pending test. Update all to use the latter.
2023-11-17 18:41:41 -05:00
Brad King
3bc3f6cbb5
cmCTestMultiProcessHandler: Clarify representation of pending test order
...
Also avoid copying the entire list each time we start a batch of tests.
2023-11-17 18:41:41 -05:00
Brad King
b27969c89d
cmCTestMultiProcessHandler: Clarify representation of pending tests
2023-11-17 18:41:41 -05:00
Brad King
7bca3f8c80
cmCTestMultiProcessHandler: Avoid extra copy of test maps
2023-11-17 18:41:41 -05:00
Brad King
d6d114f3e8
cmCTestMultiProcessHandler: Remove unused members
...
The `TestRunningMap` and `TestFinishMap` members have not been used
since commit 44017a4767 (CTest: handle dependent and non dependent test
requirements equally, 2013-10-17, v3.0.0-rc1~451^2~7).
2023-11-17 18:41:41 -05:00
Brad King
451429e19c
cmCTestMultiProcessHandler: Use cm::uv_loop_ptr abstraction
...
This ensures all loop resources are released.
2023-11-17 18:41:41 -05:00
John Parent
419443f68f
cmCTestMultiProcessHandler: Factor out helper to check for completion
2023-11-17 18:41:41 -05:00
Chris Mahoney
8c307ab567
cmCTestMultiProcessHandler: Replace false condition with opposite assert
2023-11-17 18:41:41 -05:00
Brad King
1f8f270f62
cmCTestRunTest: Consolidate initialization in constructor
2023-11-17 18:41:40 -05:00
Brad King
c896dc78f9
Tests: Cover ctest waiting on insufficient non-zero spare test-load
2023-11-17 18:40:44 -05:00
Brad King
6f8532fbfa
Merge topic 'autogen-rsp'
...
232610e60e Autogen: Use new API for limiting autogen command line lengths
7a07887055 Autogen: Add support for response files for moc predef targets
7eb5ab2c63 Autogen: Generalize MaybeWriteMocResponseFile to MaybeWriteResponseFile
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8944
2023-11-17 08:23:18 -05:00
Brad King
08f5e09f9f
Merge topic 'UseSWIG-csharp-dllimport'
...
342b1b8a69 UseSWIG: ensure generated CSharp source code is portable.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8973
2023-11-17 08:20:23 -05:00
Brad King
25fcc7e3de
Merge topic 'FetchContent-find_package-args'
...
42dbdf8914 FetchContent: Fix syntax to forward FIND_PACKAGE_ARGS arguments correctly
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8967
2023-11-17 08:19:35 -05:00
Brad King
194d66c952
Merge branch 'release-3.28'
2023-11-17 08:18:42 -05:00
Brad King
b6688f11df
Merge topic 'update-kwiml'
...
f2cc0ef2ed Merge branch 'upstream-KWIML' into update-kwiml
83dd9be285 KWIML 2023-11-16 (500bc253)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8978
2023-11-17 08:18:42 -05:00
Brad King
52ce26b9d3
Merge topic 'update-kwiml' into release-3.28
...
f2cc0ef2ed Merge branch 'upstream-KWIML' into update-kwiml
83dd9be285 KWIML 2023-11-16 (500bc253)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8978
2023-11-17 08:18:41 -05:00
Brad King
c78240c406
Merge branch 'release-3.28'
2023-11-17 08:11:55 -05:00
Brad King
066ae7051c
Merge topic 'doc-deprecated-hanging-indent'
...
b553ac4c2f Utilities/Sphinx: Add hanging indent to deprecation notes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8976
2023-11-17 08:11:55 -05:00
Brad King
5595976c11
Merge topic 'doc-deprecated-hanging-indent' into release-3.28
...
b553ac4c2f Utilities/Sphinx: Add hanging indent to deprecation notes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8976
2023-11-17 08:11:54 -05:00
Kitware Robot
1aa095c8ed
CMake Nightly Date Stamp
2023-11-17 00:01:08 -05:00
Brad King
f2cc0ef2ed
Merge branch 'upstream-KWIML' into update-kwiml
...
* upstream-KWIML:
KWIML 2023-11-16 (500bc253)
2023-11-16 15:15:51 -05:00
Brad King
b553ac4c2f
Utilities/Sphinx: Add hanging indent to deprecation notes
...
Extend commit 038f4c12e3 (Utilities/Sphinx: Add hanging indent to
version notes, 2023-03-14, v3.27.0-rc1~322^2) to cover `deprecated`
directives.
2023-11-16 14:27:54 -05:00
KWIML Upstream
83dd9be285
KWIML 2023-11-16 (500bc253)
...
Code extracted from:
https://gitlab.kitware.com/utils/kwiml.git
at commit 500bc25359cdf9e7357315ae3a6c05d606d93ea3 (master).
Upstream Shortlog
-----------------
Brad King (1):
500bc253 codespell: fix typos
2023-11-16 11:18:55 -05:00
tophoo
232610e60e
Autogen: Use new API for limiting autogen command line lengths
2023-11-16 16:29:29 +01:00
tophoo
7a07887055
Autogen: Add support for response files for moc predef targets
...
Add support for response files for moc predef targets and make the limit when
to use response files for autogen targets configurable.
2023-11-16 16:29:02 +01:00
Brad King
2c923a7e28
Merge topic 'install-export-xcframework'
...
37bc3400cd CMakePackageConfigHelpers: Add generate_apple_platform_selection_file()
256bb0cc40 install(EXPORT): Add ability to point to .xcframework file
a90968e044 cmExportBuildFileGenerator: Add structs for target exports
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Jason Juang <jasjuang@gmail.com >
Merge-request: !8969
2023-11-16 09:13:16 -05:00
Brad King
f6d65c622c
Merge topic 'doc-file'
...
e48f2e69b5 Help: Clarify file() command multi-value argument placeholders
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8975
2023-11-16 09:11:52 -05:00
Kitware Robot
572f3105c1
CMake Nightly Date Stamp
2023-11-16 00:01:10 -05:00
Brad King
e48f2e69b5
Help: Clarify file() command multi-value argument placeholders
...
Use `<placeholder>...` syntax to imply "zero or more", as we do elsewhere.
2023-11-15 10:56:17 -05:00
Brad King
aed9a14cd4
Merge branch 'release-3.28'
2023-11-15 10:30:27 -05:00
Brad King
0b6c6bb1ea
CMake 3.28.0-rc5
v3.28.0-rc5
2023-11-15 09:54:28 -05:00
Brad King
4bd90b643f
Merge branch 'release-3.28'
2023-11-15 09:44:37 -05:00
Brad King
5bc9c2d6ac
Merge branch 'release-3.27'
2023-11-15 09:44:17 -05:00
Brad King
cd74246331
Merge branch 'release-3.27' into release-3.28
2023-11-15 09:43:56 -05:00
Kyle Edwards
37bc3400cd
CMakePackageConfigHelpers: Add generate_apple_platform_selection_file()
...
Issue: #25262
2023-11-15 09:10:58 -05:00
Kyle Edwards
256bb0cc40
install(EXPORT): Add ability to point to .xcframework file
...
Issue: #25262
2023-11-15 09:10:58 -05:00
Brad King
9cfff766eb
CMake 3.27.8
v3.27.8
2023-11-15 08:55:18 -05:00
Brad King
3e890fdba3
Merge branch 'release-3.28'
2023-11-15 08:46:39 -05:00
Brad King
b43d04eaab
Merge branch 'release-3.27'
2023-11-15 08:46:37 -05:00
Brad King
c2a4c3915b
Merge branch 'release-3.27' into release-3.28
2023-11-15 08:46:31 -05:00
Brad King
bc9ca0331b
Merge branch 'backport-target-objects' into release-3.27
...
Merge-request: !8974
2023-11-15 08:45:45 -05:00
Brad King
87778e137b
Merge branch 'release-3.28'
2023-11-15 08:44:41 -05:00
Brad King
175988a37a
Merge topic 'target-objects'
...
d7988ff6b8 Merge branch 'backport-target-objects' into target-objects
1814853081 cmCommonTargetGenerator: Drop unused local variable
377b78aef9 cmComputeLinkInformation: Simplify recording OBJECT libraries as link items
50fdaf8f1f cmComputeLinkInformation: Track targets named by TARGET_OBJECTS sources
0e26bd334d cmCommonTargetGenerator: Factor out GetLinkedTargetDirectories loop body
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !8974
2023-11-15 08:44:40 -05:00
Brad King
49c8e89bae
Merge topic 'target-objects' into release-3.28
...
d7988ff6b8 Merge branch 'backport-target-objects' into target-objects
1814853081 cmCommonTargetGenerator: Drop unused local variable
377b78aef9 cmComputeLinkInformation: Simplify recording OBJECT libraries as link items
50fdaf8f1f cmComputeLinkInformation: Track targets named by TARGET_OBJECTS sources
0e26bd334d cmCommonTargetGenerator: Factor out GetLinkedTargetDirectories loop body
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !8974
2023-11-15 08:44:39 -05:00