summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Isolate more RunCMake cases from external ctest environment valuesBrad King2022-11-143-0/+12
| | | | | | | Fix a few RunCMake cases that were running `ctest` without isolating it from external environment values that affect its behavior. Fixes: #24153
* Tests: Factor out RunCMake ctest environment isolationBrad King2022-11-146-16/+4
| | | | | | | | Some RunCMake tests unset some environment variables that affect ctest's behavior before running it. Any test using the RunCTest helper needs to do this, so do it in the helper itself. Issue: #24153
* Merge topic 'nvcc-isystem'Brad King2022-11-141-1/+1
|\ | | | | | | | | | | | | 207fd956d8 CUDA: Use consistent -isystem flag style for NVIDIA nvcc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7904
| * CUDA: Use consistent -isystem flag style for NVIDIA nvccYantaoZhao2022-11-111-1/+1
| | | | | | | | | | | | Replace `-isystem=` with `-isystem ` for consistency with other compilers. Fixes: #24154
* | Merge topic 'profile-genex'Brad King2022-11-1424-95/+169
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4d70a94545 Profiling: Profile genex evaluation 09d7f947d6 cmGeneratorExpression: Require cmake instance 553794e987 cmake::CreateProfilingEntry: Refactor to take lambda for args Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: alcroito <alexandru.croitor@qt.io> Merge-request: !7898
| * | Profiling: Profile genex evaluationKyle Edwards2022-11-112-2/+42
| | |
| * | cmGeneratorExpression: Require cmake instanceKyle Edwards2022-11-1119-59/+92
| | |
| * | cmake::CreateProfilingEntry: Refactor to take lambda for argsKyle Edwards2022-11-114-35/+36
| |/
* | Merge topic 'ci-windows-arm64'Brad King2022-11-148-9/+122
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 09c1b1db07 gitlab-ci: Add windows-arm64 native jobs for Ninja and VS 61ebd7d083 ci: Download cmake on windows-arm64 93a5d89b42 ci: Teach cmake download script on Windows to branch on host architecture 1ccffcf0ea ci: Factor out helper to load python into environment on Windows 781303c0e2 ci: Factor out helper to load qt into environment on Windows b0d16c7f74 Tests: Fix CTest.UpdateGIT under repo-local defaultBranch config Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !7905
| * | gitlab-ci: Add windows-arm64 native jobs for Ninja and VSBrad King2022-11-115-5/+103
| | | | | | | | | | | | | | | | | | | | | Add Windows ARM64 native CI jobs to build and test with Ninja, and to test with VS. Issue: #23624
| * | ci: Download cmake on windows-arm64Brad King2022-11-111-0/+3
| | |
| * | ci: Teach cmake download script on Windows to branch on host architectureBrad King2022-11-111-2/+9
| | |
| * | ci: Factor out helper to load python into environment on WindowsBrad King2022-11-112-3/+5
| | |
| * | ci: Factor out helper to load qt into environment on WindowsBrad King2022-11-112-2/+5
| | |
| * | Tests: Fix CTest.UpdateGIT under repo-local defaultBranch configBrad King2022-11-111-1/+1
| |/ | | | | | | | | | | | | | | | | The default branch detection added by commit 26ec2e2b0c (Tests: Update CTest.UpdateGIT test for custom defaultBranch, 2020-12-02, v3.20.0-rc1~355^2) fails if the test is run inside a Git work tree whose `.git` directory configures a `defaultBranch` that is different from the global or system-wide value. Fix the detection to ignore the locally configured value so that we match the `git init` decision.
* | Merge branch 'release-3.25'Brad King2022-11-140-0/+0
|\ \
| * \ Merge topic 'msvc-19.34-cpp-modules' into release-3.25Brad King2022-11-146-33/+19
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0e9782b336 msvc: bless MSVC 19.34 support for C++ modules as experimental Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7745
* | \ \ Merge topic 'msvc-19.34-cpp-modules'Brad King2022-11-146-33/+19
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 0e9782b336 msvc: bless MSVC 19.34 support for C++ modules as experimental Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7745
| * | | msvc: bless MSVC 19.34 support for C++ modules as experimentalBen Boeckel2022-11-116-33/+19
| | | | | | | | | | | | | | | | Visual Studio 17.4 now contains official support for what CMake needs.
* | | | Merge branch 'release-3.25'Brad King2022-11-140-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'iar-asm-archid' into release-3.25Brad King2022-11-141-4/+3
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | f9ff6ab2d1 IAR: Fix ASM compiler architecture detection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7903
* | | | Merge topic 'iar-asm-archid'Brad King2022-11-141-4/+3
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | f9ff6ab2d1 IAR: Fix ASM compiler architecture detection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7903
| * | | IAR: Fix ASM compiler architecture detectionFelipe Torrezan2022-11-111-4/+3
| |/ / | | | | | | | | | | | | | | | | | | Narrow the regex to match the actual supported architectures, avoiding mismatched detection. Fixes: #24145
* | | CMake Nightly Date StampKitware Robot2022-11-141-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-11-131-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-11-121-1/+1
| |/ |/|
* | Merge branch 'release-3.25'Brad King2022-11-110-0/+0
|\ \ | |/
| * Merge topic 'ci-msvc-14.34' into release-3.25Brad King2022-11-112-46/+25
| |\ | | | | | | | | | | | | | | | | | | | | | bd5176abac gitlab-ci: Update Windows packaging builds to MSVC 14.34 toolset ccdff280f4 gitlab-ci: Update Windows non-packaging builds to MSVC 14.34 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7891
* | \ Merge topic 'ci-msvc-14.34'Brad King2022-11-112-46/+25
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | bd5176abac gitlab-ci: Update Windows packaging builds to MSVC 14.34 toolset ccdff280f4 gitlab-ci: Update Windows non-packaging builds to MSVC 14.34 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7891
| * | gitlab-ci: Update Windows packaging builds to MSVC 14.34 toolsetBrad King2022-11-102-41/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problems with `cmake-gui` when compiled with the MSVC 14.33 toolset, that did not occur with the MSVC 14.32 toolset, no longer occur with the MSVC 14.34 toolset. Revert commit cb8b27a901 (gitlab-ci: Use separate MSVC toolset specification for packaging jobs, 2022-08-18, v3.24.2~24^2~1) and update the remaining toolset version references. Fixes: #23859
| * | gitlab-ci: Update Windows non-packaging builds to MSVC 14.34 toolsetBrad King2022-11-101-5/+5
| | |
* | | Merge branch 'release-3.25'Brad King2022-11-110-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'ci-clang15-windows' into release-3.25Brad King2022-11-1112-49/+46
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | 46b2849550 ci: Update LLVM/Clang to 15.0 in nightly CI jobs on Windows 3eb94e4d51 ci: Simplify LLVM/Clang CI job specs on Windows 8ba5835c8d ci: Factor out helper to load clang into environment on Windows bf2e4a2e85 ci: Factor out helper to load ninja into environment on Windows 93ff726114 Tests: Fix TryCompile bad source case for clang-cl 15 on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7897
* | | Merge topic 'ci-clang15-windows'Brad King2022-11-1112-49/+46
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | 46b2849550 ci: Update LLVM/Clang to 15.0 in nightly CI jobs on Windows 3eb94e4d51 ci: Simplify LLVM/Clang CI job specs on Windows 8ba5835c8d ci: Factor out helper to load clang into environment on Windows bf2e4a2e85 ci: Factor out helper to load ninja into environment on Windows 93ff726114 Tests: Fix TryCompile bad source case for clang-cl 15 on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7897
| * | ci: Update LLVM/Clang to 15.0 in nightly CI jobs on WindowsBrad King2022-11-102-13/+17
| | |
| * | ci: Simplify LLVM/Clang CI job specs on WindowsBrad King2022-11-104-15/+7
| | | | | | | | | | | | | | | Move environment setup to job-specific scripts so we can reuse the common `.cmake_test_windows_external` code path.
| * | ci: Factor out helper to load clang into environment on WindowsBrad King2022-11-105-13/+16
| | |
| * | ci: Factor out helper to load ninja into environment on WindowsBrad King2022-11-103-10/+8
| | |
| * | Tests: Fix TryCompile bad source case for clang-cl 15 on WindowsBrad King2022-11-101-1/+1
| | | | | | | | | | | | | | | | | | When `pass.c bad#source.c` passes through `nmake`, the compiler gets `pass.c bad`. The clang-cl 15 compiler now fails on `bad` with an error that we did not previously match. Update our regex.
* | | Merge branch 'release-3.25'Brad King2022-11-110-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'fix-cxx20-detection' into release-3.25Brad King2022-11-111-5/+12
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e7c8f44ac Ninja: Restore support for compilers not defining a C++ standard level Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Jaeden Amero <kitware@patater.com> Acked-by: Martin Kojtal <martin.kojtal@arm.com> Merge-request: !7896
* | \ \ Merge topic 'fix-cxx20-detection'Brad King2022-11-111-5/+12
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e7c8f44ac Ninja: Restore support for compilers not defining a C++ standard level Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Jaeden Amero <kitware@patater.com> Acked-by: Martin Kojtal <martin.kojtal@arm.com> Merge-request: !7896
| * | | Ninja: Restore support for compilers not defining a C++ standard levelLingkai Dong2022-11-101-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 386465bf83 (cmTarget: add support for C++ module fileset types, 2022-04-08, v3.25.0-rc1~624^2~7), the Ninja generator checks for C++20 support using logic that requires `CMAKE_<LANG>_STANDARD_DEFAULT` to be non-empty. On some compilers, such as ARMClang, CMake does not automatically detect and set default language standards, thus causing `HaveStandardAvailable` to raise an internal error. To fix this issue, if `CMAKE_CXX_STANDARD_DEFAULT` is empty, assume all standards to be supported instead of calling `HaveStandardAvailable`. This is consistent with how `CompileFeaturesNode::Evaluate` handles this case. Fixes: #24146
* | | | Merge branch 'release-3.25'Brad King2022-11-110-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'release-3.24' into release-3.25Brad King2022-11-110-0/+0
| |\ \ \
* | \ \ \ Merge branch 'release-3.24'Brad King2022-11-110-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'expat-c-no-extensions' into release-3.24Brad King2022-11-101-0/+6
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !7899
* | \ \ \ \ Merge branch 'release-3.25'Brad King2022-11-110-0/+0
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Merge topic 'expat-c-no-extensions' into release-3.25Brad King2022-11-111-0/+6
| |\ \ \ \ \ | | | |/ / / | | |/| / / | | |_|/ / | |/| | | | | | | | | | | | | | | | | | 019af62294 expat: Activate POSIX APIs even without compiler extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7899
* | | | | Merge topic 'expat-c-no-extensions'Brad King2022-11-111-0/+6
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 019af62294 expat: Activate POSIX APIs even without compiler extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7899