summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CMake 3.26.0v3.26.0Brad King2023-03-141-1/+1
|
* Merge topic 'revert-CheckCompilerFlag-clang-argument-unused' into release-3.26Brad King2023-03-145-4/+26
|\ | | | | | | | | | | | | | | | | 97fcd3bd30 CheckCompilerFlag: Revert 'Match the Clang "argument unused" output ...' Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8322
| * CheckCompilerFlag: Revert 'Match the Clang "argument unused" output ...'Brad King2023-03-135-4/+26
|/ | | | | | | | | | | | | | Revert commit 5b45a3d0ce (CheckCompilerFlag: Match the Clang "argument unused" output for all languages, 2023-01-23, v3.26.0-rc1~38^2). It broke existing projects that were silently tolerating unrelated unused arguments in their checks for C and CXX. For example, using `CFLAGS=-nostdinc` or `CXXFLAGS=-nostdinc++` causes those flags to be used when driving the linker as well, and Clang warns they are unused in that case. Add a test case covering the now-restored behavior. Fixes: #24591
* Merge branch 'release-3.25' into release-3.26Brad King2023-03-130-0/+0
|\
| * Merge branch 'backport-3.25-log-failed-compiler-id' into release-3.25Brad King2023-03-131-2/+4
| |\ | | | | | | | | | Merge-request: !8320
| | * CompilerId: Restore logging of failed identifications in CMake 3.25Brad King2023-03-131-2/+4
| |/ | | | | | | | | | | | | | | | | | | Changes in commit 9c5bd7fe3a (CompilerId: Output errors from all attempts at detection, 2022-08-16, v3.25.0-rc1~290^2) accidentally stopped logging failed compiler identification build output. This was fixed for CMake 3.26 and later by commit 24ccc8c3c9 (CompilerId: Restore logging of failed identifications, 2023-01-16, v3.26.0-rc1~70^2~6). Backport it to 3.25.
* | Merge topic 'revert-optimize-target-depends-closure' into release-3.26Brad King2023-03-132-68/+56
|\ \ | | | | | | | | | | | | | | | | | | 685108a582 Ninja: Revert "Optimize target depends closure" due to performance regression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8315
| * | Ninja: Revert "Optimize target depends closure" due to performance regressionBrad King2023-03-102-68/+56
|/ / | | | | | | | | | | Revert commit 1f16af01f4 (cmGlobalNinjaGenerator: Optimize target depends closure, 2023-01-17, v3.26.0-rc1~74^2). It regressed generation time for some projects. Revert it pending further investigation.
* | CMake 3.26.0-rc6v3.26.0-rc6Brad King2023-03-081-1/+1
| |
* | Merge branch 'release-3.25' into release-3.26Brad King2023-03-081-0/+7
|\ \ | |/
| * CMake 3.25.3v3.25.3Brad King2023-03-082-1/+8
| |
* | Merge branch 'release-3.25' into release-3.26Brad King2023-03-081-0/+7
|\ \ | |/
| * Merge branch 'release-3.24' into release-3.25Brad King2023-03-081-0/+7
| |\
| | * CMake 3.24.4v3.24.4Brad King2023-03-082-1/+8
| | |
* | | Merge topic 'revert-vs-BuildInParallel' into release-3.26Brad King2023-03-081-7/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | abb1c12162 VS: Revert "Build custom commands concurrently when possible" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8297
| * | | VS: Revert "Build custom commands concurrently when possible"Brad King2023-03-071-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 33c15ae2b9 (VS: Build custom commands concurrently when possible, 2023-01-19, v3.26.0-rc1~56^2) we add `BuildInParallel` to custom commands in `.vcxproj` files. However, this can break existing projects that implicitly rely on serial execution of custom commands. For example, custom commands in our FindCUDA module run MSVC (via nvcc) with a common `vc*.pdb` file, and therefore cannot run in parallel. Revert use of `BuildInParallel` while leaving most of the infrastructure for it in place. It can be restored later with an option or policy. Fixes: #24576 Issue: #18405
* | | | Merge branch 'release-3.25' into release-3.26Brad King2023-03-080-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'release-3.24' into release-3.25Brad King2023-03-080-0/+0
| |\ \ \ | | | |/ | | |/|
| | * | Merge branch 'backport-3.24-file-install-macos' into release-3.24Brad King2023-03-081-0/+6
| | |\ \ | | | | | | | | | | | | | | | Merge-request: !8293
| * | \ \ Merge branch 'backport-3.24-file-install-macos' into release-3.25Brad King2023-03-081-0/+6
| |\ \ \ \ | | | |/ / | | |/| | | | | | | Merge-request: !8293
* | | | | Merge topic 'file-install-macos' into release-3.26Brad King2023-03-081-0/+6
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a6f5bdd650 Merge branch 'backport-3.24-file-install-macos' 35f2b1bf5b file(INSTALL): Fix file ownership regression when running as root on macOS a5d6548587 file(INSTALL): Fix file ownership regression when running as root on macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8293
| * | | | Merge branch 'backport-3.24-file-install-macos'Brad King2023-03-080-0/+0
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | file(INSTALL): Fix file ownership regression when running as root on macOSBrad King2023-03-071-0/+6
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | Backport KWSys commit `51272e80e` (SystemTools: Avoid macOS copyfile semantic differences as root, 2023-03-07). Fixes: #24577
| * | | file(INSTALL): Fix file ownership regression when running as root on macOSBrad King2023-03-071-0/+6
|/ / / | | | | | | | | | | | | | | | | | | Backport KWSys commit `51272e80e` (SystemTools: Avoid macOS copyfile semantic differences as root, 2023-03-07). Fixes: #24577
* | | Merge topic 'clang-16-cxx-modules' into release-3.26Brad King2023-03-063-22/+44
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3fe8e33f27 Clang: Record Clang 16.0 flags for our experimental C++ modules support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !8285
| * | | Clang: Record Clang 16.0 flags for our experimental C++ modules supportBrad King2023-03-033-22/+44
| | | | | | | | | | | | | | | | LLVM/Clang 16.0 now contains official support for what CMake needs.
* | | | Merge branch 'release-3.25' into release-3.26Brad King2023-03-060-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'release-3.24' into release-3.25Brad King2023-03-030-0/+0
| |\ \ \ | | | |/ | | |/|
| | * | Merge branch 'release-3.23' into release-3.24Brad King2023-03-030-0/+0
| | |\ \
| | | * \ Merge branch 'GoogleTest-type-param-suite' into release-3.23Brad King2023-03-036-4/+68
| | | |\ \ | | | | | | | | | | | | | | | | | | Merge-request: !8282
| | * | \ \ Merge branch 'GoogleTest-type-param-suite' into release-3.24Brad King2023-03-036-4/+68
| | |\ \ \ \ | | | | |/ / | | | |/| | | | | | | | Merge-request: !8282
| * | | | | Merge branch 'GoogleTest-type-param-suite' into release-3.25Brad King2023-03-036-4/+68
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | Merge-request: !8282
* | | | | | Merge topic 'GoogleTest-type-param-suite' into release-3.26Brad King2023-03-066-4/+68
|\ \ \ \ \ \ | | |/ / / / | |/| | | / | |_|_|_|/ |/| | | | | | | | | | | | | | 9aa9032266 GoogleTest: Restore suite name for type-parametrized tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8282
| * | | | GoogleTest: Restore suite name for type-parametrized testsBrad King2023-03-036-4/+68
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Fix a regression from commit 073dd1bd81 (GoogleTest: Change format for typed tests, 2022-02-07, v3.23.0-rc1~4^2) in the suite name detection. Co-authored-by: Evgeniy Shcherbina <ixsci@pm.me> Fixes: #24563
* | | | Merge branch 'release-3.25' into release-3.26Brad King2023-03-030-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'ExternalProject-revert-install' into release-3.25Brad King2023-03-035-5/+18
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !8279
* | \ \ \ Merge topic 'ExternalProject-revert-install' into release-3.26Brad King2023-03-035-5/+18
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 771387523a ExternalProject: Restore driving install through build system Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Craig Scott <craig.scott@crascit.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8279
| * | | | ExternalProject: Restore driving install through build systemBrad King2023-03-025-5/+18
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 66b5d51f38 (ExternalProject: Install CMake projects using 'cmake --install', 2022-09-08, v3.25.0-rc1~150^2). It changed the ExternalProject install step command from: cmake --build <dir> --target install --config <cfg> to: cmake --install <dir> --config <cfg> The latter command no longer runs the external project build system during the install step. We could consider using the commands: cmake --build <dir> --target all --config <cfg> cmake --install <dir> --config <cfg> as the install step, but if `CMAKE_SKIP_INSTALL_ALL_DEPENDENCY` is used in the external project, that can change semantics too. Revert the original change pending further investigation on other ways to support its motivating use case. Add a test covering the previously-regressed use case. Fixes: #24567 Issue: #23946
* | | | Merge topic 'doc-block' into release-3.26Brad King2023-03-031-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2931f078dc Help:cmake-language: note new block() command scope Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8276
| * | | | Help:cmake-language: note new block() command scopescivision2023-03-021-0/+3
|/ / / /
* | | | CMake 3.26.0-rc5v3.26.0-rc5Brad King2023-03-011-1/+1
| | | |
* | | | Merge topic 'check-curses-min-cmake' into release-3.26Brad King2023-03-012-4/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d70582eed8 ccmake: Update minimum required version of CMake for curses check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8272
| * | | | ccmake: Update minimum required version of CMake for curses checkBrad King2023-03-012-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | This should have been part of commit d6b811fb82 (Require CMake 3.13+ to configure CMake itself, 2022-02-22, v3.24.0-rc1~605^2~1).
* | | | | Merge topic 'FindPython-fix-CMAKE_SHARED_LIBRARY_SUFFIX-matching' into ↵Brad King2023-03-011-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | release-3.26 764441e672 FindPython: fix erroneous ${CMAKE_SHARED_LIBRARY_SUFFIX} matching Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8271
| * | | | | FindPython: fix erroneous ${CMAKE_SHARED_LIBRARY_SUFFIX} matchingMarc Chevrier2023-03-011-3/+3
| |/ / / / | | | | | | | | | | | | | | | Fixes: #24556
* | | | | Merge topic 'ci-package-pipeline' into release-3.26Brad King2023-03-0120-116/+111
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7c60a2625d gitlab-ci: Optionally upload release packages to custom URL fc8a981893 gitlab-ci: Generalize package and help upload URLs f73649823b gitlab-ci: Stage unsigned release package artifacts in a dedicated directory 0929221ca3 gitlab-ci: Simplify Windows packaging pipeline ce2e825306 gitlab-ci: Simplify macOS packaging jobs 05531a7c4e gitlab-ci: add pre-build and post-build steps to Windows 5ab92d8e71 gitlab-ci: add pre-build and post-build steps to macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8266
| * | | | | gitlab-ci: Optionally upload release packages to custom URLBrad King2023-02-281-0/+4
| | | | | |
| * | | | | gitlab-ci: Generalize package and help upload URLsBrad King2023-02-282-6/+6
| | | | | |
| * | | | | gitlab-ci: Stage unsigned release package artifacts in a dedicated directoryBrad King2023-02-283-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These artifacts need to be manually signed before distribution. Move them to a dedicated `unsigned/` directory to avoid accidental distribution without signing.
| * | | | | gitlab-ci: Simplify Windows packaging pipelineBrad King2023-02-2813-95/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 4c7c66dcf5 (gitlab-ci: Add jobs to make Windows x86_64 and i386 packages, 2022-05-19, v3.24.0-rc1~112^2) we used a separate Windows packaging job in nightly packaging pipelines. It did not run in release pipelines, where we need to run the final packaging step manually with signing. Simplify nightly packaging pipelines by running `cpack` at the end of the build job as we do for other platforms. For release packaging pipelines, create an archive of the files needed to build a package, and present this as the built "package" on Windows.