Commit Graph

67574 Commits

Author SHA1 Message Date
Brad King
89b1997d38 Merge topic 'python3.14'
be958c8f35 FindPython: Add support for Python 3.14

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9915
2024-10-18 07:36:53 -04:00
Brad King
b1c552e9b6 Merge branch 'release-3.31' 2024-10-18 07:35:59 -04:00
Brad King
eb00926123 Merge topic 'test-cuda-simplify-kernels'
ee9e2216ec Tests: Simplify CUDA kernels avoid crash with nvidia driver 550

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9913
2024-10-18 07:35:59 -04:00
Brad King
e45dc7b827 Merge topic 'test-cuda-simplify-kernels' into release-3.31
ee9e2216ec Tests: Simplify CUDA kernels avoid crash with nvidia driver 550

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9913
2024-10-18 07:35:57 -04:00
Kitware Robot
647ac61ad3 CMake Nightly Date Stamp 2024-10-18 00:01:23 -04:00
Robert Maynard
ee9e2216ec Tests: Simplify CUDA kernels avoid crash with nvidia driver 550
Avoid having two identical kernels in PTX.  We don't need a second
kernel anyway.
2024-10-17 20:18:24 -04:00
Miro Hrončok
be958c8f35 FindPython: Add support for Python 3.14 2024-10-17 20:04:25 -04:00
Brad King
fa61269d8e Merge branch 'release-3.31' 2024-10-17 09:44:41 -04:00
Brad King
773eff6d8e CMake 3.31.0-rc2 v3.31.0-rc2 2024-10-17 09:01:08 -04:00
Brad King
74158fe503 Merge topic 'ctest-build-and-test'
79428efce0 cmCTestBuildAndTest: Adopt RunTest method
c7d11a77e4 ctest: Remove outdated optimization of tests running ctest itself
b2b7c4cc28 cmCTest: Remove unused functionality from RunTest method
38ad939383 cmCTest: Fix clang-tidy performance-unnecessary-copy-initialization diagnostic

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9907
2024-10-17 08:28:17 -04:00
Brad King
7fc70baf0f Merge branch 'release-3.31' 2024-10-17 08:26:54 -04:00
Brad King
eda01440bd Merge topic 'revert-link-dedup-imported-targets'
262c277197 Revert "Ensure imported targets in sibling dirs are deduplicated"
645b57b8cd Tests/RunCMake/CMP0156: Match expected results more precisely

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9909
2024-10-17 08:26:53 -04:00
Brad King
67aef2b2c5 Merge topic 'revert-link-dedup-imported-targets' into release-3.31
262c277197 Revert "Ensure imported targets in sibling dirs are deduplicated"
645b57b8cd Tests/RunCMake/CMP0156: Match expected results more precisely

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9909
2024-10-17 08:26:52 -04:00
Brad King
ddfbb7aa36 Merge branch 'release-3.31' 2024-10-17 08:25:30 -04:00
Brad King
7c22085fad Merge topic 'ios-mac-catalyst'
b49b03a62e Xcode: Use ad-hoc signing during compiler id for iOS Mac Catalyst

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9908
2024-10-17 08:25:30 -04:00
Brad King
fb1a327044 Merge topic 'ios-mac-catalyst' into release-3.31
b49b03a62e Xcode: Use ad-hoc signing during compiler id for iOS Mac Catalyst

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9908
2024-10-17 08:25:29 -04:00
Brad King
9a3cc65d9a Merge topic 'ci-intel-compiler'
43daf2ba7c gitlab-ci: add job testing Intel oneAPI 2024.2.0 compilers on Linux

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9906
2024-10-17 08:24:35 -04:00
Kitware Robot
f11e5dc4d0 CMake Nightly Date Stamp 2024-10-17 00:01:19 -04:00
Brad King
262c277197 Revert "Ensure imported targets in sibling dirs are deduplicated"
Revert commit 502610733f (Ensure imported targets in sibling dirs are
deduplicated, 2024-09-15, v3.31.0-rc1~92^2).  Also revert the change
from a copy of the logic made by commit cd418d4bb6 (Static libraries
de-duplication: keep first occurrence, 2024-09-29, v3.31.0-rc1~30^2).
The logic was de-duplicating based on the target name rather than based
on the library file path.

