Commit Graph

71152 Commits

Author SHA1 Message Date
Brad King 33df7600df Merge branch 'release-4.0' 2025-07-01 11:10:13 -04:00
Brad King 133c400429 Merge branch 'release-4.1' 2025-07-01 11:04:04 -04:00
Brad King 363cb28cfe Merge topic 'ctest-fix-relative-paths'
f98732bea8 ctest_configure: Restore handling of relative CTEST_BINARY_DIRECTORY
5a1d5fd9be ctest_start: Restore log file location for relative CTEST_BINARY_DIRECTORY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10912
2025-07-01 11:04:04 -04:00
Brad King 47901f3c53 Merge topic 'ctest-fix-relative-paths' into release-4.1
f98732bea8 ctest_configure: Restore handling of relative CTEST_BINARY_DIRECTORY
5a1d5fd9be ctest_start: Restore log file location for relative CTEST_BINARY_DIRECTORY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10912
2025-07-01 11:04:02 -04:00
Brad King 84cdf061e5 Merge topic 'ctest-fix-relative-paths' into release-4.0
f98732bea8 ctest_configure: Restore handling of relative CTEST_BINARY_DIRECTORY
5a1d5fd9be ctest_start: Restore log file location for relative CTEST_BINARY_DIRECTORY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10912
2025-07-01 10:57:56 -04:00
Kitware Robot 5a4b4ea877 CMake Nightly Date Stamp 2025-07-01 00:04:29 -04:00
Daniel Pfeifer f98732bea8 ctest_configure: Restore handling of relative CTEST_BINARY_DIRECTORY
In commit e52eada2c2 (cmCTestConfigureCommand: Refactor command line
construction, 2025-01-28, v4.0.0-rc1~60^2~2) we switched from the
`BuildDirectory` setting, which was always an absolute path, to
`CTEST_BINARY_DIRECTORY`.  Convert it to an absolute path too.

Fixes: #27026
2025-06-30 11:06:14 -04:00
Daniel Pfeifer 5a1d5fd9be ctest_start: Restore log file location for relative CTEST_BINARY_DIRECTORY
Extend commit 3c321b6571 (cmCTestStartCommand: Inline
InitializeFromCommand function, 2024-10-17, v4.0.0-rc1~605^2~6) to
initialize BinaryDir as an absolute path.

Issue: #27026
2025-06-30 11:03:53 -04:00
Brad King 8543a0b003 Merge topic 'vs14-deprecate'
b10daadd08 Deprecate Visual Studio 14 2015 generator

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10909
2025-06-30 08:54:59 -04:00
Brad King 820714de97 Merge branch 'release-4.1' 2025-06-30 08:53:31 -04:00
Brad King a0f6144281 Merge topic 'linux32-time64'
1b9e8f833f Linux: Compile with 64-bit time_t even on 32-bit architectures

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10908
2025-06-30 08:53:31 -04:00
Brad King ff28c64fdf Merge topic 'linux32-time64' into release-4.1
1b9e8f833f Linux: Compile with 64-bit time_t even on 32-bit architectures

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10908
2025-06-30 08:53:27 -04:00
Kitware Robot 2dd12e7b3d CMake Nightly Date Stamp 2025-06-30 00:04:48 -04:00
Kitware Robot 5e750d4207 CMake Nightly Date Stamp 2025-06-29 00:04:38 -04: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 b10daadd08 Deprecate Visual Studio 14 2015 generator
Update documentation to mark the generator deprecated.  Add a warning at
the end of generation plus an option to turn off the warning.
2025-06-26 09:27:24 -04:00
Brad King 1b9e8f833f Linux: Compile with 64-bit time_t even on 32-bit architectures
Extend commit 5b10f96793 (Linux: Compile with _FILE_OFFSET_BITS=64 on
32-bit Linux, 2020-09-23, v3.19.0-rc1~112^2) to cover `time_t` too,
by compiling with `_TIME_BITS=64`.
2025-06-26 09:23:33 -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