Commit Graph

68615 Commits

Author SHA1 Message Date
Brad King
6a3db56d64 Merge topic 'lcc-updates-2025-01'
a438a0460a ArgumentParserTypes: implement a workaround for EDG 6 assertion failure
d3edb67134 Tests: disable some tests on Alt Linux due to rpm config
68d730bcff Tests: switch off some RunCMake tests for broken libc on e2k
488de6294a CPack: correctly perform querytags on old versions of RPM

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10174
2025-01-18 09:36:05 -05:00
Brad King
8a6d268f07 Merge topic 'patch-CMakePushCheckState'
8f2b7d2f53 CMakePushCheckState: Enhance documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10189
2025-01-18 09:34:14 -05:00
Kitware Robot
9dc0b22505 CMake Nightly Date Stamp 2025-01-18 00:06:09 -05:00
Peter Kokot
8f2b7d2f53 CMakePushCheckState: Enhance documentation
This describes module macros as a list separately, adds some formatting
with synced lowercase code style, and extends examples a bit.
Additionally, the CMAKE_REQUIRED_QUIET variable is listed.
2025-01-17 18:03:44 +01:00
Brad King
759b55991a Merge topic 'renumber-to-4.0'
bd176b430c Renumber post-3.31 development from 3.32 to 4.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10183
2025-01-17 08:56:31 -05:00
Brad King
e95fce2849 Merge topic 'LINK_WARNING_AS_ERROR-extend-capabilities'
b350f95ecf LINK_WARNING_AS_ERROR property: extend capabilities
216c469214 MSVC: Use dash-style flag for LINK_WARNING_AS_ERROR

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10133
2025-01-17 08:50:32 -05:00
Brad King
4096f4068b Merge topic 'update-kwsys'
889ebedf81 Merge branch 'upstream-KWSys' into update-kwsys
5224aabf05 KWSys 2025-01-16 (843e99e2)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10184
2025-01-17 08:43:46 -05:00
Brad King
cc0e71af71 Merge topic 'test-real-path-dash-b'
5f523333be SymlinkTrees: Test building in one directory when CWD is a symlink to it

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10180
2025-01-17 08:39:52 -05:00
Brad King
2405c8faf6 Merge branch 'release-3.31' 2025-01-17 08:27:12 -05:00
Brad King
8cc9c165b8 Merge branch 'release-3.30' 2025-01-17 08:27:04 -05:00
Brad King
98de8ec788 Merge branch 'release-3.30' into release-3.31 2025-01-17 08:26:51 -05:00
Brad King
9b16a7d46e Merge branch 'release-3.31' 2025-01-17 08:19:17 -05:00
Brad King
c234cc8e67 Merge topic 'FindMatlab-doc'
6e21dcc0ee FindMatlab: Fix multi-signature function documentation anchors

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10186
2025-01-17 08:19:17 -05:00
Brad King
4f5f83a928 Merge topic 'FindMatlab-doc' into release-3.31
6e21dcc0ee FindMatlab: Fix multi-signature function documentation anchors

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10186
2025-01-17 08:19:15 -05:00
Brad King
1501aed9fc Merge branch 'release-3.31' 2025-01-17 08:12:01 -05:00
Brad King
6c39558077 Merge topic 'test-ninja-1.13'
24f0848836 Tests: Update expected results for ninja post-1.12 development

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10182
2025-01-17 08:12:00 -05:00
Brad King
c28486c9a1 Merge topic 'test-ninja-1.13' into release-3.31
24f0848836 Tests: Update expected results for ninja post-1.12 development

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10182
2025-01-17 08:11:59 -05:00
Brad King
21109753dc Merge topic 'FindMatlab-doc' into release-3.30
6e21dcc0ee FindMatlab: Fix multi-signature function documentation anchors

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10186
2025-01-17 08:10:49 -05:00
Brad King
f02f3ae72d Merge topic 'test-ninja-1.13' into release-3.30
24f0848836 Tests: Update expected results for ninja post-1.12 development

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10182
2025-01-17 08:06:41 -05:00
Kitware Robot
26b15f8e4b CMake Nightly Date Stamp 2025-01-17 00:06:25 -05:00
makise-homura
a438a0460a ArgumentParserTypes: implement a workaround for EDG 6 assertion failure
While building CMake on EDG 603+-based compiler, such as LCC 1.27.x,
an internal assertion failure may be experienced with a message like
'assertion failed at: "il.c", line 15635 in i_copy_dynamic_init'.