Fixes: #26371
Issue: #26284
2024-10-16 16:49:27 -04:00
Brad King
645b57b8cd Tests/RunCMake/CMP0156: Match expected results more precisely 2024-10-16 16:49:27 -04:00
Brad King
b49b03a62e Xcode: Use ad-hoc signing during compiler id for iOS Mac Catalyst
In commit 2785364b7b (iOS: Add support for Mac Catalyst, 2024-07-02,
v3.31.0-rc1~371^2) we forgot to update the conditions to use ad-hoc
signing from commit 89e1113e0c (Xcode: Use ad-hoc signing during
compiler id on macOS, 2022-06-10, v3.22.6~4^2~2).

Fixes: #26376
2024-10-16 15:04:56 -04:00
Brad King
79428efce0 cmCTestBuildAndTest: Adopt RunTest method
The method is now specific to this class.
2024-10-16 14:14:04 -04:00
Brad King
c7d11a77e4 ctest: Remove outdated optimization of tests running ctest itself
In commit 2c2291bbe0 (ENH: add new feature to ctest so that it can
cmake, build and run a test executable, 2004-01-07, v2.4.0~3483) ctest
was taught to recognize tests that run ctest itself and run them
internally instead of spawning a new process.  This optimization was
removed by commit b9daa192af (ENH: Refactored CTest test execution code
into an object, 2009-08-19, v2.8.0~276) `cmCTestRunTest` replaced
`cmCTestTestHandler::ProcessOneTest`, which was eventually removed by
commit 5a5cc52230 (Fixed conversion warning on 64 bit machines,
2009-08-31, v2.8.0~241).  Since then the optimization was only left in
`--build-and-test` mode, likely by accident, where it makes little
difference.  Remove it to simplify the code.

Also drop the `--force-new-ctest-process` option, originally added by
commit 9255e40d81 (ENH: Add a way to force ctest to be a new process,
2004-05-10, v2.4.0~3101), since it no longer does anything.
2024-10-16 14:13:46 -04:00
Brad King
b2b7c4cc28 cmCTest: Remove unused functionality from RunTest method
`cmCTest::RunTest` has been used only for `--build-and-test` mode since
commit b9daa192af (ENH: Refactored CTest test execution code into an
object, 2009-08-19, v2.8.0~276).  Drop code needed only by its old role
of running tests.
2024-10-16 14:13:23 -04:00
Brad King
38ad939383 cmCTest: Fix clang-tidy performance-unnecessary-copy-initialization diagnostic 2024-10-16 14:12:58 -04:00
Brad King
43daf2ba7c gitlab-ci: add job testing Intel oneAPI 2024.2.0 compilers on Linux
There is no corresponding Intel classic C/C++ compiler version.
2024-10-16 09:32:43 -04:00
Brad King
ee2eadb252 Merge topic 'ctest-build-and-test'
3d2882290b ctest: Split --build-and-test implementation from handler infrastructure
270ab612b9 cmCTestBuildAndTestHandler: Simplify RunCMakeAndTest signature

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9903
2024-10-16 09:05:03 -04:00
Brad King
323fb2a662 Merge topic 'unity-relative-paths'
84996a65aa Unity: Add option to use relative paths for unity files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9874
2024-10-16 09:03:30 -04:00
Kitware Robot
9b8c5f4b6b CMake Nightly Date Stamp 2024-10-16 00:01:27 -04:00
Brad King
aeaeb83f43 Merge branch 'release-3.31' 2024-10-15 13:57:28 -04:00
Brad King
36f6fa8737 Merge topic 'doc-rel-3.31'
315a8f88cc Help: Add 3.31 release note for file(MAKE_DIRECTORY)'s RESULT option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9904
2024-10-15 13:57:27 -04:00
Brad King
98ccd8800a Merge topic 'doc-rel-3.31' into release-3.31
315a8f88cc Help: Add 3.31 release note for file(MAKE_DIRECTORY)'s RESULT option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9904
2024-10-15 13:57:26 -04:00
Brad King
6bc88448ac Merge branch 'release-3.31' 2024-10-15 13:55:45 -04:00
Brad King
f693d77ad4 Merge branch 'release-3.30' 2024-10-15 13:55:43 -04:00
Brad King
0d38588702 Merge branch 'release-3.29' 2024-10-15 13:55:41 -04:00
Brad King
2667406298 Merge branch 'release-3.30' into release-3.31 2024-10-15 13:55:34 -04:00
Brad King
1238adc3d0 Merge branch 'release-3.31' 2024-10-15 13:54:55 -04:00
Brad King
0eb871b856 Merge topic 'doc-rel-3.29'
0e81c12483 Help: Add 3.29 release note for try_compile LINKER_LANGUAGE option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9905
2024-10-15 13:54:55 -04:00
Brad King
c7e27f02e8 Merge topic 'doc-rel-3.29' into release-3.31
0e81c12483 Help: Add 3.29 release note for try_compile LINKER_LANGUAGE option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9905
2024-10-15 13:54:54 -04:00
Brad King
a56b554775 Merge branch 'release-3.29' into release-3.30 2024-10-15 13:34:23 -04:00
Brad King
e3ebf4f5c0 Merge topic 'doc-rel-3.29' into release-3.30
0e81c12483 Help: Add 3.29 release note for try_compile LINKER_LANGUAGE option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9905
2024-10-15 13:34:08 -04:00
Brad King
cb981c3b00 Merge topic 'doc-rel-3.29' into release-3.29
0e81c12483 Help: Add 3.29 release note for try_compile LINKER_LANGUAGE option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9905
2024-10-15 13:33:47 -04:00
Brad King
0e81c12483 Help: Add 3.29 release note for try_compile LINKER_LANGUAGE option
In commit 0f37000304 (try_{compile,run}: add LINKER_LANGUAGE option,
2023-10-12, v3.29.0-rc1~567^2) a release note was accidentally added in
the wrong directory and so was not included in the 3.29 release notes.
2024-10-15 13:30:04 -04:00
Peter Kokot
315a8f88cc Help: Add 3.31 release note for file(MAKE_DIRECTORY)'s RESULT option
In commit 95323c90a1 (file(MAKE_DIRECTORY): Add optional RESULT keyword
to capture failure., 2024-06-16, v3.31.0-rc1~414^2) the release note was
added in the wrong directory so it was not gathered for the 3.31 release.

