Commit Graph

71137 Commits

Author SHA1 Message Date
Daniel Pfeifer
2aa2c9af97 ctest: Don't modify build and site names
CTest currently removes non-filename characters from CTEST_SITE and
CTEST_BUILDNAME in an inconsistent way, which leads to unconnected
information on CDash.  Non-filename characters actually don't cause
any issue in CDash at all, nor are they invalid XML.  The only place
where removing them may be needed is when an actual filename is
constructed.

Remove the filtering from the SafeBuildIdField function and place
it where a filename is constructed.
2025-06-28 11:39:42 +02:00
Kitware Robot
d80b5a9ac2 CMake Nightly Date Stamp 2025-06-28 00:04:31 -04:00
Brad King
712294c991 Merge topic 'ci-intel-compiler'
608d88380d ci: add job testing Intel oneAPI 2025.2.0 compilers on Linux

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10910
2025-06-27 06:07:41 -04:00
Kitware Robot
659919a30c CMake Nightly Date Stamp 2025-06-27 00:04:45 -04:00
Brad King
608d88380d ci: add job testing Intel oneAPI 2025.2.0 compilers on Linux
There is no corresponding Intel classic C/C++ compiler version.
2025-06-26 11:13:47 -04:00
Brad King
0834918e0b Merge branch 'release-4.1' 2025-06-26 09:22:40 -04:00
Brad King
3dda94c74c Merge branch 'release-4.0' 2025-06-26 09:22:34 -04:00
Brad King
d6b06204f5 Merge branch 'release-4.0' into release-4.1 2025-06-26 09:22:23 -04:00
Brad King
55fe0c1deb Merge branch 'release-4.1' 2025-06-26 09:21:41 -04:00
Brad King
88dadba6cb Merge topic 'vs-outdated-usage'
bd31652e1b VS: Drop outdated usage text about appending platform to generator name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10905
2025-06-26 09:21:41 -04:00
Brad King
c6033e7b64 Merge topic 'vs-outdated-usage' into release-4.1
bd31652e1b VS: Drop outdated usage text about appending platform to generator name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10905
2025-06-26 09:21:39 -04:00
Brad King
3faa92ec71 Merge topic 'doc_undefined_mods'
46279eff38 Help: Document cases of variables modification having undefined behavior

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10903
2025-06-26 09:09:38 -04:00
Brad King
3ae807ffbb Merge topic 'pre-commit-version-bump-typos-hook'
15d558016c pre-commit: change the repo and version bump `typos` hook

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10904
2025-06-26 09:08:07 -04:00
Brad King
6d30bda5b9 Merge topic 'more-cps-metadata'
755a24ccae CPS: Add export support for [default_]license
fba540daf6 project: Add SPDX_LICENSE argument
f0b419c473 Help: Tweak project DESCRIPTION documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10894
2025-06-26 09:05:52 -04:00
Kitware Robot
dcafc85f1d CMake Nightly Date Stamp 2025-06-26 00:05:05 -04:00
Brad King
1a27551a46 Merge topic 'vs-outdated-usage' into release-4.0
bd31652e1b VS: Drop outdated usage text about appending platform to generator name

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10905
2025-06-25 09:17:39 -04:00
Kitware Robot
08e4775016 CMake Nightly Date Stamp 2025-06-25 00:05:13 -04:00
Brad King
bd31652e1b VS: Drop outdated usage text about appending platform to generator name
This was missed by commit 381c446ff7 (VS: Remove support for appending a
platform to the generator name, 2024-12-13, v4.0.0-rc1~156^2).

Issue: #26481
2025-06-24 14:23:58 -04:00
Brad King
171d894996 Merge branch 'release-4.1' 2025-06-24 13:58:39 -04:00
Brad King
7e0e2e6aa2 CMake 4.1.0-rc1 v4.1.0-rc1 2025-06-24 13:23:35 -04:00
Alex Turbov
15d558016c pre-commit: change the repo and version bump typos hook 2025-06-24 20:40:11 +04:00
Dan Raviv
46279eff38 Help: Document cases of variables modification having undefined behavior 2025-06-24 08:47:41 -07:00
Brad King
77eedda812 Merge topic 'commit.gpgsign'
db7c04dfb2 Test(git): set commit.gpgsign to false

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10900
2025-06-24 10:47:14 -04:00
Brad King
fa774d734d Merge branch 'release-4.1' 2025-06-24 10:45:34 -04:00
Brad King
1a3dd3ae5b Merge topic 'llvm-binutils'
621d21c827 BinUtils: pick LLVM variants for LLVMFlang and IntelLLVM as well

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10899
2025-06-24 10:45:33 -04:00
Brad King
e9ca1d149e Merge topic 'llvm-binutils' into release-4.1
621d21c827 BinUtils: pick LLVM variants for LLVMFlang and IntelLLVM as well

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10899
2025-06-24 10:45:32 -04:00
Brad King
4e562f7c0d Merge branch 'release-4.1' 2025-06-24 10:43:38 -04:00
Brad King
aadb7b218e Merge branch 'release-4.0' 2025-06-24 10:43:32 -04:00
Brad King
c4415b6b18 Merge branch 'release-4.0' into release-4.1 2025-06-24 10:43:24 -04:00
Brad King
74e86e5f17 Merge branch 'release-4.1' 2025-06-24 10:42:36 -04:00
Brad King
be6c582ef6 Merge topic 'normalize-toolchain-file'
c393300e2b cmake: Restore acceptance of -DCMAKE_TOOLCHAIN_FILE=//... on non-Windows
cf0f46ed85 Tests/RunCMake/CommandLine: Simplify --toolchain cases

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10901
2025-06-24 10:42:36 -04:00
Brad King
9c3ce7852f Merge topic 'normalize-toolchain-file' into release-4.1
c393300e2b cmake: Restore acceptance of -DCMAKE_TOOLCHAIN_FILE=//... on non-Windows
cf0f46ed85 Tests/RunCMake/CommandLine: Simplify --toolchain cases

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10901
2025-06-24 10:42:34 -04:00
Brad King
872d808ed4 Merge topic 'normalize-toolchain-file' into release-4.0
c393300e2b cmake: Restore acceptance of -DCMAKE_TOOLCHAIN_FILE=//... on non-Windows
cf0f46ed85 Tests/RunCMake/CommandLine: Simplify --toolchain cases

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10901
2025-06-24 10:41:01 -04:00
Kitware Robot
0784278739 CMake Nightly Date Stamp 2025-06-24 00:04:39 -04:00
Brad King
c393300e2b cmake: Restore acceptance of -DCMAKE_TOOLCHAIN_FILE=//... on non-Windows
POSIX specifies that two leading slashes have implementation-defined
interpretation, so CMake 3.31 and below did not normalize away leading
double slashes.  However, most implementations simply treat a leading
`//` as just `/`, so CMake 4.0 now normalizes them away when they do not
correspond to a network path on Windows.