This commit introduces a workaround that helps avoiding this.

Workaround is enabled only for LCC based on this EDG frontend,
it is not known if it is needed for any other compilers, since
there were none found based on EDG 603 and later and having this bug.
2025-01-17 07:37:24 +03:00
makise-homura
d3edb67134 Tests: disable some tests on Alt Linux due to rpm config
On Alt Linux, some tests that rely on debuginfo and/or rpm
config (using buildroot related binary `brp-alt`), can not succeed.
They produce errors like "package do not have URL as expected",
"source_package-buildroot: No such file or directory", and
"non-stripped binaries don't contain .debug sections".

These tests are disabled by this commit in case of `brp-alt` found.
2025-01-17 07:37:23 +03:00
makise-homura
68d730bcff Tests: switch off some RunCMake tests for broken libc on e2k
Some old OS Elbrus installations (e.g. 6.0.1) have libc that
tends to behave incorrectly in some rare cases. This prevents
some tests from being run correctly:
- RunCMake.Graphviz, test no_module_libs
- RunCMake.Syntax, test EscapeCharsDisallowed
These tests are now not run in case of such libc.
2025-01-17 07:37:23 +03:00
makise-homura
488de6294a CPack: correctly perform querytags on old versions of RPM
In some versions of RPM, e.g. 4.0.4, rpmbuild does not understand
--querytags parameter, but rpm does. Such behavior was found on
Alt Linux P10 and Alt Linux Sisyphus (e2k).
2025-01-17 07:37:22 +03:00
Marc Chevrier
b350f95ecf LINK_WARNING_AS_ERROR property: extend capabilities
Fixes: #26536
2025-01-16 22:35:00 +01:00
Brad King
6e21dcc0ee FindMatlab: Fix multi-signature function documentation anchors
Fix use of the `signature::` directive by commit ae558b9ad0 (FindMatlab:
Support REGISTRY_VIEW, 2024-02-08, v3.30.0-rc1~528^2).  The directive
was created for use inside `Help/command/*.rst` documents.  Using it
in module documentation requires explicit anchors.
2025-01-16 14:28:17 -05:00
Brad King
889ebedf81 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2025-01-16 (843e99e2)
2025-01-16 11:52:07 -05:00
KWSys Upstream
5224aabf05 KWSys 2025-01-16 (843e99e2)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 843e99e207b9564f4fa054b0fa65e9db4375b3b2 (master).

Upstream Shortlog
-----------------

Nick Begg (1):
      2926bae9 SystemTools: Fix CloneFileContent copy-on-write on macOS / APFS
