summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'find_package-global-imported'Brad King2022-03-1124-1/+233
|\ | | | | | | | | | | | | | | 2f1ffa003c find_package: Add support for default GLOBAL imported targets Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6862
| * find_package: Add support for default GLOBAL imported targetsJohn Parent2022-03-1024-1/+233
| | | | | | | | | | | | | | | | | | Allow find package to promote scope of imported targets by specifying an argument to `find_package` or by specifying a CMake variable. * Add support for CMAKE_GLOBAL_IMPORT_SCOPE variable * Add support for GLOBAL argument to find_package Additionally add testing for above features.
* | Merge topic 'cuda-arch-native'Brad King2022-03-1121-11/+184
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | d1b48bfabd CUDA: Add support for CUDA_ARCHITECTURES=native 632752d62e CUDA: Add FIXME comments about deferring architecture testing 45e9ab0372 Tests: Rename CudaOnly.{All => ArchSpecial} Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7050
| * | CUDA: Add support for CUDA_ARCHITECTURES=nativeBrad King2022-03-1019-7/+177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CUDA 11.6 added the `nvcc -arch=native` flag to automatically compile for the host GPUs' architectures. Add support for specifying this special `native` value in `CMAKE_CUDA_ARCHITECTURES` and `CUDA_ARCHITECTURES`. During the compiler ABI detection step, detect the native architectures so we can pass them explicitly when using Clang or older versions of nvcc. Fixes: #22375
| * | CUDA: Add FIXME comments about deferring architecture testingBrad King2022-03-101-0/+3
| | | | | | | | | | | | Issue: #23161
| * | Tests: Rename CudaOnly.{All => ArchSpecial}Brad King2022-03-103-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | The purpose of the test is to cover special values of `CMAKE_CUDA_ARCHITECTURES`. Prepare to add more than just `all` and `all-major`. While at it, fix the `project()` name in the test to match what we pass to `ctest` with `--build-project`.
* | | Merge topic 'FindX11-xcb-components'Brad King2022-03-113-1/+63
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ce28748ced FindX11: add xcb-xtest and xcb-keysyms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7052
| * | | FindX11: add xcb-xtest and xcb-keysymsplanc2022-03-103-1/+63
| | | |
* | | | Merge topic 'test-fix-regex'Brad King2022-03-111-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5059db7c17 Tests: Fix CMake syntax warning in RunCMake.CTestCommandLine Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Frank Winklmeier <frank.winklmeier@cern.ch> Merge-request: !7062
| * | | | Tests: Fix CMake syntax warning in RunCMake.CTestCommandLineBrad King2022-03-101-1/+1
| |/ / / | | | | | | | | | | | | | | | | Fix a regex added in the test by commit 140704d443 (ctest: add option for output truncation, 2022-03-07).
* | | | CMake Nightly Date StampKitware Robot2022-03-111-1/+1
| |_|/ |/| |
* | | Merge branch 'release-3.23'Brad King2022-03-100-0/+0
|\ \ \ | |_|/ |/| |
| * | CMake 3.23.0-rc3v3.23.0-rc3Brad King2022-03-101-1/+1
| | |
* | | Merge branch 'release-3.23'Brad King2022-03-100-0/+0
|\ \ \ | |/ /
| * | Merge topic 'cuda-arch-off' into release-3.23Brad King2022-03-105-3/+27
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7024596a26 Tests: Fix testing CMAKE_CUDA_ARCHITECTURES=OFF with Clang 2a79b647fa CUDA: Restore support for CMAKE_CUDA_ARCHITECTURES=OFF Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7058
* | \ \ Merge topic 'cuda-arch-off'Brad King2022-03-105-3/+27
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 7024596a26 Tests: Fix testing CMAKE_CUDA_ARCHITECTURES=OFF with Clang 2a79b647fa CUDA: Restore support for CMAKE_CUDA_ARCHITECTURES=OFF Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7058
| * | | Tests: Fix testing CMAKE_CUDA_ARCHITECTURES=OFF with ClangBrad King2022-03-102-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | Clang does not automatically choose an architecture supported by the SDK. The `OFF` value is meant for users to provide their own architecture flags, so provide one as part of the test.
| * | | CUDA: Restore support for CMAKE_CUDA_ARCHITECTURES=OFFRobert Maynard2022-03-095-3/+9
| | | | | | | | | | | | | | | | Fixes: #23309
* | | | Merge topic 'ctest-WORKING_DIRECTORY'Brad King2022-03-102-1/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a116fd413d ctest: print WORKING_DIRECTORY property with -V Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7060
| * | | | ctest: print WORKING_DIRECTORY property with -VKevin Puetz2022-03-092-1/+9
| | | | |
* | | | | Merge branch 'release-3.23'Brad King2022-03-100-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge branch 'release-3.22' into release-3.23Brad King2022-03-100-0/+0
| |\ \ \ \
| | * \ \ \ Merge branch 'backport-3.22-ci-msvc-19.31' into release-3.22Brad King2022-03-091-4/+4
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !7059
| | * \ \ \ \ Merge branch 'irsl-oneapi-linux' into release-3.22Brad King2022-03-091-0/+1
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !7057
* | | \ \ \ \ \ Merge branch 'release-3.23'Brad King2022-03-100-0/+0
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Merge topic 'irsl-oneapi-linux' into release-3.23Brad King2022-03-101-0/+1
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3e84a06b3a IRSL: Add paths for Intel oneAPI compilers on Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7057
* | | | | | | | Merge topic 'irsl-oneapi-linux'Brad King2022-03-101-0/+1
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3e84a06b3a IRSL: Add paths for Intel oneAPI compilers on Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7057
| * | | | | | | IRSL: Add paths for Intel oneAPI compilers on LinuxAttila Krasznahorkay2022-03-091-0/+1
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They are stored in a slightly different place with oneAPI than they used to be in PSXE. A similar change was made for Windows by commit 956160bb9a (IRSL: Fix search for Windows redist files with Intel Classic compiler, 2021-09-23, v3.22.0-rc1~88^2), which left a comment about the locations relative to the Classic and oneAPI compilers. Fixes: #23310
* | | | | | | Merge branch 'release-3.23'Brad King2022-03-100-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge topic 'ci-msvc-19.31' into release-3.23Brad King2022-03-101-4/+4
| |\ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f2c303f4c7 Merge branch 'backport-3.22-ci-msvc-19.31' into ci-msvc-19.31 e66de43180 gitlab-ci: Update Windows builds to MSVC 19.31 toolset fade5b5b8c gitlab-ci: Update Windows builds to MSVC 19.31 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7059
* | | | | | | Merge topic 'ci-msvc-19.31'Brad King2022-03-101-4/+4
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f2c303f4c7 Merge branch 'backport-3.22-ci-msvc-19.31' into ci-msvc-19.31 e66de43180 gitlab-ci: Update Windows builds to MSVC 19.31 toolset fade5b5b8c gitlab-ci: Update Windows builds to MSVC 19.31 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7059
| * | | | | | Merge branch 'backport-3.22-ci-msvc-19.31' into ci-msvc-19.31Brad King2022-03-090-0/+0
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | |
| | * | | | | gitlab-ci: Update Windows builds to MSVC 19.31 toolsetBrad King2022-03-091-4/+4
| | | | | | |
| * | | | | | gitlab-ci: Update Windows builds to MSVC 19.31 toolsetBrad King2022-03-091-4/+4
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2022-03-101-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge topic 'ctest_truncate'Brad King2022-03-0929-44/+335
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 140704d443 ctest: add option for output truncation 359e5b17d8 presets: bump version to v5 4634de335b cmCTestTestHandler: refactor CleanTestOutput method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6993
| * | | | | | ctest: add option for output truncationFrank Winklmeier2022-03-0826-23/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `--test-output-truncation` to `ctest`. This option can be used to customize which part of the test output is being truncated. Currently supported values are `tail`, `middle` and `head`. Also add equivalent `CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION` variable. Fixes: #23206
| * | | | | | presets: bump version to v5Frank Winklmeier2022-03-087-8/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare for new test preset fields.
| * | | | | | cmCTestTestHandler: refactor CleanTestOutput methodFrank Winklmeier2022-03-081-16/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor the code to skip over UTF-8 multi-bytes into its own lambda function so it can more easily be re-used.
* | | | | | | Merge topic 'color-diagnostics'Brad King2022-03-0925-4/+207
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ab9fbd43b color: Add tests for CMAKE_COLOR_DIAGNOSTICS 78adb1b952 color: Add CMAKE_COLOR_DIAGNOSTICS environment variable 884d9de8b7 color: Introduce CMAKE_COLOR_DIAGNOSTICS variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Frank Dana <ferdnyc@gmail.com> Merge-request: !6990
| * | | | | | | color: Add tests for CMAKE_COLOR_DIAGNOSTICSBrad King2022-03-0812-0/+96
| | | | | | | |
| * | | | | | | color: Add CMAKE_COLOR_DIAGNOSTICS environment variableSemyon Kolton2022-03-085-1/+20
| | | | | | | |
| * | | | | | | color: Introduce CMAKE_COLOR_DIAGNOSTICS variableSemyon Kolton2022-03-0811-4/+92
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a variable to control both makefile color messages and compiler color diagnostics. Fixes: #15502
* | | | | | | Merge topic 'FindX11--xcb-randr'Brad King2022-03-093-0/+38
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 364798fa6b FindX11: Add xcb_randr library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7046
| * | | | | | | FindX11: Add xcb_randr libraryMatthew Smith2022-03-083-0/+38
| | | | | | | |
* | | | | | | | Merge branch 'release-3.23'Brad King2022-03-090-0/+0
|\ \ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | |
| * | | | | | | Merge branch 'release-3.22' into release-3.23Brad King2022-03-090-0/+0
| |\ \ \ \ \ \ \ | | | |_|_|_|/ / | | |/| | | | |
* | | | | | | | Merge branch 'release-3.22'Brad King2022-03-090-0/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge branch 'release-3.21' into release-3.22Brad King2022-03-080-0/+0
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'binutils-llvm-mt' into release-3.22Brad King2022-03-081-1/+2
| |\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | Merge-request: !7054