summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'RH-gcc-toolset-10-bug-check'Brad King2023-12-051-0/+28
|\ | | | | | | | | | | | | | | 40af103402 cmCMakePath: do not use std::filesystem::path with RH gcc-toolset-10 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9026
| * cmCMakePath: do not use std::filesystem::path with RH gcc-toolset-10Marc Chevrier2023-12-041-0/+28
| | | | | | | | Fixes: #25458, #25453
* | Merge topic 'fix-doc-add_library-INTERFACE-EXCLUDE_FROM_ALL'Brad King2023-12-051-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 7fc6d7247a Help: Fix signature of add_library(<name> INTERFACE EXCLUDE_FROM_ALL) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9031
| * | Help: Fix signature of add_library(<name> INTERFACE EXCLUDE_FROM_ALL)namniav2023-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This signature was added by commit 4391913133 (Add INTERFACE libraries to generated buildsystem if they have SOURCES, 2020-07-20, v3.19.0-rc1~346^2~1) with incorrect documentation. Previously the documented signature as: add_library(<name> INTERFACE [<source>...] [EXCLUDE_FROM_ALL]) which is incorrect. CMake would recognize `EXCLUDE_FROM_ALL` as a source file and report an error that it doesn't exists. The correct signature is: add_library(<name> INTERFACE [EXCLUDE_FROM_ALL] [<source>...]) which places `EXCLUDE_FROM_ALL` in the same position used by the documentation of other signatures. Fixes: #25463
* | | Merge branch 'release-3.28'Brad King2023-12-050-0/+0
|\ \ \
| * \ \ Merge topic 'cxxmodules-pch' into release-3.28Brad King2023-12-056-8/+34
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 40dc13b242 cmNinjaTargetGenerator: PCH files do not need dyndep f61c64cd1c cmLocalGenerator: prevent scanning of PCH source files ea8c37b759 Tests/CXXModules: add a test which scans a PCH-using source Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9032
* | \ \ \ Merge topic 'cxxmodules-pch'Brad King2023-12-056-8/+34
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 40dc13b242 cmNinjaTargetGenerator: PCH files do not need dyndep f61c64cd1c cmLocalGenerator: prevent scanning of PCH source files ea8c37b759 Tests/CXXModules: add a test which scans a PCH-using source Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9032
| * | | | cmNinjaTargetGenerator: PCH files do not need dyndepBen Boeckel2023-12-041-8/+7
| | | | | | | | | | | | | | | | | | | | Fixes: #24209
| * | | | cmLocalGenerator: prevent scanning of PCH source filesBen Boeckel2023-12-041-0/+3
| | | | |
| * | | | Tests/CXXModules: add a test which scans a PCH-using sourceBen Boeckel2023-12-044-0/+24
| | | | | | | | | | | | | | | | | | | | This tests that PCH usage works with scanning logic.
* | | | | Merge branch 'release-3.28'Brad King2023-12-050-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'cmFileCopier-error-loss' into release-3.28Brad King2023-12-057-59/+77
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a820877d03 errors: avoid constructing a stream before getting the last error 5cf7018af6 cmFileCopier: remember error statuses and get their strings 0639a32d3a cmFileTimes: return status codes from APIs Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9023
* | \ \ \ \ Merge topic 'cmFileCopier-error-loss'Brad King2023-12-057-59/+77
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a820877d03 errors: avoid constructing a stream before getting the last error 5cf7018af6 cmFileCopier: remember error statuses and get their strings 0639a32d3a cmFileTimes: return status codes from APIs Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9023
| * | | | | errors: avoid constructing a stream before getting the last errorBen Boeckel2023-12-025-28/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Constructing a stream may involve operations that change the global error state. Avoid the streams by using `cmStrCat` instead.
| * | | | | cmFileCopier: remember error statuses and get their stringsBen Boeckel2023-12-021-14/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last error may have changed between the original call and the `GetLastSystemError()` call. Remember the status explicitly and ask it for its error string. Reported on Discourse: https://discourse.cmake.org/t/9539
| * | | | | cmFileTimes: return status codes from APIsBen Boeckel2023-12-022-17/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids accidentally overwriting the global error state before fetching the intended error code.
* | | | | | Merge branch 'release-3.28'Brad King2023-12-050-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'fix-include-windows' into release-3.28Brad King2023-12-051-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 696e14d977 cmFileLockResult: Fix inclusion of windows.h when cross-compiling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9035
* | \ \ \ \ \ Merge topic 'fix-include-windows'Brad King2023-12-051-1/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 696e14d977 cmFileLockResult: Fix inclusion of windows.h when cross-compiling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9035
| * | | | | | cmFileLockResult: Fix inclusion of windows.h when cross-compilingBrad King2023-12-041-1/+1
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 64821d8a26 (cmFileLockResult: Remove expensive windows.h include, 2023-06-16, v3.28.0-rc1~446^2~13) we accidentally capitalized the name of the header. This matters when cross-compiling from a host with a case-sensitive filesystem. Fixes: #25474
* | | | | | Merge branch 'release-3.28'Brad King2023-12-050-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'execute_process-no-extension' into release-3.28Brad King2023-12-051-13/+30
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fc6231bee5 libuv: win/spawn: run executables with no file extension b37d9378de libuv: Revert "win/spawn: run executables with no file extension" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !9033
* | | | | | Merge topic 'execute_process-no-extension'Brad King2023-12-051-13/+30
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fc6231bee5 libuv: win/spawn: run executables with no file extension b37d9378de libuv: Revert "win/spawn: run executables with no file extension" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !9033
| * | | | | libuv: win/spawn: run executables with no file extensionKyle Edwards2023-12-041-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport this commit from libuv PR 4241 to restore `execute_process()` support for running executables on Windows with no file extension. Fixes: #25450
| * | | | | libuv: Revert "win/spawn: run executables with no file extension"Brad King2023-12-041-12/+25
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit da9df7425a (libuv: win/spawn: run executables with no file extension, 2023-11-29, v3.28.0-rc6~1^2~1). It incorrectly searched the `PATH` for extension-less command names. Another fix will be needed for the regression motivating it. Record this as a merge from the last-imported upstream libuv snapshot branch so that future `git blame` points to the upstream for the original code instead of this commit. Fixes: #25473 Issue: #25450
* | | | | | CMake Nightly Date StampKitware Robot2023-12-051-1/+1
| | | | | |
* | | | | | Merge topic 'ctest-jobserver-client'Brad King2023-12-0418-0/+933
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80fe56c481 ctest: Add support for running under a make job server on POSIX systems 5396f4a9a3 cmUVJobServerClient: Add libuv-based job server integration client Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9021
| * | | | | | ctest: Add support for running under a make job server on POSIX systemsBrad King2023-12-0313-0/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Share job slots with the job server by acquiring a token before running each test, and releasing the token when the test finishes.
| * | | | | | cmUVJobServerClient: Add libuv-based job server integration clientBrad King2023-12-035-0/+797
| | |_|_|_|/ | |/| | | |
* | | | | | Merge topic 'fileapi-exe-launcher'Brad King2023-12-0415-6/+369
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80a64c9ce5 fileapi: Add cross-compiling emulator to codemodel-v2 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8964
| * | | | | | fileapi: Add cross-compiling emulator to codemodel-v2Ralf Habacker2023-12-0115-6/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #25408
* | | | | | | Merge topic 'update-librhash'Brad King2023-12-0418-275/+878
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6a5a9278fa librhash: Update build within CMake for rhash 1.4.4 54eafb156f librhash: aligned_alloc is not available with IBM XLClang on Linux 838bdb4b37 librhash: aligned_alloc is not available on Solaris 33e9e3438c librhash: Remove source fragments not needed for CMake 15bb13bc51 Merge branch 'upstream-librhash' into update-librhash 71d86c4e98 librhash 2023-07-14 (cfe77846) 1fb7ebeb4d librhash: Update import script to get rhash 1.4.4 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9012
| * | | | | | | librhash: Update build within CMake for rhash 1.4.4Brad King2023-12-012-1/+5
| | | | | | | |
| * | | | | | | librhash: aligned_alloc is not available with IBM XLClang on LinuxBrad King2023-12-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The declaration exists in `<stdlib.h>` but the compiler warns about its allocation alignment attribute.
| * | | | | | | librhash: aligned_alloc is not available on SolarisBrad King2023-12-011-1/+1
| | | | | | | |
| * | | | | | | librhash: Remove source fragments not needed for CMakeBrad King2023-11-281-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend commit 53048afa8d (librhash: Remove source fragments not needed for CMake, 2016-11-03, v3.8.0-rc1~262^2~9) for fragments new after updating to librhash 1.4.4.
| * | | | | | | Merge branch 'upstream-librhash' into update-librhashBrad King2023-11-2815-273/+874
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-librhash: librhash 2023-07-14 (cfe77846)
| | * | | | | | | librhash 2023-07-14 (cfe77846)librhash upstream2023-11-2815-342/+874
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/rhash/rhash.git at commit cfe77846a4c1bc7424eb2da2b164577a16bbcb19 (v1.4.4).
| * | | | | | | | librhash: Update import script to get rhash 1.4.4Brad King2023-11-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #25448
* | | | | | | | | Merge topic 'cmake-non-writable-build-dir'Brad King2023-12-047-14/+54
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0fd64345fe Tests: Add case covering non-writable CMAKE_BINARY_DIR d91c02e40f Tests: Factor out RunCMake helper to get UNIX user id 5799d0e788 cmake: Improve error message if CMAKE_BINARY_DIR not writable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !8970
| * | | | | | | | | Tests: Add case covering non-writable CMAKE_BINARY_DIRBrad King2023-11-304-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #24407
| * | | | | | | | | Tests: Factor out RunCMake helper to get UNIX user idBrad King2023-11-302-12/+19
| | | | | | | | | |
| * | | | | | | | | cmake: Improve error message if CMAKE_BINARY_DIR not writablescivision2023-11-301-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #24407
* | | | | | | | | | Merge branch 'release-3.28'Brad King2023-12-040-0/+0
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / | |/| | | | | | | |
| * | | | | | | | | Merge topic 'libuv-win-no-default-current-directory' into release-3.28Brad King2023-12-041-4/+6
| |\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ab561b86fb libuv: win: honor NoDefaultCurrentDirectoryInExePath env var Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9022
* | | | | | | | | | Merge topic 'libuv-win-no-default-current-directory'Brad King2023-12-041-4/+6
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ab561b86fb libuv: win: honor NoDefaultCurrentDirectoryInExePath env var Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9022
| * | | | | | | | | libuv: win: honor NoDefaultCurrentDirectoryInExePath env varKyle Edwards2023-12-011-4/+6
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport commit 5e302730cd (win: honor NoDefaultCurrentDirectoryInExePath env var, 2023-12-01) from libuv PR 4238.
* | | | | | | | | CMake Nightly Date StampKitware Robot2023-12-041-1/+1
| |_|_|_|_|/ / / |/| | | | | | |
* | | | | | | | Merge topic 'uv-handle-bool'Brad King2023-12-032-0/+24
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 47fbb29ad7 cmUVHandlePtr: Fix conversion to bool on Oracle Studio compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9024
| * | | | | | | | cmUVHandlePtr: Fix conversion to bool on Oracle Studio compilerBrad King2023-12-022-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The operator added by commit 17690558c3 (cmUVHandlePtr: Add explicit conversion to bool, 2023-10-26) works in direct expressions like `if(foo)` but not compound expressions like `if(foo && ...)`. Drop the `explicit` mark when compiling with Oracle Studio so we can at least compile valid code.