This change exposed that we were not normalizing `CMAKE_TOOLCHAIN_FILE`
before passing its value to `include()` the first time if it was not
passed with the `FILEPATH` or `PATH` cache entry type.  Fix that.

Fixes: #27010
2025-06-23 10:37:59 -04:00
Brad King
cf0f46ed85 Tests/RunCMake/CommandLine: Simplify --toolchain cases 2025-06-23 10:23:11 -04:00
Eisuke Kawashima
621d21c827 BinUtils: pick LLVM variants for LLVMFlang and IntelLLVM as well
Fixes: #26196
2025-06-23 09:39:54 -04:00
Brad King
ef28128d4b Merge topic 'cps-read-default-license'
1d4fb4afa9 find_package: Respect CPS default_license

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10897
2025-06-23 09:37:30 -04:00
Brad King
114dae7389 Merge branch 'release-4.1' 2025-06-23 09:36:38 -04:00
Brad King
6a0c2f0050 Merge topic 'fix-typo-found-by-sphinx-lint'
45b374234a Help: fix typo found by the `sphinx-lint` plugin of `pre-commit`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10896
2025-06-23 09:36:37 -04:00
Brad King
c8cc5637b2 Merge topic 'fix-typo-found-by-sphinx-lint' into release-4.1
45b374234a Help: fix typo found by the `sphinx-lint` plugin of `pre-commit`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10896
2025-06-23 09:36:36 -04:00
Brad King
2a4a33ee7a Merge topic 'spdx-serializer'
be4a942d7f SBOM(SPDX): Implement graph components and serializer

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Mathieu Westphal (Kitware) <mathieu.westphal@kitware.com>
Merge-request: !10892
2025-06-23 09:35:40 -04:00
Kitware Robot
0710a99c95 CMake Nightly Date Stamp 2025-06-23 00:04:33 -04:00
Kitware Robot
2cca429fa0 CMake Nightly Date Stamp 2025-06-22 00:06:15 -04:00
Eisuke Kawashima
db7c04dfb2 Test(git): set commit.gpgsign to false
If a user has run `git config --global commit.gpgsign true`,
git-related tests fail since the test users do not exist and gpg cannot
sign.
2025-06-22 01:45:19 +09:00
Kitware Robot
076c4d01ae CMake Nightly Date Stamp 2025-06-21 00:04:16 -04:00
Alex Turbov
45b374234a Help: fix typo found by the sphinx-lint plugin of pre-commit 2025-06-20 14:26:39 -04:00
Matthew Woehlke
755a24ccae CPS: Add export support for [default_]license
Add `LICENSE` and `DEFAULT_LICENSE` arguments to the `PACKAGE_INFO`
modes of the `install` and `export` commands. If not otherwise
specified, the `LICENSE` will be taken from the project's
`SPDX_LICENSE`, if available.
2025-06-20 14:01:25 -04:00
Matthew Woehlke
fba540daf6 project: Add SPDX_LICENSE argument
Add an argument to the `project` command to allow specifying a license
for a project as a whole. This is in addition to specifying licenses on
individual targets, and will be used to set the license(s) on exported
packages.

Also, move listing of `COMPAT_VERSION` variables to follow
lexicographical order.
2025-06-20 14:01:25 -04:00
Matthew Woehlke
f0b419c473 Help: Tweak project DESCRIPTION documentation
Replace the 'project-description-string' descriptor in the `project`,
`export` and `install` commands with 'description-string'. This is more
consistent, as none of the other descriptors include 'project-', and
it's arguably wrong in the context of `export`/`install`, as the
description applies to a package.
2025-06-20 14:01:25 -04:00