Commit Graph

64049 Commits

Author SHA1 Message Date
Kitware Robot 3a1af958ee CMake Nightly Date Stamp 2023-11-29 00:01:15 -05:00
Brad King 1d9fbd2ca9 Merge branch 'release-3.28' 2023-11-28 10:42:11 -05:00
Brad King 72cbcbd709 Merge branch 'release-3.27' 2023-11-28 10:42:02 -05:00
Brad King 01deb58098 Merge branch 'release-3.27' into release-3.28 2023-11-28 10:38:54 -05:00
Brad King c4f7eb3f0b CMake 3.27.9 v3.27.9 2023-11-28 09:52:37 -05:00
Brad King 1a357afcea Merge topic 'fix-install-jar-exports-warning'
c17268ff0b UseJava: Increase maximum policy version in exported files to 3.27
4567c8205a Help/dev: Update UseJava export policy version in post-release development

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9004
2023-11-28 09:47:02 -05:00
Brad King c40e242be3 Merge topic 'cpack-auto-suffixes'
53991e62da CPack/RPM: Append .rpm to CPACK_RPM_FILE_NAME if missing
f2a6d423da CPack/DEB: Append .deb to CPACK_DEBIAN_FILE_NAME if missing
907d4db558 Help: Format allowed CPACK_{DEB,RPM}_FILE_NAME values as definition list

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8880
2023-11-28 09:45:53 -05:00
Brad King 806c40a38f Merge topic 'tests-c99'
9ede6138b7 Tests: Improve C compatibility of LoadCommand tests

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9002
2023-11-28 09:44:49 -05:00
Kitware Robot 2d0b7798db CMake Nightly Date Stamp 2023-11-28 00:01:11 -05:00
Brad King 6490c10970 Merge branch 'release-3.28' 2023-11-27 14:31:38 -05:00
Brad King 7ff3fa001c Merge branch 'release-3.27' 2023-11-27 14:31:34 -05:00
Brad King 7a1fd8b0d2 Merge branch 'release-3.26' 2023-11-27 14:31:18 -05:00
Brad King 0ff8c20932 Merge branch 'release-3.27' into release-3.28 2023-11-27 14:30:53 -05:00
Brad King a4cfa9f017 Merge branch 'release-3.26' into release-3.27 2023-11-27 14:30:37 -05:00
Brad King ceb742a8fb CMake 3.26.6 v3.26.6 2023-11-27 13:48:12 -05:00
Alex Neundorf 53991e62da CPack/RPM: Append .rpm to CPACK_RPM_FILE_NAME if missing
Previously we issued an error when the `.rpm` suffix is missing.
Instead, append the suffix automatically.  This matches the behavior of
`CPACK_ARCHIVE_FILE_NAME`, to which the archive format suffix is
automatically appended.  With this change, developers can simply do

    set(CPACK_RPM_comp_FILE_NAME "${CPACK_ARCHIVE_comp_FILE_NAME}")
2023-11-27 10:26:37 -05:00
Alex Neundorf f2a6d423da CPack/DEB: Append .deb to CPACK_DEBIAN_FILE_NAME if missing
Previously we issued an error when the `.deb` or `.ipk` suffix
is missing. Instead, append the suffix `.deb` automatically.
This matches the behavior of `CPACK_ARCHIVE_FILE_NAME`, to
which the archive format suffix is automatically appended.
2023-11-27 10:25:43 -05:00
Brad King 907d4db558 Help: Format allowed CPACK_{DEB,RPM}_FILE_NAME values as definition list
This provides a structured location for notes about each value.
2023-11-27 10:22:12 -05:00
Gold856 c17268ff0b UseJava: Increase maximum policy version in exported files to 3.27
Extend commit c5f1af1ffe (export: Increase maximum policy version in
exported files to 3.27, 2023-10-03) to cover UseJava too.

