summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* clang-tidy: ignore warnings new in version 17Brad King2023-11-171-0/+8
| | | | These warnings can be fixed in the future. Ignore them for now.
* codespell: Fix typosBrad King2023-11-1754-64/+64
|
* codespell: Revise release note about short-lived field to avoid misspellingBrad King2023-11-171-1/+1
|
* codespell: Match valgrind output without repeating a spelling errorBrad King2023-11-171-4/+4
|
* Utilities/Sphinx: Fix python string literal syntax warningBrad King2023-11-171-1/+1
| | | | | | | | Python 3.12 started warning: conf.py:35: SyntaxWarning: invalid escape sequence '\.' Use a raw string literal instead.
* Tests: Update HIP.MathFunctions case for nodiscard enforcementBrad King2023-11-171-4/+8
|
* Merge topic 'update-kwiml' into release-3.28Brad King2023-11-173-3/+3
|\ | | | | | | | | | | | | | | f2cc0ef2ed Merge branch 'upstream-KWIML' into update-kwiml 83dd9be285 KWIML 2023-11-16 (500bc253) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8978
| * Merge branch 'upstream-KWIML' into update-kwimlBrad King2023-11-163-3/+3
| |\ | | | | | | | | | | | | * upstream-KWIML: KWIML 2023-11-16 (500bc253)
| | * KWIML 2023-11-16 (500bc253)KWIML Upstream2023-11-163-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwiml.git at commit 500bc25359cdf9e7357315ae3a6c05d606d93ea3 (master). Upstream Shortlog ----------------- Brad King (1): 500bc253 codespell: fix typos
* | | Merge topic 'doc-deprecated-hanging-indent' into release-3.28Brad King2023-11-171-3/+5
|\ \ \ | |/ / |/| | | | | | | | | | | | | | b553ac4c2f Utilities/Sphinx: Add hanging indent to deprecation notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8976
| * | Utilities/Sphinx: Add hanging indent to deprecation notesBrad King2023-11-161-3/+5
|/ / | | | | | | | | | | Extend commit 038f4c12e3 (Utilities/Sphinx: Add hanging indent to version notes, 2023-03-14, v3.27.0-rc1~322^2) to cover `deprecated` directives.
* | CMake 3.28.0-rc5v3.28.0-rc5Brad King2023-11-151-1/+1
| |
* | Merge branch 'release-3.27' into release-3.28Brad King2023-11-151-2/+2
|\ \
| * | CMake 3.27.8v3.27.8Brad King2023-11-152-3/+3
| | |
* | | Merge branch 'release-3.27' into release-3.28Brad King2023-11-150-0/+0
|\ \ \ | |/ /
| * | Merge branch 'backport-target-objects' into release-3.27Brad King2023-11-1510-30/+82
| |\ \ | | | | | | | | | | | | Merge-request: !8974
* | \ \ Merge topic 'target-objects' into release-3.28Brad King2023-11-1510-25/+80
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d7988ff6b8 Merge branch 'backport-target-objects' into target-objects 1814853081 cmCommonTargetGenerator: Drop unused local variable 377b78aef9 cmComputeLinkInformation: Simplify recording OBJECT libraries as link items 50fdaf8f1f cmComputeLinkInformation: Track targets named by TARGET_OBJECTS sources 0e26bd334d cmCommonTargetGenerator: Factor out GetLinkedTargetDirectories loop body Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8974
| * \ \ \ Merge branch 'backport-target-objects' into target-objectsBrad King2023-11-1410-23/+79
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | cmComputeLinkInformation: Track targets named by TARGET_OBJECTS sourcesBrad King2023-11-1410-21/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit b6a5382217 (Ninja: depend on language module information files directly, 2023-02-10, v3.27.0-rc1~502^2), the return value of `cmCommonTargetGenerator::GetLinkedTargetDirectories` must account for linked object libraries because they may provide modules (#25112). These were added by commit b665966933 (cmComputeLinkInformation: track OBJECT library dependencies, 2023-07-22, v3.27.1~5^2). However, targets named by `$<TARGET_OBJECTS:...>` sources are also needed (#25365). The latter were added by commit 22da18b995 (Fortran: Restore support for TARGET_OBJECTS providing modules, 2023-10-27, v3.28.0-rc4~9^2) and commit 035302b7e3 (cmComputeLinkDepends: also copy the target from object link items, 2023-10-27, v3.28.0-rc4~9^2~2). However, their approach added link entries not actually specified by projects. It also incorrectly re-used `cmComputeLinkDepends::AddLinkObject` for object library targets when it is meant for their individual object files. These problems caused additional regressions (#25417). Revert the implementation parts of those commits and leave behind an assertion and comment to help avoid the mistake in the future. Instead, track targets named by `$<TARGET_OBJECTS:...>` sources with a dedicated member. Issue: #25112 Issue: #25365 Fixes: #25417 Co-authored-by: Ben Boeckel <ben.boeckel@kitware.com>
| | * | | cmCommonTargetGenerator: Factor out GetLinkedTargetDirectories loop bodyBrad King2023-11-141-9/+8
| | | | | | | | | | | | | | | | | | | | Re-use the body in multiple loops instead of allocating to combine them.
| * | | | cmCommonTargetGenerator: Drop unused local variableBrad King2023-11-141-1/+0
| | | | |
| * | | | cmComputeLinkInformation: Simplify recording OBJECT libraries as link itemsBrad King2023-11-141-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | Simplify commit 2c7acd34e2 (cmComputeLinkInformation: add `OBJECT` libraries as link items, 2023-07-24, v3.28.0-rc1~279^2) using the existing local variables.
* | | | Merge topic 'genex-fix-short-circuit' into release-3.28Brad King2023-11-143-1/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27244a8f73 cmGeneratorExpressionNode: Fix short-circuit logic Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8966
| * | | | cmGeneratorExpressionNode: Fix short-circuit logicMartin Duffy2023-11-133-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix logic added by commit 634079b86d (cmGeneratorExpressionEvaluator: Short-circuit boolean operators, 2023-09-11, v3.28.0-rc1~47^2) and add missing test cases. Fixes: #25412
* | | | | Merge branch 'release-3.27' into release-3.28Brad King2023-11-140-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge branch 'FindOpenMP-5.1-and-5.2' into release-3.27Brad King2023-11-131-0/+2
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | Merge-request: !8965
* | | | | Merge topic 'FindOpenMP-5.1-and-5.2' into release-3.28Brad King2023-11-141-0/+2
|\ \ \ \ \ | | |/ / / | |/| / / | |_|/ / |/| | | | | | | | | | | | | | | | | | | 2859be7575 FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Markus Mützel <markus.muetzel@gmx.de> Merge-request: !8965
| * | | FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2Christoph Reiter2023-11-131-0/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | llvm 17 now defaults to openmp 5.1; see LLVM commit `0c6f2f629cc0`. It makes FindOpenMP set OPENMP_FOUND and OpenMP_C_SPEC_DATE, but not OpenMP_C_VERSION, because it doesn't know the version mapping. Add the spec date to the version mapping for 5.1 and 5.2 to make things work again.
* | | Merge topic 'find_cudatoolkit_cufile_name' into release-3.28Brad King2023-11-091-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b38a8e77cb FindCUDAToolkit: Search for cufile library name being lowercase Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8955
| * | | FindCUDAToolkit: Search for cufile library name being lowercaseRobert Maynard2023-11-081-4/+4
|/ / / | | | | | | | | | Fixes #25398
* | | Merge topic 'cxx23' into release-3.28Brad King2023-11-086-14/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a0fabc4769 cmGlobalGeneratorFactory: Provide complete cmGlobalGenerator to deleter 85627a93c9 cmCTestBuildCommand: Avoid requiring complete cmGlobalGenerator type publicly 641c02a3ce cmList: Avoid using operator-> on input iterator e4483b8871 Tests: Avoid compiling call to dap::optional<dap::string>(nullptr) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8950
| * | | cmGlobalGeneratorFactory: Provide complete cmGlobalGenerator to deleterBrad King2023-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The libc++ `unique_ptr` implementation requires this since C++23. Fixes: #25388
| * | | cmCTestBuildCommand: Avoid requiring complete cmGlobalGenerator type publiclyBrad King2023-11-072-9/+12
| | | |
| * | | cmList: Avoid using operator-> on input iteratorBrad King2023-11-071-1/+1
| | | | | | | | | | | | | | | | As of C++23, some standard library iterator types deprecate it.
| * | | Tests: Avoid compiling call to dap::optional<dap::string>(nullptr)Brad King2023-11-072-3/+3
| | | |
* | | | Merge topic 'static-library-link-xcframework' into release-3.28Brad King2023-11-074-21/+84
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 7d19246138 Xcode: Fix linking against .xcframework from static libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8949
| * | | Xcode: Fix linking against .xcframework from static librariesKyle Edwards2023-11-064-21/+84
| | | | | | | | | | | | | | | | Issue: #21752
* | | | CMake 3.28.0-rc4v3.28.0-rc4Brad King2023-11-061-1/+1
|/ / /
* | | Merge topic 'cdash-report-urls' into release-3.28Brad King2023-11-038-3/+112
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06661b1e4c gitlab-ci: pull annotations for CDash from the jobs a518e402c5 ci: generate annotation reports Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8939
| * | | gitlab-ci: pull annotations for CDash from the jobsBen Boeckel2023-11-022-0/+28
| | | | | | | | | | | | | | | | Only move `cdash-build-id` between stages that make sense.
| * | | ci: generate annotation reportsBen Boeckel2023-11-026-3/+84
| | | | | | | | | | | | | | | | | | | | | | | | These will render links in the sidebar for each job. See: https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsannotations
* | | | Merge topic 'cmsystemtools-runsinglecommand-stdin' into release-3.28Kyle Edwards2023-11-035-2/+11
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | c4be9c914b cmSystemTools::RunSingleCommand(): Pass stdin to child process Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8941
| * | | cmSystemTools::RunSingleCommand(): Pass stdin to child processKyle Edwards2023-11-025-2/+11
|/ / / | | | | | | | | | Fixes: #25383
* | | Merge topic 'cuda-vs' into release-3.28Brad King2023-11-023-20/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 79f3f29e50 CUDA: Parse NVCC implicit compile/link information in Visual Studio generators 27e64a8498 CMakeNVCCParseImplicitInfo: Recognize link.exe line in CUDA VS integration 045399a461 CMakeParseImplicitLinkInfo: Ignore MSVC link /implib: flag Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !8938
| * | | CUDA: Parse NVCC implicit compile/link information in Visual Studio generatorsBrad King2023-11-011-20/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit deff0e638d (CUDA: Factor out helper to parse NVCC implicit compiler and linker flags, 2023-09-15, v3.28.0-rc1~63^2~6) incorrectly dropped detection of the default CUDA architecture and the CUDA toolkit include directories from the code path used for Visual Studio generators. However, CMakeNVCCParseImplicitInfo is now general enough that we no longer need a VS-specific code path. Fixes: #25378
| * | | CMakeNVCCParseImplicitInfo: Recognize link.exe line in CUDA VS integrationBrad King2023-11-011-0/+3
| | | |
| * | | CMakeParseImplicitLinkInfo: Ignore MSVC link /implib: flagBrad King2023-11-011-0/+2
| | | | | | | | | | | | | | | | | | | | The flag specifies the import library for the linked binary. It is not a linked library.
* | | | Merge topic 'cxxmodules-cmp0155-graceful-fallback-without-scanner' into ↵Brad King2023-11-0114-30/+54
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | release-3.28 1f507580a1 cmGlobalGenerator: give context about module queries 889aa0354a CMP0155: ignore scanning for sources if no scanner is available Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8925
| * | | cmGlobalGenerator: give context about module queriesBen Boeckel2023-11-015-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | Some queries are merely investigating support in order to change behavior. Let the method know so that any internal errors can be skipped over.
| * | | CMP0155: ignore scanning for sources if no scanner is availableBen Boeckel2023-11-0110-23/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for a more graceful transition for projects using C++20 without scanner support (e.g., Clang 15 or GCC 13). While newer compilers will (needlessly) scan, it allows C++20-using projects to use older compilers without having to set `CMAKE_CXX_SCAN_FOR_MODULES` to support newer CMake minimum versions. Fixes: #25357