- Apr 21, 2025
-
-
Brad King authored
-
Brad King authored
-
Brad King authored
CUDA 12.8 deprecated support for compute architectures below 75. Presumably support will be removed from a future version of the CUDA Toolkit. Jobs using such a future version of CUDA will not be able to compile support for CUDA architectures below 75, so they will not be able to run on older hardware. In preparation, our CI runners now have `cuda-arch-#` tags for the architectures they support. Jobs may then be tagged with the minimum architecture on which they can run. Tag each job with the highest of the following requirements: * Most of CMake's tests use the CUDA compiler's default architecture, which is based on the version the CUDA toolkit. * For Clang we currently select architecture 52 if supported by the CUDA toolkit, even if that toolkit's NVCC defaults to an older arch. * The `CudaOnly.Architecture` test uses a specific architecture configured by each CI job.
-
Brad King authored
CUDA 12.8 deprecates architectures below 75. Presumably a future version will remove it. Prepare infrastructure to avoid relying on hard-coded arch 52 in this test.
-
Brad King authored
CUDA 12.8 deprecated support for compute architectures below 75. Presumably support will be removed from a future version of the CUDA Toolkit. Jobs using such a future version of CUDA will not be able to compile support for CUDA architectures below 75, so they will not be able to run on older hardware. In preparation, our CI runners now have `cuda-arch-#` tags for the architectures they support. Jobs may then be tagged with the minimum architecture on which they can run. Tag each job with the highest of the following requirements: * Most of CMake's tests use the CUDA compiler's default architecture, which is based on the version the CUDA toolkit. * For Clang we currently select architecture 52 if supported by the CUDA toolkit, even if that toolkit's NVCC defaults to an older arch. * The `CudaOnly.Architecture` test uses a specific architecture configured by each CI job.
-
Brad King authored
CUDA 12.8 deprecates architectures below 75. Presumably a future version will remove it. Prepare infrastructure to avoid relying on hard-coded arch 52 in this test.
-
- Apr 16, 2025
-
-
6e63080d macOS: Restore RPATH entry for libraries linked from /usr/local/lib 430174e6 CMakeDetermineCompilerABI: Comment implicit link directory exclusion Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !10663
-
cd4e72ca Normalize PWD environment variable before using it Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Merge-request: !10659
-
- Apr 15, 2025
-
-
Brad King authored
Since commit 7b195312 (macOS: Do not pass any SDK/-isysroot to compilers by default, 2024-11-06, v4.0.0-rc1~511^2) our default invocation of compilers targeting macOS no longer passes `-isysroot`. Without that, Xcode's compilers search `-L/usr/local/lib` by default even though the macOS dynamic loader does not. Since `/usr/local/lib` is not a fully-implemented implicit link directory, exclude it from our detected `CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES` so that our generators do not suppress `RPATH` entries for dependencies in that directory. Fixes: #26867
-
Brad King authored
-
2e9648e0 Ninja generator: restore correct encoding for policy CMP0181=OLD Acked-by:
Kitware Robot <kwrobot@kitware.com> Tested-by:
buildbot <buildbot@kitware.com> Merge-request: !10645
-
- Apr 12, 2025
-
-
Marc Chevrier authored
Fixes: #26857
-
- Apr 11, 2025
-
-
1fb7067b Help: Add 4.0 release note about file path case sensitivity on Windows Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !10639
-
Brad King authored
Since KWSys commit `4feb470ab` (SystemTools: Remove GetActualCaseForPath from CollapseFullPath, 2024-10-23), imported by commit ede7f2af (KWSys 2024-10-24 (e1acde2e), 2024-10-24, v4.0.0-rc1~589^2~1^2), the KWSys `CollapseFullPath` function that we use to normalize source file paths no longer looks up the on-disk case of file paths. This change was intentionally made to reduce unnecessary disk accesses. The change may affect Windows-only projects that were never built on a case sensitive filesystem. Call out the change in the 4.0 release notes. Issue: #26854
-
- Apr 10, 2025
-
-
Brad King authored
-
c69add95 Help: Add note about /usr/local/include on macOS without CMAKE_OSX_SYSROOT Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !10636
-
Brad King authored
Issue: #19180
-
Brad King authored
-
Brad King authored
-
2e59cee9 FindXCTest: Fix test module generation for Xcode 16 c653c1aa FindXCTest: Pass -bundle_loader linker flag for test module more reliably Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !10573
-
- Apr 09, 2025
-
-
Brad King authored
In Xcode 7.3 and above, the `TEST_HOST` setting causes Xcode to implicitly place the test module inside the executable bundle regardless of the module's own location settings. Since commit a364d251 (Xcode: Fixup XCTest bundle location for Xcode 7.3, 2016-03-25, v3.5.2~6^2) we explicitly tell CMake to put the test module in the same location so that generator expressions used by `xctest_add_test` agree with where Xcode actually puts it. In Xcode 16 and above, our explicit location settings for the test module conflict with Xcode's `TEST_HOST` rules, causing errors about multiple commands producing the same path. Fix this by dropping CMake's explicit location for the test module unless needed to match a project-specified location for the testee. Instead, teach `xctest_add_test` to express the xctest module location selected by `TEST_HOST` by using generator expressions referencing the testee bundle. Fixes: #26301 Fixes: #26514
-
2164da0a Help: Document CMAKE_OSX_SYSROOT default change in 4.0 Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !10623
-
Brad King authored
-
d736dafa Merge branch 'backport-3.31-apple-CoreFoundation-headers' 42390e7a Source: Include specific CoreFoundation headers instead of umbrella header 14ffd1cc cmXCodeObject: Drop unused CoreFoundation header Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !10616
-
Brad King authored
42390e7a Source: Include specific CoreFoundation headers instead of umbrella header 14ffd1cc cmXCodeObject: Drop unused CoreFoundation header Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !10616
-
- Apr 08, 2025
-
-
Brad King authored
-
Some CoreFoundation headers included by the umbrella header, which we do not need, use syntax that GCC does not support. Avoid including them. GCC-Issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115880
-
58054610 cmSystemTools: Simplify call to FindProgram for our own executable db0e2574 cmSystemTools: Restore FindProgram look-up of on-disk case on Windows 5d700abd Source: Simplify FindProgram calls Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !10620
-
Brad King authored
-
Brad King authored
aa64d448 macOS: Define _DARWIN_C_SOURCE in more sources Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !10619
-
f183631a Merge branch 'backport-3.31-apple-posix' into apple-posix aa64d448 macOS: Define _DARWIN_C_SOURCE in more sources Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !10619
-
- Apr 07, 2025
-
-
Brad King authored
Remove the unnecessary `FindProgramPath` wrapper. Call the KWSys `FindProgram` directly, without our CMake-specific wrapper, since we follow-up with a `ToNormalizedPathOnDisk` anyway.
-
Brad King authored
KWSys's `FindProgram` no longer looks up the actual case on disk. This behavior change was inherited from the change to `CollapseFullPath`. Extend commit 773b75e4 (cmake: Explicitly look up on-disk case of input paths on Windows, 2024-10-23, v4.0.0-rc1~589^2) to cover this by wrapping `FindProgram` in a CMake-specific layer. Issue: #20214
-
Brad King authored
Remove defaulted arguments. Remove unnecessary `.c_str()`.
-
Brad King authored
-
Restore Darwin APIs removed by `_POSIX_C_SOURCE`.
-
- Apr 04, 2025
-
-
2f9211b4 Tests: Isolate RunCMake.LinkWarningAsError from -Werror flags in environment Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !10587
-