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
b13d2e3321
Merge topic 'custom-command-ninja-deps'
...
3c8d1eef72 Ninja: depfile: keep rules without dependencies
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8984
2023-11-20 09:01:42 -05:00
Marc Chevrier
3c8d1eef72
Ninja: depfile: keep rules without dependencies
...
To avoid repeated executions of custom command actions, depfile file
with rules without dependencies must be preserved.
Fixes : #25428
2023-11-20 08:17:48 -05:00
Brad King
6818925b9a
Merge topic 'ctest-cleanup'
...
5d2e93f9e8 cmCTestMultiProcessHandler: Simplify logic on unavailable resources
a4b061a035 cmCTestMultiProcessHandler: Clarify resource availability error member names
1487e540aa cmCTestMultiProcessHandler: Reduce repeat test property map lookups
b02b628ad9 cmCTestMultiProcessHandler: Simplify loop termination on serial test
8f1e8af0cc cmCTestMultiProcessHandler: Stop searching for tests when limit is reached
bd0b4ca867 cmCTestMultiProcessHandler: Invert spare load condition
9b548139fd cmCTestMultiProcessHandler: Clarify search for tests <= concurrency limit
ee321dc85f cmCTestMultiProcessHandler: Clarify search for tests <= spare load
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8981
2023-11-20 08:16:19 -05:00
Brad King
74ea5756b9
Merge topic 'update-kwsys'
...
9812861652 Merge branch 'upstream-KWSys' into update-kwsys
09b90d4377 KWSys 2023-11-19 (8ce4c90d)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8987
2023-11-20 08:14:10 -05:00
Brad King
4c1a6f2e23
Merge topic 'ci-fedora-39'
...
cdd741ebf9 Merge branch 'backport-ci-fedora-39' into ci-fedora-39
9283b20659 ci: Suppress CPack/RPM tests pending fix for Fedora 39
18145e8745 ci: Update FindMPI test environment for mpich on Fedora 39
a8be80ccf2 ci: Drop now-unnecessary Clang rules for CXXModules tests
99238b23e9 ci: use Fedora 39 images and environments
57eadec617 ci: update Linux image to Fedora 39
653262162c clang-tidy module: Update to build against LLVM/Clang 17
2cf9a65835 clang-tidy: ignore warnings new in version 17
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8983
2023-11-20 08:10:37 -05:00
Kitware Robot
e2601d8347
CMake Nightly Date Stamp
2023-11-20 00:01:44 -05:00
Brad King
aea838cf41
Merge topic 'cpack-wix-installscope'
...
60661f6770 CPack/WiX: Make InstallScope configurable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8954
2023-11-19 11:55:30 -05:00
Brad King
f33810b567
Merge topic 'uv-idle-ptr'
...
70d88a5361 cmUVHandlePtr: Add uv_idle_ptr
17690558c3 cmUVHandlePtr: Add explicit conversion to bool
cd2894a089 cmUVHandlePtr: Conversions to raw pointers are const
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8980
2023-11-19 11:50:16 -05:00
Brad King
21a7c1b86a
Merge topic 'uv-signal-cleanup'
...
6ef03ca03e cmUVSignalHackRAII: Drop outdated and unused libuv SA_RESTART workaround
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8979
2023-11-19 11:48:57 -05:00
Brad King
1f7a653e90
Merge topic 'swift-compilation-mode'
...
0f80101b73 Tests: Update Swift tests to use CMP0157 NEW behavior
c1d787e473 Swift: Add abstraction for compilation mode
c39384f540 Tests: Simplify RunCMake.Swift conditions to enable use of Swift
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8918
2023-11-19 11:47:37 -05:00
Brad King
9812861652
Merge branch 'upstream-KWSys' into update-kwsys
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2023-11-19 (8ce4c90d)
2023-11-19 11:41:31 -05:00
Kitware Robot
67be468693
CMake Nightly Date Stamp
2023-11-19 00:01:08 -05:00
Kitware Robot
ee3e050d23
CMake Nightly Date Stamp
2023-11-18 00:01:12 -05:00
Brad King
5d2e93f9e8
cmCTestMultiProcessHandler: Simplify logic on unavailable resources
...
Deallocation is not necessary after allocation fails.
2023-11-17 18:43:01 -05:00
Brad King
a4b061a035
cmCTestMultiProcessHandler: Clarify resource availability error member names
...
The members are about the availability of sufficient resources,
not allocation of them.
2023-11-17 18:43:01 -05:00
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
cdd741ebf9
Merge branch 'backport-ci-fedora-39' into ci-fedora-39
2023-11-17 11:35:41 -05:00
Brad King
2744f14db1
codespell: Fix typos
2023-11-17 09:58:21 -05:00
Brad King
7517923418
codespell: Match valgrind output without repeating a spelling error
2023-11-17 09:58:21 -05:00
Brad King
70d88a5361
cmUVHandlePtr: Add uv_idle_ptr
...
Wrap a `uv_idle_t` handle.
2023-11-17 08:51:25 -05:00
Brad King
17690558c3
cmUVHandlePtr: Add explicit conversion to bool
2023-11-17 08:50:53 -05:00
Brad King
cd2894a089
cmUVHandlePtr: Conversions to raw pointers are const
2023-11-17 08:50:53 -05:00
Brad King
6ef03ca03e
cmUVSignalHackRAII: Drop outdated and unused libuv SA_RESTART workaround
...
It is only needed for libuv < 1.19, but since commit c050d6a01e
(string(TIMESTAMP): add %f specifier for microseconds, 2022-01-27,
v3.23.0-rc1~59^2) we require libuv >= 1.28.
2023-11-17 08:49:21 -05:00
Evan Wilde
c1d787e473
Swift: Add abstraction for compilation mode
...
Add a `CMAKE_Swift_COMPILATION_MODE` variable and corresponding
`Swift_COMPILATION_MODE` target property to control the compilation
mode. Select among `wholemodule`, `singlefile`, and `incremental`.
Add policy CMP0157 to remove the default `-wmo` flags in favor of the
abstract setting.
Issue: #25366
2023-11-17 08:43:21 -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
Kyle Edwards
a3a85524cd
fileapi: Fix file sets' base directories relative to top source
...
This field was added by commit b3e9fb67bb (file-api: support exporting
file set information, 2022-11-03, v3.26.0-rc1~389^2) but the relative
path convention used elsewhere was accidentally left out.
Fixes : #25422
2023-11-17 07:59:05 -05:00
Kitware Robot
1aa095c8ed
CMake Nightly Date Stamp
2023-11-17 00:01:08 -05:00
Max Gaukler
60661f6770
CPack/WiX: Make InstallScope configurable
...
Add a new `CPACK_WIX_INSTALL_SCOPE` variable to set the `InstallScope`
when using the default WiX template. Set the default to the bug-free
value `perMachine`.
Fixes : #20962
2023-11-16 14:15:38 -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
Kitware Robot
572f3105c1
CMake Nightly Date Stamp
2023-11-16 00:01:10 -05:00
Brad King
0b6c6bb1ea
CMake 3.28.0-rc5
2023-11-15 09:54:28 -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
2023-11-15 08:55:18 -05:00