2025-01-16 11:52:07 -05:00
Brad King
216c469214 MSVC: Use dash-style flag for LINK_WARNING_AS_ERROR
MS tooling accepts either `/` or `-`.  We prefer the latter because it
interacts better with MSYS shells.  Update the table entry from commit
7907c83175 (Link step: Add LINK_WARNING_AS_ERROR target property,
2024-11-06).
2025-01-16 09:42:41 -05:00
Brad King
bd176b430c Renumber post-3.31 development from 3.32 to 4.0
Issue: #26613
2025-01-16 09:18:21 -05:00
Brad King
1d5c1b0023 Merge topic 'policy-cleanup'
b010a1fb1d Help: Update try_compile list of automatic policies
5e9b40b6a5 Help: Update cmake-buildsystem(7) TARGET_POLICY example to a newer policy
9ffbc0e628 Tests/RunCMake/cmake_minimum_required: Generalize deprecated version case name
0eca249ac7 Tests/RunCMake: Update more cmake_minimum_required versions to 3.10
a8cf033a74 Tests/RunCMake/return: Use newer cmake_minimum_required VERSION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10178
2025-01-16 09:01:48 -05:00
Brad King
26198a491f Merge topic 'ci-nvhpc24.9'
2481de0353 ci: Record expected C and CXX language standard support for NVHPC
569221f40f ci: Update NVHPC to version 24.9

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10177
2025-01-16 09:00:26 -05:00
Brad King
e87c6c6259 Merge topic 'execute-process-error'
3ece058d97 execute_process: Allow setting default COMMAND_ERROR_IS_FATAL value
85035dd954 Help/command/execute_process: Fix definition list formatting

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10169
2025-01-16 08:59:00 -05:00
Brad King
8018f2a6c4 Merge topic 'instrumentation'
097d4fd1b5 instrumentation: Collect and record project build system metrics
8a3c195188 Tests/RunCMake: Add RunCMake_CHECK_ONLY Option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Alex <leha-bot@yandex.ru>
Merge-request: !9791
2025-01-16 08:55:25 -05:00
Brad King
7ea82512ca Merge topic 'patch-GenerateExportHeader'
319dd29ef0 GenerateExportHeader: Use lowercase command names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10176
2025-01-16 08:52:33 -05:00
Brad King
9e6e9bd704 Merge topic 'improve-doc-verifymanifest'
470c4bcba1 CMakeVerifyManifest: Improve documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10175
2025-01-16 08:50:00 -05:00
Brad King
6cfbb20caa Merge topic 'libuv-cygwin'
93ee29964a libuv: Explicitly enable GNU APIs on Cygwin

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10179
2025-01-16 08:45:31 -05:00
Brad King
a41b1d66cd Merge topic 'test-mingw-no-vs'
a62313b1dd Tests: Fix testing with MinGW without VS installed
a02b70a23f Tests: Forward tested CMake generator to more cases

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10170
2025-01-16 08:42:55 -05:00
Brad King
24f0848836 Tests: Update expected results for ninja post-1.12 development
Account for changes to upstream ninja:

* commit `5d93f2da28` (Add exit code to the failed target, 2024-12-03)
* commit `311bf93416` (Propagate jobs' exit codes to the ninja's exit code,
                       2024-12-03)
2025-01-16 08:14:25 -05:00
Kitware Robot
03adee095f CMake Nightly Date Stamp 2025-01-16 00:07:35 -05:00
Martin Duffy
5f523333be SymlinkTrees: Test building in one directory when CWD is a symlink to it
Add a test verifying that the project build tree specified with -B is not
converted to symlinked path when configured from a symlink to the provided build
tree.
2025-01-15 16:15:27 -05:00
Brad King
93ee29964a libuv: Explicitly enable GNU APIs on Cygwin
Backport upstream libuv commit `17ea56ee73` build: Improve build by
cmake for Cygwin, 2023-01-20, v1.45.0~68) to define `_GNU_SOURCE`.
2025-01-15 15:20:15 -05:00
Brad King
2481de0353 ci: Record expected C and CXX language standard support for NVHPC
Extend commit 31acc90abe (ci: Record expected C and CXX language
standard support, 2024-04-02, v3.30.0-rc1~279^2) to cover the NVHPC job.
2025-01-15 13:49:23 -05:00
Brad King
569221f40f ci: Update NVHPC to version 24.9
Fixes: #24187
2025-01-15 13:49:18 -05:00
Brad King
b010a1fb1d Help: Update try_compile list of automatic policies 2025-01-15 11:21:21 -05:00
Brad King
5e9b40b6a5 Help: Update cmake-buildsystem(7) TARGET_POLICY example to a newer policy 2025-01-15 11:21:21 -05:00
Brad King
9ffbc0e628 Tests/RunCMake/cmake_minimum_required: Generalize deprecated version case name 2025-01-15 11:21:21 -05:00
Brad King
0eca249ac7 Tests/RunCMake: Update more cmake_minimum_required versions to 3.10
These were missed in commit f4aa34daa7 (Tests/RunCMake: Update
cmake_minimum_required versions to 3.10, 2024-10-02,
v3.31.0-rc1~23^2~2).
2025-01-15 11:21:21 -05:00
Brad King
a8cf033a74 Tests/RunCMake/return: Use newer cmake_minimum_required VERSION 2025-01-15 11:21:20 -05:00
Martin Duffy
3ece058d97 execute_process: Allow setting default COMMAND_ERROR_IS_FATAL value
Issue: #26576
2025-01-15 11:12:34 -05:00