- Apr 04, 2023
-
-
Brad King authored
-
Brad King authored
-
Brad King authored
-
Brad King authored
Merge-request: !8392
-
Brad King authored
Merge-request: !8392
-
Brad King authored
Merge-request: !8392
-
Brad King authored
On some Xcode versions, `xcodebuild` may warn: ... xcodebuild[...] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default Teach RunCMake to drop such incidental lines before matching against expected output.
-
Brad King authored
-
Brad King authored
-
Brad King authored
- Apr 03, 2023
-
-
Brad King authored
Merge-request: !8388
-
Brad King authored
Merge-request: !8388
-
Brad King authored
Merge-request: !8388
-
Brad King authored
Previously we tried to match output from `xcodebuild` to detect the path to the `swiftc` tool. This approach is used for C and CXX for historical reasons, but is unnecessary for Swift. We know the name of the tool, so we can just ask `xcrun --find swiftc`. Fixes: #24666
-
Brad King authored
-
4da50fe3 VS: Remove extra try_compile argument in Intel Fortran check Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !8383
-
- Mar 31, 2023
-
-
Brad King authored
Merge-request: !8383
-
- Mar 29, 2023
-
-
006e1995 Swift: Restore compatibility with old C++ driver Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !8365
- Mar 28, 2023
-
-
a67cd9c3 Ninja: Restore slash style for MinGW tools when extra languages are enabled Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Merge-request: !8368
- Mar 27, 2023
-
-
Brad King authored
Since commit f3ca199c (cmGlobalNinjaGenerator: Factor out GNU-like command-line detection on Windows, 2023-03-18, v3.26.1~2^2~6), we accidentally "unrecognize" MinGW tools on Windows if a language other than C or CXX is enabled. This causes the wrong slash style to be generated in paths in `build.ninja`. Fixes: #24642
-
01d7860f Ninja,Makefile: Restore Fortran module scanning in static library cycle 846baa7c cmGlobalGenerator: Factor out helper to check target ordering Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Merge-request: !8363
-
- Mar 24, 2023
-
-
Brad King authored
Since * commit eed295fd (cmGlobalNinjaGenerator: require that dependency info files work, 2023-02-01, v3.26.0-rc1~1^2~1), and * commit 13810dee (cmDependsFortran: require that dependency info files work, 2023-02-01, v3.26.0-rc1~1^2), the Ninja and Makefile generators' module dependency scanning requires that scanning results from from linked targets is available before scanning the current target. In the case of a static library cycle, we cannot expect this information from other static libraries in the cycle. Previously we supported cyclic cases at the cost of silently ignoring missing information. We already compute a global order of targets that respects all `add_dependencies`, but may break `target_link_libraries` dependencies that occur in a static library cycle. Use this order to filter the linked targets so we only expect scanning results to be available from those targets that build before the current target. This approach is sufficient to support module dependency scanning in static library cycles as long as module dependencies do not cross between two libraries in the same cycle. Fixes: #24631
-
Brad King authored
-
- Mar 23, 2023
-
-
a6bb4975 FindHDF5: Restore parallel HDF5 detection with only CXX enabled Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
buildbot <buildbot@kitware.com> Merge-request: !8355
- Mar 22, 2023
-
-
Brad King authored
Since commit 14c46fb1 (FindHDF5: Find C component with only CXX compiler, 2022-12-13, v3.26.0-rc1~175^2), if CXX is enabled but C is not, the `_HDF5_test_regular_compiler_C` helper writes a `.cpp` source but the `_HDF5_invoke_compiler` still expects a `.c` source. Refactor the logic to select a name for the source file up front, and use it in both helpers. Fixes: #24627 Issue: #24241
-
- Mar 21, 2023
-
-
1b7c26da Ninja: Wrap rules using '>' shell redirection with 'cmd /C' on Windows ffd8537a Clang: Record Clang 16.0 C++ modules flags only for GNU-like front-end 60132272 cmGlobalNinjaGenerator: Use forward slashes in clang modmap format on Windows d9d74b5e cmDyndepCollation: Drop outdated mentions of CXX_MODULE_INTERNAL_PARTITIONS edab56d2 cmLocalNinjaGenerator: De-duplicate condition for using 'cmd /C' on Windows 8ebe3f92 cmGlobalNinjaGenerator: Detect GNU-like command-line for dyndep collator f3ca199c cmGlobalNinjaGenerator: Factor out GNU-like command-line detection on Windows f79817fc cmCxxModuleMapper: Use value semantics in path conversion callback ... Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !8346
-
843fc607 Ninja: Restore detection of clang-cl showIncludes prefix 3346570a Tests: Comment RunCMake.Ninja ShowIncludes sample input languages Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !8344
-
4c902d67 FindPython: ensure Stable ABI is correctly handled Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !8345
-
- Mar 20, 2023
-
-
Brad King authored
This is needed for the clang-scan-deps rule added by commit 0e21e55fc5 (Clang: Record Clang 16.0 C++ modules flags only for GNU-like front-end, 2023-03-16). Fixes: #24611
-
Brad King authored
The settings added by commit 3fe8e33f (Clang: Record Clang 16.0 flags for our experimental C++ modules support, 2023-03-03, v3.26.0-rc6~6^2) work only for the GNU-like `clang++` front-end, and not for the MSVC-like `clang-cl` on Windows. Also quote the path to `clang-scan-deps` to support spaces in its path. Issue: #24611
-
Since commit 8f82e755 (Ninja: Fix detection of MSVC showIncludes prefix in Italian, 2023-01-26, v3.26.0-rc1~20^2) our regex no longer matches the output from `clang-cl`, which uses a relative path, forward slashes, and is always in English [1]: Note: including file: ./foo.h Update the regex to match that too. [1] https://github.com/llvm/llvm-project/blob/llvmorg-16.0.0/clang/lib/Frontend/HeaderIncludeGen.cpp#L102 Co-authored-by:
Brad King <brad.king@kitware.com>
-
Brad King authored
-
Fixes: #24610
-