Fixes: #22655
2023-11-27 09:39:55 -05:00
Gold856 4567c8205a Help/dev: Update UseJava export policy version in post-release development 2023-11-27 09:38:48 -05:00
Florian Weimer 9ede6138b7 Tests: Improve C compatibility of LoadCommand tests
The previous code used `char **` and `const char **`` types as if they
were the same.  But they are distinct types in C, so when passing
these pointers as function arguments, their types have to match.
Future C compilers will treat this as an error, similar to what
C++ compilers do today.
2023-11-27 08:53:40 -05:00
Brad King 5fbc24a31d Merge topic 'ctest-cleanup'
0432b921ae cmCTestMultiProcessHandler: Inline removal of pending test as it starts
b17c732e88 cmCTestMultiProcessHandler: Clarify role of StartTestProcess
0950acb337 cmCTestMultiProcessHandler: Manage concurrency slots with other resources
697900da29 cmCTestMultiProcessHandler: Manage affinity assignments with other resources

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8999
2023-11-27 08:44:12 -05:00
Brad King b52e30c37a Merge topic 'uv-write'
7ee5fb01c6 cmUVHandlePtr: Add uv_write wrapper to manage request lifetime
bec0dd93a3 cmUVHandlePtr: Add explicit uv_loop_ptr::operator*

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8997
2023-11-27 08:43:29 -05:00
Brad King 81e836e0fe Merge topic 'vs-ifx'
43d218d970 VS: Add support for using Intel oneAPI Fortran compiler in .vfproj files
5c77facd78 VS: Fix Intel plugin version detection fallback

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9001
2023-11-27 08:41:55 -05:00
Brad King 2978730a70 Merge topic 'move-deprecated-variables-to-dedicated-section'
3888ea2f24 Help: Move deprecated variables to dedicated section

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9000
2023-11-27 08:41:08 -05:00
Brad King 0617ea4ef2 Merge branch 'release-3.28' 2023-11-27 08:39:09 -05:00
Brad King cd39575220 Merge branch 'release-3.27' 2023-11-27 08:39:06 -05:00
Brad King ee66ca617d Merge branch 'release-3.27' into release-3.28 2023-11-27 08:38:49 -05:00
Brad King e332f7f666 Merge branch 'revert-exact-collation-depends-3.27' into release-3.27
Merge-request: !8996
2023-11-27 08:38:19 -05:00
Brad King 8d64f3b990 Merge branch 'release-3.28' 2023-11-27 08:36:46 -05:00
Brad King c2bd158712 Merge topic 'fortran-objects-as-sources-fix'
beb1393f8f Merge branch 'revert-exact-collation-depends-3.27' into fortran-objects-as-sources-fix
a033dce326 Makefiles: provide, but do not consume, "forward linked" target dirs
7cd0adab1b cmCommonTargetGenerator: use modules from linked object-referenced targets
1175f1c874 LinkItem: track `cmSourceFile` instances for external objects
d2fa56772f Ninja: support "forwarding" modules from other targets
ec1e589bec Ninja: Revert exact collation dependencies for 3.27
06df59b930 cmCommonTargetGenerator: return forward linked target dirs too
f8729ab366 cmLocalUnixMakefileGenerator3: handle object-referencing Fortran modules
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8989
2023-11-27 08:36:45 -05:00
Brad King 4b2960b1f3 Merge topic 'fortran-objects-as-sources-fix' into release-3.28
beb1393f8f Merge branch 'revert-exact-collation-depends-3.27' into fortran-objects-as-sources-fix
a033dce326 Makefiles: provide, but do not consume, "forward linked" target dirs
7cd0adab1b cmCommonTargetGenerator: use modules from linked object-referenced targets
1175f1c874 LinkItem: track `cmSourceFile` instances for external objects
d2fa56772f Ninja: support "forwarding" modules from other targets
ec1e589bec Ninja: Revert exact collation dependencies for 3.27
06df59b930 cmCommonTargetGenerator: return forward linked target dirs too
f8729ab366 cmLocalUnixMakefileGenerator3: handle object-referencing Fortran modules
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8989
2023-11-27 08:36:44 -05:00
Kitware Robot 89cfb90b9c CMake Nightly Date Stamp 2023-11-27 00:01:19 -05:00
Kitware Robot 61e3ea8dc9 CMake Nightly Date Stamp 2023-11-26 00:01:08 -05:00
Craig Scott 3ef533e8fd Merge topic 'doc-test-pass-fail-skip'
13465306cf Help: Clarify pass, fail and skip test properties and exit code

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8958
2023-11-25 19:51:27 -05:00
Kitware Robot 5234fcdbca CMake Nightly Date Stamp 2023-11-25 00:01:08 -05:00
scivision 13465306cf Help: Clarify pass, fail and skip test properties and exit code
The behavior when system-level failures occur was not previously defined.
Clarify the behavior and provide an example for how to work around them.
Affected test properties:

- PASS_REGULAR_EXPRESSION
- FAIL_REGULAR_EXPRESSION
- SKIP_REGULAR_EXPRESSION
- SKIP_RETURN_CODE

Also update the existing WILL_FAIL test property docs to using the same
consistent wording.
2023-11-24 16:41:03 +11:00
Kitware Robot dc03936add CMake Nightly Date Stamp 2023-11-24 00:01:08 -05:00
Ben Boeckel beb1393f8f Merge branch 'revert-exact-collation-depends-3.27' into fortran-objects-as-sources-fix
* revert-exact-collation-depends-3.27:
  Fortran: Revert exact collation dependencies for 3.27
2023-11-23 14:26:55 -05:00
Ben Boeckel a033dce326 Makefiles: provide, but do not consume, "forward linked" target dirs
Makefiles do not have a per-object sense of where they come from, so
forwarding any module information here would end up with incorrect
module file path construction by consuming targets. Leave a TODO item in
its place.
2023-11-23 14:26:31 -05:00
Ben Boeckel 7cd0adab1b cmCommonTargetGenerator: use modules from linked object-referenced targets
Fortran modules provided by objects added as linked items via
`$<TARGET_OBJECTS>` should also be considered as "linked targets" for
collation purposes. As C++ modules have their own visibility rules
through their `FILE_SET` feature, do not expose these for C++ module
collation.
2023-11-23 14:26:31 -05:00
Ben Boeckel 1175f1c874 LinkItem: track cmSourceFile instances for external objects
The target may be required in order to provide Fortran modules, so track
the source file so that the target may be looked up when needed.
2023-11-23 14:26:31 -05:00
Ben Boeckel d2fa56772f Ninja: support "forwarding" modules from other targets
When a target uses objects from another target which provides modules as
sources, the modules provided by the referenced target must also be
treated as if they were provided by the referencing target. Add the
concept of "forwarding" modules so that consumers can use modules
created by these sources as well.

Note that this is only sensible for Fortran where module usages are
implicit as far as CMake's visibility model is concerned. C++ modules
have their own concept of visibility which does not require or support
such `$<TARGET_OBJECTS>` reuse in this way.
2023-11-23 14:25:09 -05:00
Kitware Robot 20a70ab6ca CMake Nightly Date Stamp 2023-11-23 00:01:09 -05:00
Brad King 43d218d970 VS: Add support for using Intel oneAPI Fortran compiler in .vfproj files
Add a `fortran={ifort,ifx}` field to `CMAKE_GENERATOR_TOOLSET` to
specify which Intel Fortran compiler to use.

Fixes: #25427
2023-11-22 10:22:12 -05:00
Brad King 5c77facd78 VS: Fix Intel plugin version detection fallback
Do not read a value that was not parsed.
2023-11-22 09:53:26 -05:00
權少 3888ea2f24 Help: Move deprecated variables to dedicated section 2023-11-22 08:41:55 -05:00
Brad King 0432b921ae cmCTestMultiProcessHandler: Inline removal of pending test as it starts
Avoid searching the entire list of ordered pending tests to remove one
when we already know where it is.
2023-11-22 07:49:04 -05:00
Brad King b17c732e88 cmCTestMultiProcessHandler: Clarify role of StartTestProcess
Focus its role on actually running the test process.
Move administrative tasks to the call site.
2023-11-22 07:49:04 -05:00
Brad King 0950acb337 cmCTestMultiProcessHandler: Manage concurrency slots with other resources 2023-11-22 07:49:04 -05:00