summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ci-FindHDF5'Brad King2023-03-301-19/+31
|\ | | | | | | | | | | | | | | | | | | | | | | d38c752de2 ci: Enable FindHDF5 tests on Linux builds 28c4945a8a ci: Add HDF5 to Debian and Fedora base images ad9e151045 Tests: Add cases covering FindHDF5 variables and imported targets 0e87e6c1a4 Tests: Add FindMPI test environment modification option ee075a53c8 FindHDF5: Record compiler wrapper checks to configure log 72915b1068 FindHDF5: Fix compiler wrapper checks with spaces in path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8378
| * FindHDF5: Record compiler wrapper checks to configure logBrad King2023-03-291-9/+21
| |
| * FindHDF5: Fix compiler wrapper checks with spaces in pathBrad King2023-03-291-10/+10
| | | | | | | | | | | | Some HDF5 compiler wrappers do not support source file paths that contain spaces. Pass source files to them using a file name in the current working directory to avoid spaces.
* | Merge topic 'FindOpenAL-framework'Brad King2023-03-301-12/+10
|\ \ | |/ |/| | | | | | | | | | | | | | | f05bd762f5 ci: Enable FindOpenAL test on macOS jobs 1d06554fc6 Tests: Fix FindOpenAL test for macOS framework 5f5476ee31 FindOpenAL: Fix imported target for macOS framework Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8373
| * FindOpenAL: Fix imported target for macOS frameworknega2023-03-291-12/+10
| | | | | | | | | | | | If a framework is found, specify it through `INTERFACE_LINK_LIBRARIES` because `IMPORTED_LOCATION` requires a file and not a framework directory.
* | Merge topic 'swift-old-driver'Brad King2023-03-293-3/+72
|\ \ | |/ |/| | | | | | | | | 006e1995eb Swift: Restore compatibility with old C++ driver Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8365
| * Swift: Restore compatibility with old C++ driverYR Chen2023-03-283-3/+72
| | | | | | | | | | | | | | | | | | The `-wmo` flag added by commit 6063428de7 (Swift: Update default build flags, 2022-10-03, v3.26.0-rc1~585^2~1) behaves differently with the old driver. Detect when the old driver is being used, and avoid adding that flag. Fixes: #24641
* | Merge topic 'FindPython-Windows-ARM'Brad King2023-03-281-26/+84
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 9913c28ebb FindPython: Add Windows/ARM support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: David Lechner <david@lechnology.com> Merge-request: !8354
| * | FindPython: Add Windows/ARM supportMarc Chevrier2023-03-261-26/+84
| | | | | | | | | | | | Fixes: #24587
* | | Merge topic 'crosscompiling-warn-reset'Brad King2023-03-271-0/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4d23636694 Warn if CMAKE_CROSSCOMPILING is true without CMAKE_SYSTEM_NAME set Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8358
| * | | Warn if CMAKE_CROSSCOMPILING is true without CMAKE_SYSTEM_NAME setMartin Storsjö2023-03-241-0/+7
| | | | | | | | | | | | | | | | | | | | Also clarify the `CMAKE_CROSSCOMPILING` documentation to state that CMake sets the variable automatically.
* | | | Merge topic 'ibmclang-aix-thin-lto'Brad King2023-03-241-1/+4
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | 79622d4a3e IBMClang: No thin LTO on AIX Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Rob Boehne <robb@datalogics.com> Merge-request: !8357
| * | | IBMClang: No thin LTO on AIXNicole Rabjohn2023-03-231-1/+4
| |/ / | | | | | | | | | AIX does not yet support thin LTO.
* | | Merge topic 'FindHDF5-CXX-without-C'Brad King2023-03-231-38/+28
|\ \ \ | |/ / |/| / | |/ | | | | | | | | a6bb4975ab 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
| * FindHDF5: Restore parallel HDF5 detection with only CXX enabledBrad King2023-03-221-38/+28
| | | | | | | | | | | | | | | | | | | | | | | | Since commit 14c46fb16a (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
| * Merge topic 'clang-windows-cxx-modules' into release-3.26Brad King2023-03-211-13/+15
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1b7c26da49 Ninja: Wrap rules using '>' shell redirection with 'cmd /C' on Windows ffd8537acf Clang: Record Clang 16.0 C++ modules flags only for GNU-like front-end 6013227230 cmGlobalNinjaGenerator: Use forward slashes in clang modmap format on Windows d9d74b5e8a cmDyndepCollation: Drop outdated mentions of CXX_MODULE_INTERNAL_PARTITIONS edab56d29a cmLocalNinjaGenerator: De-duplicate condition for using 'cmd /C' on Windows 8ebe3f92b3 cmGlobalNinjaGenerator: Detect GNU-like command-line for dyndep collator f3ca199c9b cmGlobalNinjaGenerator: Factor out GNU-like command-line detection on Windows f79817fcf0 cmCxxModuleMapper: Use value semantics in path conversion callback ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8346
| * \ Merge topic 'clang-cl-showIncludes' into release-3.26Brad King2023-03-211-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 843fc607de Ninja: Restore detection of clang-cl showIncludes prefix 3346570ae9 Tests: Comment RunCMake.Ninja ShowIncludes sample input languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8344
* | \ \ Merge topic 'FindCUDATooklit-mark-as-advanced'Brad King2023-03-211-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9be0063d98 FindCUDAToolkit: mark a few variables as advanced Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !8343
| * | | | FindCUDAToolkit: mark a few variables as advancedAndrey Alekseenko2023-03-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | - CUDAToolkit_BIN_DIR (was already "advanced" sometimes) - CUDAToolkit_CUPTI_INCLUDE_DIR
* | | | | Merge topic 'clang-windows-cxx-modules'Brad King2023-03-211-13/+15
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1b7c26da49 Ninja: Wrap rules using '>' shell redirection with 'cmd /C' on Windows ffd8537acf Clang: Record Clang 16.0 C++ modules flags only for GNU-like front-end 6013227230 cmGlobalNinjaGenerator: Use forward slashes in clang modmap format on Windows d9d74b5e8a cmDyndepCollation: Drop outdated mentions of CXX_MODULE_INTERNAL_PARTITIONS edab56d29a cmLocalNinjaGenerator: De-duplicate condition for using 'cmd /C' on Windows 8ebe3f92b3 cmGlobalNinjaGenerator: Detect GNU-like command-line for dyndep collator f3ca199c9b cmGlobalNinjaGenerator: Factor out GNU-like command-line detection on Windows f79817fcf0 cmCxxModuleMapper: Use value semantics in path conversion callback ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8346
| * | | | Clang: Record Clang 16.0 C++ modules flags only for GNU-like front-endBrad King2023-03-201-13/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The settings added by commit 3fe8e33f27 (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
* | | | | Merge topic 'clang-cl-showIncludes'Brad King2023-03-211-1/+1
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 843fc607de Ninja: Restore detection of clang-cl showIncludes prefix 3346570ae9 Tests: Comment RunCMake.Ninja ShowIncludes sample input languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8344
| * | | | Ninja: Restore detection of clang-cl showIncludes prefixYR Chen2023-03-201-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 8f82e755f3 (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>
* | | | Merge topic 'FindPython-SOSABI-handling'Brad King2023-03-212-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a71c88d4d Merge branch 'backport-3.26-FindPython-SOSABI-handling' 4c902d675b FindPython: ensure Stable ABI is correctly handled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8345
| * \ \ \ Merge branch 'backport-3.26-FindPython-SOSABI-handling'Brad King2023-03-202-2/+2
| |\ \ \ \ | | |_|/ / | |/| | / | | | |/ | | |/|
| | * | FindPython: ensure Stable ABI is correctly handledMarc Chevrier2023-03-202-2/+2
| | |/ | | | | | | | | | Fixes: #24610
| | * Merge topic 'CMakePackageConfigHelpers-ARCH_INDEPENDENT' into release-3.26Brad King2023-03-171-1/+1
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6988ddf8ac WriteBasicConfigVersionFile: Fix regression in ARCH_INDEPENDENT check Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8337
* | | | Help: Replace link with its permanent redirectBrad King2023-03-181-1/+1
|/ / /
* | | Merge topic 'iar-version-correction'Brad King2023-03-171-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 9df52c7f1c IAR: Version update for arm assembler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8332
| * | | IAR: Version update for arm assemblerJoakim Lönnberg2023-03-161-1/+1
| | | |
* | | | Merge topic 'FindCUDA-mark-option-as-advanced'Brad King2023-03-171-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb86afebc4 FindCUDA: Mark CUDA_rt_LIBRARY as advanced Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8333
| * | | | FindCUDA: Mark CUDA_rt_LIBRARY as advancedAndrey Alekseenko2023-03-161-0/+1
| | | | |
* | | | | Merge topic 'recognize-f03-f08-extensions'Brad King2023-03-171-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 18f585e371 Fortran: Recognize f03, F03, f08 and F08 as extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8330
| * | | | | Fortran: Recognize f03, F03, f08 and F08 as extensionsTarun Prabhu2023-03-161-1/+1
| | |/ / / | |/| | |
* | | | | Merge topic 'CMakePackageConfigHelpers-ARCH_INDEPENDENT'Brad King2023-03-171-1/+1
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 6988ddf8ac WriteBasicConfigVersionFile: Fix regression in ARCH_INDEPENDENT check Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8337
| * | | | WriteBasicConfigVersionFile: Fix regression in ARCH_INDEPENDENT checkBrad King2023-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 77982de955 (CMakePackageConfigHelpers: only emit arch check if needed, 2023-01-29, v3.26.0-rc1~16^2) did not correctly preserve the check for empty `CMAKE_SIZEOF_VOID_P`. Fix it. The difference between the version files generated before and after is: -if(CMAKE_SIZEOF_VOID_P STREQUAL "" OR "8" STREQUAL "") +if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "") This restores the check generated before the above-mentioned commit. Fixes: #24608
* | | | | Merge topic 'FindMatlab-R2023a'Brad King2023-03-171-0/+1
|\ \ \ \ \ | |_|_|/ / |/| | | / | | |_|/ | |/| | | | | | | | | | 58ab34d88a FindMatlab: add version/release map for R2023a Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8334
| * | | FindMatlab: add version/release map for R2023ascivision2023-03-161-0/+1
| |/ /
* | | Merge topic 'doc_varreq'Brad King2023-03-1629-704/+460
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 9e1b30121f Help:toolchain: refer to CheckSourceCompiles cf48022dc5 Help:Check*: include CMAKE_REQUIRED_* vars to dedupe Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8300
| * | Help:Check*: include CMAKE_REQUIRED_* vars to dedupescivision2023-03-1429-704/+460
| | | | | | | | | | | | | | | | | | CMAKE_REQUIRED_FLAGS now notes that space-delimited string, not ;-list is required, which could be surprising compared to similar options that do use ;-list
* | | Merge topic 'iar-improve-asm'Brad King2023-03-152-27/+63
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 21f19d6af7 IAR:Improved assembler support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8323
| * | | IAR:Improved assembler supportJoakim Lönnberg2023-03-142-27/+63
| | | |
* | | | Merge topic 'incneed'Brad King2023-03-148-23/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 03c6ebf2b5 Modules:Check,GenerateExportHeader: include only what's needed Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8311
| * | | | Modules:Check,GenerateExportHeader: include only what's neededscivision2023-03-138-23/+17
| | |/ / | |/| | | | | | | | | | | | | | | | | | GenerateExportHeader had a hidden state requirement that other modules were included first. Considering include_guard, Modules should include all they actually use.
* | | | Merge topic 'support_cubin_fatbin_optix_cuda_output'Brad King2023-03-142-1/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2def6a874b CUDA: Add support for CUBIN, FATBIN, and OPTIXIR compilation Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8259
| * | | | CUDA: Add support for CUBIN, FATBIN, and OPTIXIR compilationRobert Maynard2023-03-132-1/+5
| | | | |
* | | | | Merge topic 'revert-CheckCompilerFlag-clang-argument-unused'Brad King2023-03-143-4/+8
|\ \ \ \ \ | |_|/ / / |/| | | / | | |_|/ | |/| | | | | | | | | | | | | | | | | | 97fcd3bd30 CheckCompilerFlag: Revert 'Match the Clang "argument unused" output ...' Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8322
| * | | CheckCompilerFlag: Revert 'Match the Clang "argument unused" output ...'Brad King2023-03-133-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 5b45a3d0ce (CheckCompilerFlag: Match the Clang "argument unused" output for all languages, 2023-01-23, v3.26.0-rc1~38^2). It broke existing projects that were silently tolerating unrelated unused arguments in their checks for C and CXX. For example, using `CFLAGS=-nostdinc` or `CXXFLAGS=-nostdinc++` causes those flags to be used when driving the linker as well, and Clang warns they are unused in that case. Add a test case covering the now-restored behavior. Fixes: #24591
| * | | Merge topic 'clang-16-cxx-modules' into release-3.26Brad King2023-03-061-0/+14
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3fe8e33f27 Clang: Record Clang 16.0 flags for our experimental C++ modules support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !8285
| * \ \ \ Merge topic 'GoogleTest-type-param-suite' into release-3.26Brad King2023-03-061-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9aa9032266 GoogleTest: Restore suite name for type-parametrized tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8282