summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CMake 3.27.0-rc2v3.27.0-rc2Brad King2023-06-121-1/+1
|
* Merge topic 'restore-check-module-deps' into release-3.27Brad King2023-06-127-0/+30
|\ | | | | | | | | | | | | | | 4a2b708144 Modules: Restore unnecessary inclusions for compatibility Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8554
| * Modules: Restore unnecessary inclusions for compatibilityBrad King2023-06-127-0/+30
| | | | | | | | | | | | | | | | | | | | | | Since commit 03c6ebf2b5 (Modules:Check,GenerateExportHeader: include only what's needed, 2023-03-09, v3.27.0-rc1~327^2) some existing projects broke because they were accidentally relying on indirect inclusion of some check modules. For now, restore the unnecessary includes for compatibility. They can be removed with a policy later. Fixes: #24991 Issue: #24994
* | Merge topic 'add_test-empty-args' into release-3.27Brad King2023-06-124-1/+26
|\ \ | |/ |/| | | | | | | | | | | 1df3287bf6 add_test: Restore support for empty test arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8551
| * add_test: Restore support for empty test argumentsMarc Chevrier2023-06-094-1/+26
| | | | | | | | | | | | | | | | This was regressed by refactoring in commit e08ba229ee (CMake code rely on cmList class for CMake lists management (part. 1), 2023-04-14, v3.27.0-rc1~174^2). Fix it and add a test case. Fixes: #24986
* | Merge topic 'bootstrap-system-cppdap' into release-3.27Brad King2023-06-091-2/+4
|\ \ | | | | | | | | | | | | | | | | | | e4a9227360 bootstrap: Add --(no-)system-cppdap configuration switch Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8550
| * | bootstrap: Add --(no-)system-cppdap configuration switchBjörn Esser2023-06-081-2/+4
| |/ | | | | | | | | | | This was accidentally left out of commit 5ec69eb58c (cppdap: Build as part of CMake or use external installation, 2023-05-19, v3.27.0-rc1~45^2~1).
* | Merge topic 'Makefiles-safer-COLOR-usage' into release-3.27Brad King2023-06-094-2/+17
|\ \ | |/ |/| | | | | | | | | 8195aa3026 Makefiles: quote `$(COLOR)` expansions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8548
| * Makefiles: quote `$(COLOR)` expansionsBen Boeckel2023-06-084-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This handles the case where `COLOR` is set to some ANSI-like color sequence in the ambient environment. These sequences tend to include `;` which terminates the command and tries to use the next component (typically an integer, possibly with a trailing `m`) with errors like: /bin/sh: line 1: 2: command not found /bin/sh: line 1: 255: command not found /bin/sh: line 1: 221: command not found /bin/sh: line 1: 255m: command not found Also add a test that sets `COLOR` in the environment which affects the generated Makefiles behavior. See: https://discourse.cmake.org/t/cmake-failing-gcc-compiler-checks/8277
* | CMake 3.27.0-rc1v3.27.0-rc1Brad King2023-06-081-1/+1
| |
* | Merge topic 'FindCUDAToolkit-cupti-nvperf' into release-3.27Brad King2023-06-082-9/+31
|\ \ | | | | | | | | | | | | | | | | | | f9579ffaa6 FindCUDAToolkit: Add cupti nvperf and pcsampling targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8545
| * | FindCUDAToolkit: Add cupti nvperf and pcsampling targetsRobert Maynard2023-06-072-9/+31
| |/
* | Merge topic 'cmcldeps-rc' into release-3.27Brad King2023-06-081-28/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 0e1abf7afa cmcldeps: Avoid passing /nologo more than once to RC compiler f694e8d9c8 cmcldeps: Do not pass linker flags to cl 8600fb263b cmcldeps: Remove unused C and CXX support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8541
| * | cmcldeps: Avoid passing /nologo more than once to RC compilerBrad King2023-06-071-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | `rc /nologo /nologo ...` fails: fatal error RC1106: invalid option: -ologo Fixes: #24974 Inspired-by: Benjamin Buch <benjamin.buch@technoteam.de>
| * | cmcldeps: Do not pass linker flags to clBenjamin Buch2023-06-071-19/+5
| | | | | | | | | | | | | | | | | | | | | Avoid cl `Command line warning D9035`. Fixes: #24906 Co-authored-by: Brad King <brad.king@kitware.com>
| * | cmcldeps: Remove unused C and CXX supportBenjamin Buch2023-06-071-9/+4
| | | | | | | | | | | | We never set `CMAKE_NINJA_CMCLDEPS_{C,CXX}` anymore.
* | | Merge topic 'target-system-variables' into release-3.27Brad King2023-06-0871-86/+99
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | e4c53cdc15 BinUtils: Drop now-unnecessary cross-compiling workaround for Apple hosts 1373373823 enable_language: Establish target platform identification variables earlier 1d916bf3d2 kFreeBSD,GNU: Provide multiarch library directory regex earlier Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8544
| * | BinUtils: Drop now-unnecessary cross-compiling workaround for Apple hostsBrad King2023-06-071-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we added fallbacks to `llvm-{ar,strip}` on Apple hosts in case of cross-compiling because the `APPLE` platform variable was not set w.r.t. the target platform. The platform variable has been fixed, so remove the fallbacks. Issue: #23333
| * | enable_language: Establish target platform identification variables earlierBrad King2023-06-0767-64/+85
| | | | | | | | | | | | | | | | | | | | | | | | Set target platform identification variables like `APPLE` and `LINUX` as soon as the target system is identified. This makes them available during toolchain and binutils selection. Fixes: #23333
| * | kFreeBSD,GNU: Provide multiarch library directory regex earlierBrad King2023-06-066-7/+9
|/ / | | | | | | | | | | | | | | Make `CMAKE_LIBRARY_ARCHITECTURE_REGEX` available while determining compilers before `Platform/{kFreeBSD,GNU}` is loaded. Follow up commit cc737ae829 (Linux: Provide multiarch library directory regex earlier, 2023-05-31).
* | Begin 3.27 release versioningBrad King2023-06-061-3/+3
| |
* | Help: Drop development topic notes to prepare releaseBrad King2023-06-062-9/+0
| | | | | | | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* | Merge topic 'doc-3.27-relnotes'Brad King2023-06-0646-280/+250
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 6bc97b453c Help: Update Sphinx versionadded directives for 3.27 release 78d2c9fef0 Help: Organize and revise 3.27 release notes e6bcda8c39 Help: Consolidate 3.27 release notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8539
| * | Help: Update Sphinx versionadded directives for 3.27 releaseBrad King2023-06-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Run the script: Utilities/Sphinx/update_versions.py --since v3.26.0 --overwrite Manually remove directives added to new documentation of existing environment variables.
| * | Help: Organize and revise 3.27 release notesBrad King2023-06-061-133/+178
| | | | | | | | | | | | | | | Add section headers similar to the 3.26 release notes and move each individual bullet into an appropriate section. Revise a few bullets.
| * | Help: Consolidate 3.27 release notesBrad King2023-06-0545-280/+203
| | | | | | | | | | | | | | | Run the `Utilities/Release/consolidate-relnotes.bash` script to move notes from `Help/release/dev/*` into `Help/release/3.27.rst`.
* | | Merge topic 'verify-interface-header-sets-skip-linting'Kyle Edwards2023-06-066-2/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 36ec89639a VERIFY_INTERFACE_HEADER_SETS: Skip header files that have SKIP_LINTING Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8540
| * | | VERIFY_INTERFACE_HEADER_SETS: Skip header files that have SKIP_LINTINGKyle Edwards2023-06-066-2/+19
| |/ / | | | | | | | | | Fixes: #24972
* | | Merge topic 'apple-clang-asm-compiler-id'Brad King2023-06-063-5/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 8c789bee83 AppleClang: Fix ASM compiler identification Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8537
| * | | AppleClang: Fix ASM compiler identificationGregor Jasny2023-06-053-5/+6
| | | | | | | | | | | | | | | | | | | | Recent AppleClang compilers identify themselves as `Apple clang version 14.0.3 (clang-1403.0.22.14.1)`.
* | | | Merge topic 'Apple-tbd-runpath-handling'Brad King2023-06-063-3/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfa5b430b3 Apple text-based stubs: ensure runpath is correctly defined Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8536
| * | | | Apple text-based stubs: ensure runpath is correctly definedMarc Chevrier2023-06-043-3/+26
| |/ / / | | | | | | | | | | | | This is a complement to !8204.
* | | | Merge topic 'FindPython-distutils-deprecation'Brad King2023-06-064-52/+28
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 988ac305bd FindPython: update for distutils module deprecation Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8538
| * | | | FindPython: update for distutils module deprecationMarc Chevrier2023-06-054-52/+28
| | | | | | | | | | | | | | | | | | | | Fixes: #24956
* | | | | Merge topic 'cmuvprocesschain-status-getexception'Kyle Edwards2023-06-064-14/+326
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | 154fe00ca5 cmUVProcessChain: Add Status::GetException() method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8528
| * | | | cmUVProcessChain: Add Status::GetException() methodKyle Edwards2023-06-054-14/+326
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-06-061-1/+1
| |_|_|/ |/| | |
* | | | Merge topic 'file-api-query-command'Brad King2023-06-0517-11/+447
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 99b2ccf80d cmake_file_api: New project command Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8530
| * | | | cmake_file_api: New project commandCraig Scott2023-06-0517-11/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Projects can use the new command to request file API replies for the current run. No query files are generated, the query is tracked internally. Replies are created in the file system at generation time in the usual way. Fixes: #24951
* | | | | Merge topic 'ci-hip-5.5'Brad King2023-06-0510-27/+65
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 679d201df7 gitlab-ci: Update HIP job to ROCm 5.5 427b0d24ba ci: Update HIP image to ROCm 5.5 on Ubuntu 22.04 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8533
| * | | | | gitlab-ci: Update HIP job to ROCm 5.5Brad King2023-06-023-7/+7
| | | | | |
| * | | | | ci: Update HIP image to ROCm 5.5 on Ubuntu 22.04Brad King2023-06-027-20/+58
| | | | | |
* | | | | | Merge topic 'hip-usr-include'Brad King2023-06-051-0/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f4d28d9e27 HIP: Fix implicit include directory detection under /usr/include Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8534
| * | | | | | HIP: Fix implicit include directory detection under /usr/includeCordell Bloor2023-06-021-0/+11
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES` are computed using `try_compile` in `CMAKE_DETERMINE_COMPILER_ABI`, but the implicit include directories are not known during that `try_compile`. This can be a problem when the HIP runtime include path is `/usr/include`, because the runtime include path is always added to the userDirs and the compiler automatically includes standard library headers via `__clang_hip_runtime_wrapper.h`. Issue: #24562
* | | | | | Merge topic 'orkun_24968_02_06_2023'Brad King2023-06-051-4/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3e462202a7 Test: Generate pseudo linters generator independent Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8532
| * | | | | | Test: Generate pseudo linters generator independentOrkun Tokdemir2023-06-021-4/+6
| |/ / / / / | | | | | | | | | | | | | | | | | | Fixes: #24968
* | | | | | Merge topic 'FindOpenACC-shell-flags'Brad King2023-06-051-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5a77c2e02a FindOpenACC: Keep flags together in imported target usage requirements Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8531
| * | | | | | FindOpenACC: Keep flags together in imported target usage requirementsBrad King2023-06-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If `OpenACC_C_FLAGS` contains `-h acc`, the flag pair needs to be preserved as a shell command fragment, and must not be split by de-duplication with other `target_compile_options`. Fixes: #24963
* | | | | | | Merge topic 'ctest-timeout-signal'Brad King2023-06-0536-18/+466
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 54c5654f7d ctest: Optionally terminate tests with a custom signal on timeout e38c05688e CTest/cmProcess: Adopt field tracking reason for the process timeout 25c1468314 cmCTestTestHandler: Remove outdated comment 41e8507ab7 IWYU: Add mapping for bits/chrono.h to chrono Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8472
| * | | | | | ctest: Optionally terminate tests with a custom signal on timeoutBrad King2023-06-0234-1/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CTest normally terminates test processes on timeout using `SIGKILL`. Offer tests a chance to exit gracefully, on platforms supporting POSIX signals, by setting `TIMEOUT_SIGNAL_{NAME,GRACE_PERIOD}` properties. Fixes: #17288