summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ctest_test: add options INCLUDE_FROM_FILE and EXCLUDE_FROM_FILEAlex Neundorf2024-01-258-0/+58
| | | | | | | These options can be used to specify files which can be used to restrict the set of tests that will be executed. Fixes: #25455
* ctest: add command line option to exclude tests listed in a given fileAlex Neundorf2024-01-258-5/+61
| | | | | | | Add `--exclude-from-file <filename>` to exclude the tests listed in the given file. Issue: #25455
* ctest: add command line option to run the tests listed in a given fileAlex Neundorf2024-01-259-0/+93
| | | | | | | | Add `--tests-from-file <filename>` to run only the tests listed in the given file. The test names must match exactly, no regexps or something. The listed tests can still be filtered with a regexp using -R. Issue: #25455
* Merge topic 'find_library-msvc-libfoo.a'Brad King2024-01-225-1/+16
|\ | | | | | | | | | | | | c6efbd78d8 MSVC: Teach find_library to consider the 'libfoo.a' naming convention Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9173
| * MSVC: Teach find_library to consider the 'libfoo.a' naming conventionBrad King2024-01-195-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When targeting the GNU ABI, we consider `.a` libraries first but also accept `.lib`. For symmetry, when targeting the MSVC ABI, we now consider `.lib` first but also accept `.a`. This adds support for meson-generated static libraries, which are named with the pattern `lib${foo}.a`: * https://mesonbuild.com/FAQ.html#why-does-building-my-project-with-msvc-output-static-libraries-called-libfooa Note that this was previously attempted by * commit be848a71b0 (MSVC: Teach find_library to consider the 'libfoo.a' naming convention, 2022-09-19, v3.25.0-rc1~111^2) but was reverted by * commit 955d6245c1 (MSVC: Revert "Teach find_library to consider the 'libfoo.a' naming convention", 2022-11-28, v3.25.1~6^2) due to problems finding GNU ABI libraries in PATH-derived prefixes. Since then, * commit 0a81110b84 (find_(library|file|path): Drop PATH-derived search prefixes, 2023-09-14, v3.28.0-rc1~91^2) removed the problematic search paths, so we can restore this change. Fixes: #23975
* | Merge topic 'FindMPI.IntelLLVM'Brad King2024-01-221-6/+6
|\ \ | | | | | | | | | | | | | | | | | | 5e700411d2 FindMPI: add IntelLLVM MPI wrappers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9170
| * | FindMPI: add IntelLLVM MPI wrappersEisuke Kawashima2024-01-191-6/+6
| | | | | | | | | | | | | | | The Intel MPI library now provides `mpiicx`, `mpiicpx`, and `mpiifx` wrappers, which respectively use `icx`, `icpx`, and `ifx` by default.
* | | CMake Nightly Date StampKitware Robot2024-01-221-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2024-01-211-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2024-01-201-1/+1
| |/ |/|
* | Merge topic 'cuda-test-cleanup'Brad King2024-01-1920-54/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 607d271b1f Tests: Do not expect nvToolsExt in CUDA 12 toolkit 5eb26fb943 Tests: Fix CudaOnly.Toolkit coverage of npp libs af85fa7ac1 Tests: Remove unused dllexport markup from CudaOnly.DeviceLTO d40bca5a8c Tests: Remove unused iostream from CUDA sources a9bb2606c1 Tests: Fix condition adding nvcc-only flags in CudaOnly.SeparateCompilation Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !9167
| * | Tests: Do not expect nvToolsExt in CUDA 12 toolkitBrad King2024-01-182-2/+10
| | |
| * | Tests: Fix CudaOnly.Toolkit coverage of npp libsBrad King2024-01-181-1/+1
| | |
| * | Tests: Remove unused dllexport markup from CudaOnly.DeviceLTOBrad King2024-01-182-14/+2
| | | | | | | | | | | | The test does not use shared libraries.
| * | Tests: Remove unused iostream from CUDA sourcesBrad King2024-01-1815-36/+0
| | |
| * | Tests: Fix condition adding nvcc-only flags in CudaOnly.SeparateCompilationBrad King2024-01-181-1/+1
| | |
* | | Merge topic 'cuda-clang-no-link-arch'Brad King2024-01-191-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 45d53bdb70 CUDA/Clang: Do not pass explicit architecture flags when linking Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !9165
| * | | CUDA/Clang: Do not pass explicit architecture flags when linkingBrad King2024-01-181-1/+1
| |/ / | | | | | | | | | | | | | | | Clang does not use architecture flags while driving the linker: warning: argument unused during compilation: '--cuda-gpu-arch=...'
* | | Merge topic 'doc-par'Brad King2024-01-192-2/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 434bd9c0ef Help: Document {CTEST,CMAKE_BUILD}_PARALLEL_LEVEL equivalent command-line Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9168
| * | | Help: Document {CTEST,CMAKE_BUILD}_PARALLEL_LEVEL equivalent command-linescivision2024-01-182-2/+10
| |/ / | | | | | | | | | | | | Clarify that the `--parallel` option isn't needed when these env. variables are set to a finite integer.
* | | Merge topic 'matlab-env'Brad King2024-01-191-16/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f7d87b40d FindMatlab: use NAMES for find_* 9e97893147 FindMatlab: set MATLAB_ARCH per process call Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9161
| * | | FindMatlab: use NAMES for find_*scivision2024-01-171-12/+12
| | | | | | | | | | | | | | | | | | | | this improves readability especially for custom function _Matlab_find_library
| * | | FindMatlab: set MATLAB_ARCH per process callscivision2024-01-171-4/+4
| | | | | | | | | | | | | | | | this is just a best practice refactor.
* | | | Merge branch 'release-3.28'Brad King2024-01-190-0/+0
|\ \ \ \
| * \ \ \ Merge topic 'cuda-clang' into release-3.28Brad King2024-01-191-6/+8
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6251edc5a4 CUDA/Clang: Record architectures supported by Clang 16 07b7d0ceaa CUDA/Clang: Update architectures supported by CUDA 12 Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !9164
* | \ \ \ \ Merge topic 'cuda-clang'Brad King2024-01-191-6/+8
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6251edc5a4 CUDA/Clang: Record architectures supported by Clang 16 07b7d0ceaa CUDA/Clang: Update architectures supported by CUDA 12 Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !9164
| * | | | | CUDA/Clang: Record architectures supported by Clang 16Brad King2024-01-181-2/+6
| | | | | |
| * | | | | CUDA/Clang: Update architectures supported by CUDA 12Brad King2024-01-181-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 4d90f65b24 (CUDA: Update set of architectures supported by CUDA 12, 2022-12-19, v3.26.0-rc1~120^2) we incorrectly guarded dropping removed architectures by compiler id, but it is actually the CUDA 12 toolkit itself that removed support.
* | | | | | Merge branch 'release-3.28'Brad King2024-01-190-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'cxxmodules-export-file-collisions' into release-3.28Brad King2024-01-1915-45/+134
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d791f3a180 cxxmodules: make export trampoline script files unique 2352dcc830 Source: Simplify hasher object construction Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9166
* | | | | | Merge topic 'cxxmodules-export-file-collisions'Brad King2024-01-1915-45/+134
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4cd153afe3 Merge branch 'backport-cxxmodules-export-file-collisions' d791f3a180 cxxmodules: make export trampoline script files unique 2352dcc830 Source: Simplify hasher object construction Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9166
| * | | | | Merge branch 'backport-cxxmodules-export-file-collisions'Brad King2024-01-1815-45/+134
| |\ \ \ \ \ | | | |/ / / | | |/| | / | | |_|_|/ | |/| | |
| | * | | cxxmodules: make export trampoline script files uniqueBen Boeckel2024-01-1813-38/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include the name of the `EXPORT` in the filename when generating export information for C++ modules. This allows the same directory to be used for multiple sets of C++ module-using targets. For `export(TARGETS)` uses, generate a name based on the hash of the concatenation of the target names involved with the `export()` call. Fixes: #25609
| | * | | Source: Simplify hasher object constructionBrad King2024-01-182-7/+6
| | |/ /
* | | | CMake Nightly Date StampKitware Robot2024-01-191-1/+1
|/ / /
* | | Merge topic 'autogen-exe-per-config'Brad King2024-01-1833-235/+1089
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 596e84b0d5 NinjaMultiConfig: Update tests for the new dependency change 7c39dabdbc Autogen: AUTO*_EXECUTABLE: add support for per-config values Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8919
| * | | NinjaMultiConfig: Update tests for the new dependency changeOrkun Tokdemir2024-01-173-22/+85
| | | | | | | | | | | | | | | | | | | | | | | | * Tests were updated for the cases both `AUTOGEN_BETTER_GRAPH_MULTI_CONFIG` is ON and OFF This commit reimplements e454314daaed0ab5f86bba0015747eb296efb8da
| * | | Autogen: AUTO*_EXECUTABLE: add support for per-config valuesOrkun Tokdemir2024-01-1730-213/+1004
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Per-config values were added to `AUTO*_EXECUTABLE`. * Dependency order was refactored for `cmake_autogen` and `cmake_autorcc` to avoid unnecessary rebuilds. * A new parameter was added for `cmake_autogen` and `cmake_autorcc` to specify the config name of the `auto*_executable` to be used. * Add `AUTOGEN_BETTER_GRAPH_MULTI_CONFIG` target property to change the behavior of the dependency graph. * The timestamp target is split into three targets for per-config to avoid redundant `mocs_compilation` builds when `AUTOGEN_BETTER_GRAPH_MULTI_CONFIG` is ON * Per-config `DEP_FILE_RULE_NAME` values were added to `AutogenInfo.json` for `Multi-Config` usage. * Some functions were refactored to avoid code duplication. This commit reimplements fddd0f0443b4ce81d61f15ee1b2f13105967b25a Fixes: #20074
* | | | Merge topic 'fix_CTestUpdateGIT'Brad King2024-01-181-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ab1241035 Tests: Improve CTest.UpdateGIT robustness to user gitconfig Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9160
| * | | | Tests: Improve CTest.UpdateGIT robustness to user gitconfigAshish Sadanandan2024-01-171-2/+2
| | |_|/ | |/| | | | | | | | | | | | | | Previously the test failed when the user's gitconfig has `push.default=nothing` set.
* | | | Merge topic 'FindPackageMessage-strip-spaces'Brad King2024-01-181-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4ecfd1a7dc FindPackageMessage: Remove extra whitespace from messages Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9156
| * | | | FindPackageMessage: Remove extra whitespace from messagesMáté Ferenc Nagy-Egri2024-01-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | In particular, the call to `find_package_message` from FPHSA may have extra whitespace in some cases.
* | | | | Merge topic 'isspace'Brad King2024-01-1810-33/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d9d9326e14 Source: Avoid out-of-range inputs to std::isspace() 14abdc8e2b cmXMLParser: Remove unused IsSpace method Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9162
| * | | | | Source: Avoid out-of-range inputs to std::isspace()Brad King2024-01-178-23/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `isspace` takes `int` but documents that the value must be representable by `unsigned char`, or be EOF. Use a wrapper to cast to `unsigned char` to avoid sign extension while converting to `int`. This generalizes the fix from commit 5e8c176e2a (cmExecuteProcessCommand: Cast c to unsigned char before cast to int, 2024-01-05) to other `isspace` call sites. This was detected by assertions in the MSVC standard library while processing UTF-8 text. Issue: #25561
| * | | | | cmXMLParser: Remove unused IsSpace methodBrad King2024-01-172-10/+0
| | | | | |
* | | | | | Merge branch 'release-3.28'Brad King2024-01-180-0/+0
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Merge topic 'FindMatlab-fix-exact-version' into release-3.28Brad King2024-01-181-1/+12
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7060e2135c FindMatlab: Restore support for finding EXACT major.minor version 88a1392270 FindMatlab: use correct registry view when extracting versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9163
* | \ \ \ \ \ Merge topic 'FindMatlab-fix-exact-version'Brad King2024-01-181-1/+12
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7060e2135c FindMatlab: Restore support for finding EXACT major.minor version 88a1392270 FindMatlab: use correct registry view when extracting versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9163
| * | | | | | FindMatlab: Restore support for finding EXACT major.minor versionHermann von Kleist2024-01-171-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By comparing major.minor, the behavior approximately matches pre-3.28 behavior. Fixes: #25605
| * | | | | | FindMatlab: use correct registry view when extracting versionsHermann von Kleist2024-01-171-0/+1
| |/ / / / /