Fixes: #26377
2024-10-15 13:27:30 -04:00
James Moore
84996a65aa Unity: Add option to use relative paths for unity files
Add a target property that will be read on unity file generation to
attempt to use a relative path to the source file from the CMake Source
Directory or the generated unity file. Additionally add the CMake
Source Directory and the CMake Binary directory to the include path of
the generated unity files.

Closes: #26352
2024-10-15 09:44:18 -07:00
Brad King
3d2882290b ctest: Split --build-and-test implementation from handler infrastructure
It does not follow the pattern of the dashboard-mode step handlers.
2024-10-15 11:59:51 -04:00
Brad King
270ab612b9 cmCTestBuildAndTestHandler: Simplify RunCMakeAndTest signature
Since commit 1a165dc60d (ENH: Move the build-and-test code to a handler,
2005-06-03, v2.4.0~1632), factored RunCMakeAndTest out of cmCTest, its
argument has been unnecessary.  In commit e60e4dfc88
(cmWorkingDirectory: Check success of current dir changes, 2018-03-04,
v3.12.0-rc1~395^2~1) unnecessary branching was added based on the
argument.  Remove both the argument and branching.
2024-10-15 11:47:34 -04:00
Brad King
f521d20cb4 Merge topic 'ctest-command-line'
c0c4d48ba2 cmCTest: Use cmCommandLineArgument command-line parsing infrastructure
67dc003467 cmCTest: Add missing const
9b09c3733a cmCTestBuildAndTestHandler: Simplify constructor
30ece11e66 cmCommandLineArgument: Do not treat negative numbers as flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9901
2024-10-15 10:42:30 -04:00
Brad King
3bd8ac5b77 Merge branch 'release-3.31' 2024-10-15 10:31:02 -04:00
Brad King
027dc94922 Merge topic 'vs-fortran-ipo'
a36df0220f VS: Honor INTERPROCEDURAL_OPTIMIZATION for Fortran targets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9899
2024-10-15 10:31:01 -04:00