Commit Graph

860 Commits

Author SHA1 Message Date
Ben Boeckel
23cbeb5035 ci: enable build_database CXXModules tests 2024-09-03 10:05:40 -04:00
Brad King
61039ae8f1 ci: Enable IAR test on some Debian jobs in nightly pipeline
Closes: #23308
2024-08-29 13:19:15 -04:00
Brad King
15136efedc ci: Add IAR compiler package dependencies to Debian image 2024-08-27 10:22:03 -04:00
Brad King
15dc1a357b ci: Update LLVM/Clang to 18.1 in nightly CI jobs on Windows 2024-08-22 11:47:50 -04:00
Brad King
9e4bba8e12 Merge topic 'ci-xcode-15.4'
a05de59029 gitlab-ci: update macOS jobs to use Xcode 15.4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9761
2024-08-21 08:50:31 -04:00
Brad King
0e217de343 Merge topic 'ci-xcode-15.4' into release-3.30
a05de59029 gitlab-ci: update macOS jobs to use Xcode 15.4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9761
2024-08-21 08:50:23 -04:00
Brad King
07753f064c Merge topic 'ci-msvc-14.41'
c89ddecb94 gitlab-ci: Update Windows builds to MSVC 14.41 toolset

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9763
2024-08-21 08:47:10 -04:00
Brad King
c89ddecb94 gitlab-ci: Update Windows builds to MSVC 14.41 toolset 2024-08-20 15:27:43 -04:00
Brad King
a05de59029 gitlab-ci: update macOS jobs to use Xcode 15.4 2024-08-20 14:58:19 -04:00
Brad King
dfe196c7b1 Merge topic 'swift-test-windows'
0b0c70d1bf Swift: Enable SwiftMixLib Test on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9746
2024-08-20 11:47:52 -04:00
Brad King
67a92743ab Merge topic 'ci-ninja-1.12.1'
6fb9e92238 ci: update to use ninja 1.12.1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9756
2024-08-20 11:21:01 -04:00
Evan Wilde
0b0c70d1bf
Swift: Enable SwiftMixLib Test on Windows
The SwiftMixLib test was failing on Windows due to a missing link
against swiftCore. On macOS and Linux, there are mechanisms for
extracting the libraries that the object depends on and passing that to
the linker so that the library dependencies don't need to be listed
explicitly. The Windows Swift toolchain does not have this mechanism.

In the future, it would likely make sense for CMake to pass some of the
implicitly required libraries for linking Swift via
`CMAKE_Swift_IMPLICIT_LINK_LIBRARIES`. Unlike the normal mechanisms
though, these libraries would need to be passed even when the link
language is Swift.

For now though, we should get the test up and running again.

Fixes: #25573
2024-08-19 11:54:12 -07:00
Brad King
6fb9e92238 ci: update to use ninja 1.12.1 2024-08-19 13:41:42 -04:00
Brad King
aff38fed4f ci: Add nightly jobs for LFortran on Fedora 2024-07-23 10:29:02 -04:00
Brad King
a0def56402 ci: Add lfortran to Fedora base image 2024-07-23 10:28:41 -04:00
Brad King
e544859c8d Merge topic 'ci-cmake-update'
927300d4a0 ci: Update CMake version to 3.30.1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9671
2024-07-19 10:05:51 -04:00
Brad King
927300d4a0 ci: Update CMake version to 3.30.1 2024-07-18 09:59:36 -04:00
Brad King
9f94c55864 Merge topic 'ci-cmake-update'
1fe21da240 ci: Update CMake version to 3.30.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9638
2024-07-03 08:27:42 -04:00
Brad King
1fe21da240 ci: Update CMake version to 3.30.0 2024-07-02 13:01:39 -04:00
Brad King
583abd88ed Merge topic 'ci-cmake-update'
bd84ed18a7 ci: Update CMake version to 3.30.0-rc4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9624
2024-06-26 08:37:41 -04:00
Brad King
bd84ed18a7 ci: Update CMake version to 3.30.0-rc4 2024-06-24 14:30:04 -04:00
Brad King
8189aa2818 Merge topic 'ci-download-cleanup'
b7c067c214 ci: Remove dependency archives immediately after extraction

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9602
2024-06-15 07:27:06 -04:00
Brad King
b7c067c214 ci: Remove dependency archives immediately after extraction
This keeps the work directory cleaner while a CI job runs.
2024-06-14 11:22:14 -04:00
Brad King
4e2037032d ci: Update CMake version to 3.30.0-rc3 2024-06-14 10:22:11 -04:00
Brad King
f6c2f64d04 Utilities/Release: Update MSI generation to use WIX 4 2024-06-10 11:22:15 -04:00
Brad King
a8cecc3b7f ci: Update CMake version to 3.30.0-rc1 2024-06-06 10:43:52 -04:00
Brad King
0070708ae1 gitlab-ci: Update Windows builds to MSVC 14.40 toolset 2024-05-30 14:23:47 -04:00
Brad King
fd8c782ded ci: Update to IntelLLVM 2024.1.0 on Windows 2024-05-30 14:20:03 -04:00
Brad King
c299fd8266 Tests/CompileFeatures: Cover hip_std_## meta-features 2024-05-28 14:36:50 -04:00
Brad King
b9ea0d9f12 ci: Enable CPack NuGet generator tests in a nightly job on Windows
Drop the environment-based heuristic.
2024-05-14 15:02:41 -04:00
Brad King
0d44d2ea1a ci: Add scripts to add nuget to job environment on Windows 2024-05-14 14:55:07 -04:00
Brad King
31884a7146 ci: Add nightly job to build CMake with vendored curl on macOS
We now build with the system curl on macOS by default.
Explicitly test that the vendored curl still works.
2024-05-09 14:58:26 -04:00
Brad King
d3cbee99e3 macOS: Prefer building with system-provided curl
Our vendored curl only enables the Secure Transport backend by default
(`CURL_SSL_BACKEND=secure-transport`), but it is limited to TLS 1.2.

The macOS SDK provides the curl development components, and the
corresponding `libcurl.4.dylib` runtime library comes with macOS.
On macOS 12 and above, the default `CURL_SSL_BACKEND=openssl`
backend seems to be capable of selecting TLS 1.3 at runtime for
https connections.

Unfortunately the macOS version of curl, even on macOS 14.4, does
not accept `CURL_SSLVERSION_TLSv1_3` at runtime to enforce TLS 1.3.
However, while our vendored curl accepts the option and passes it
to Secure Transport, macOS does not actually enforce it anyway.

Fixes: #25870
Fixes: #23701
2024-05-09 14:58:06 -04:00
Brad King
99a6cb0538 ci: Host our own URL to test expected TLS_VERIFY failure
Avoid unnecessary load on an external resource.
2024-05-08 10:45:12 -04:00
Brad King
acb84096ca Tests/RunCMake/file-DOWNLOAD: Add option to control TLS_VERIFY failure URL 2024-05-08 10:44:53 -04:00
Brad King
7f9817b7cb Remove unnecessary executable permission from .ps1 scripts
Powershell scripts cannot be launched as commands on Windows.
They must be run through the `powershell` or `pwsh` tool.
2024-04-30 09:33:44 -04:00
Brad King
acf1179e74 ci: Verify that C++26 modes work with GCC and Clang on Fedora 2024-04-24 16:46:12 -04:00
Brad King
b05f94fa10 ci: Enable FindOpenACC tests in LLVM/Clang jobs on Fedora
Test commit 30962830dc (FindOpenACC: Add support for the Clang Compiler,
2024-02-01, v3.29.0-rc1~37^2) now that we have Clang 18.
2024-04-24 16:46:12 -04:00
Brad King
c722bde0e3 ci: Enable FindOpenACC test for each language independently 2024-04-24 16:46:11 -04:00
Brad King
b84b0fdd89 ci: Enable FindOpenMP tests in LLVM/Clang jobs on Fedora 2024-04-24 16:46:11 -04:00
Brad King
4590255c63 ci: Subsume GCC C++ modules testing in main Fedora jobs
Fedora 40 comes with a RedHat branch of GCC 14.0, which supports
the features we need for C++ modules.
2024-04-24 16:46:11 -04:00
Brad King
9c004ddb3d ci: use Fedora 40 images and environments
Leave the HIP-specific job on Fedora 39 for now.

Issue: #25932
2024-04-24 16:45:20 -04:00
Brad King
0f56cc9a4e ci: update Linux image to Fedora 40
Drop ROCm HIP packages from the image in favor of the dedicated
Fedora 39 base image we use for that job.

Issue: #25932
2024-04-24 16:43:00 -04:00
Brad King
3a44b8dfc0 ci: Move job for HIP tests on Fedora 39 to a dedicated base image
The ROCm 6 HIP packages on Fedora 40 do not seem to fully
work for our test suite in CI jobs.  Use a dedicated image
to run our HIP tests on Fedora 39 so that the rest of our
Fedora jobs can be moved to Fedora 40 later.

Issue: #25932
2024-04-24 16:41:52 -04:00
Brad King
d909ea2ed8 ci: Add an image for ROCm 5 HIP packages on Fedora 39
The ROCm 6 HIP packages on Fedora 40 do not seem to fully
work for our test suite in CI jobs.  Add a dedicated image
to run our HIP tests on Fedora 39.

Issue: #25932
2024-04-24 16:41:15 -04:00
Brad King
bf973c41e5 ci: Factor out scripts to add sccache to job environment 2024-04-22 18:22:11 -04:00
Brad King
b0f7aebc77 ci: Factor out scripts to add ninja to job environment 2024-04-22 18:17:28 -04:00
Brad King
ef3495f74f ci: Factor out scripts to add cmake to job environment 2024-04-22 18:16:39 -04:00
Brad King
fb0990ef04 Tests/CompileFeatures: Cover cuda_std_## meta-features 2024-04-19 08:39:15 -04:00
Brad King
f494bbaf8f Merge topic 'FindBacktrace-imported-library'
9433755e5d FindBacktrace: Add imported library

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9406
2024-04-16 08:51:59 -04:00
David Faure
9433755e5d FindBacktrace: Add imported library
This is to avoid (a future version of) Qt from having to wrap
FindBacktrace like [1].

[1] https://code.qt.io/cgit/qt/qtbase.git/tree/cmake/FindWrapBacktrace.cmake
2024-04-15 13:27:23 -04:00
Ben Boeckel
19341e2582 ci: enable import_std23 C++ module tests on MSVC 2024-04-11 10:19:44 -04:00
Brad King
c6408577d6 ci: Enable FindJasper test on Fedora 2024-04-10 12:21:13 -04:00
Brad King
28f4941bc7 ci: Add Jasper to Fedora base image 2024-04-10 12:20:34 -04:00
Raul Tambre
f21dbf8f26 C++26: Fix C++/CUDA/HIP compile feature support
In commit f808d8afb9 (CMake: Support upcoming C++26 language level,
2022-08-19, v3.25.0-rc1~218^2) we forgot some necessary scaffolding.

Fixes: #25819
2024-04-09 11:38:59 +03:00
Brad King
679a57c10e Merge topic 'test-compile-features'
31acc90abe ci: Record expected C and CXX language standard support
c37e279014 Tests/CompileFeatures: Cover c_std_## and cxx_std_## meta-features
58cd9ee03c Tests/CompileFeatures: Factor out headers to compute C and C++ standard levels

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9401
2024-04-08 18:10:58 -04:00
Brad King
c7a97873c8 ci: add jobs testing cuda12.2 with nvcc and clang 18 2024-04-05 15:21:34 -04:00
Brad King
fa57e52360 ci: add cuda12.2 base image 2024-04-05 15:12:23 -04:00
Brad King
31acc90abe ci: Record expected C and CXX language standard support
Explicitly enable standard levels in the `CompileFeatures` test that are
expected to work in each job regardless of whether compiler inspection
detects support.
2024-04-05 07:38:58 -04:00
Brad King
b0315c83dc ci: package .zip source archives using LF newlines
Previously we provided a `.zip` archive with CRLF newlines and a
`.tar.gz` archive with LF newlines.  This is no longer consistent
with modern conventions.  Use LF newlines in both.

Fixes: #25467
2024-04-01 10:53:11 -04:00
Brad King
8b16de9e84 ci: package source archives using consistent command-line quoting conventions 2024-04-01 10:36:07 -04:00
Brad King
03884f4f32 CPack/WIX: Add support for WiX Toolset v4
Add a `CPACK_WIX_VERSION` option to specify version WiX for
which the project is configured.

Fixes: #23910
2024-03-24 15:26:39 -04:00
Brad King
cfe5bbdc54 ci: Add scripts to provide WiX 4 package on Windows
Run `.gitlab/ci/repackage/wix.ps1` with `-version 4.0.4`
and host the package file ourselves.
2024-03-24 15:26:39 -04:00
Brad King
c8e2694679 ci: Add script to repackage WiX .NET tool for our needs
WiX Toolset 4+ is provided only via nuget packages.  Add a script to
repackage the parts we need for CMake's own testing and packaging.
2024-03-24 15:26:31 -04:00
Brad King
7c326643ad Merge topic 'file-RPATH-large-ELF'
615a1c6691 cmELF: Get correct section count for large ELF binaries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9310
2024-03-24 14:34:23 -04:00
Martin Duffy
615a1c6691 cmELF: Get correct section count for large ELF binaries
Fixes: #24877
2024-03-22 10:18:06 -04:00
Brad King
eb403bb7b4 Tests: Pass path to WiX 3 into RunCMake.CPack_WIX test
Avoid requiring its location to be in the PATH environment variable.
2024-03-19 19:46:07 -04:00
Brad King
cb1b2dc664 ci: Provide WiX 3 in PATH of jobs that need it
Drop the `WIX` environment variable.
2024-03-14 13:09:57 -04:00
Brad King
b71b6300e5 ci: Provide WiX 3 in versioned location
Prepare to provide multiple WiX major versions for testing.
2024-03-14 11:51:04 -04:00
Brad King
1edb2b409a Merge topic 'ci-xcode-15.3'
682767e8a5 Merge branch 'backport-3.28-ci-xcode-15.3'
e572986231 LinkerId: Update detection of linker tool for Xcode 15.3
8a6d05aa9d gitlab-ci: update macOS jobs to use Xcode 15.3
7bf893bc30 Tests: Update RunCMake.CheckCompilerFlag for Xcode 15.3
7f5f0ab4b3 Tests: Update RunCMake.CompileFeatures for Xcode 15.3

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9333
2024-03-13 10:51:13 -04:00
Brad King
682767e8a5 Merge branch 'backport-3.28-ci-xcode-15.3' 2024-03-12 09:49:17 -04:00
Brad King
8a6d05aa9d gitlab-ci: update macOS jobs to use Xcode 15.3 2024-03-12 09:29:45 -04:00
Brad King
b024732b19 ci: Explicitly enable CPackWiXGenerator test only in specific jobs
Drop the environment-based heuristic.
2024-03-11 12:23:18 -04:00
Brad King
bb261818f4 ci: Explicitly build WiX custom action in packaging jobs
Drop the environment-based heuristic.
2024-03-11 11:59:19 -04:00
Brad King
ac5aa7f1bf ci: Explicitly specify WiX architecture in packaging jobs 2024-03-11 11:59:18 -04:00
Brad King
c1616c98bf ci: Move job settings away from unrelated comment 2024-03-11 11:59:18 -04:00
Vito Gamberini
7cf45c9e6a
ASM_NASM: Improve support for standalone usage
* Add tests for standalone NASM usage

* Change generic ASM_NASM executable linker to <CMAKE_LINKER>

* Use CMAKE_SYSTEM_PROCESSOR to determine output format when used
  without a C/CXX compiler
2024-03-04 13:09:58 -05:00
Brad King
47bc42b5ac ci: Add nasm assembler to Debian and Fedora base images 2024-03-04 12:12:58 -05:00
Brad King
2c324f2ea2 ci: Explicitly disable Java tests on more Windows jobs
Extend the change from commit 840fa28d3d (ci: Explicitly disable Java
tests on Windows, 2021-12-16, v3.22.2~17^2) to cover NMake, JOM, and
Ninja Multi-Config jobs.
2024-03-01 09:06:40 -05:00
Brad King
71fea8fbf5 ci: Enable VSAndroid test in VS 2022 nightly job 2024-02-29 13:58:42 -05:00
Brad King
85b28c8f83 ci: Enable VSAndroid test in VS 2019 nightly job 2024-02-29 13:58:16 -05:00
Brad King
a0f85760ac gitlab-ci: add rules to suppress jobs in a nightly pipeline schedule 2024-02-29 11:59:05 -05:00
Brad King
8e6776b9f3 file(DOWNLOAD|UPLOAD): Add TLS_VERSION option for https connections
Add an option to specify the minimum allowed TLS version for https
connections.

Issue: #25701
2024-02-28 08:40:14 -05:00
Brad King
7ff3099e84 Merge topic 'FindOpenMP-intel-oneapi-windows'
6c09451ed3 ci: Enable FindOpenMP tests in Intel nightly CI jobs on Windows
d427bfae61 FindOpenMP: Restore support for Intel compilers on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9284
2024-02-26 10:17:15 -05:00
Brad King
6c09451ed3 ci: Enable FindOpenMP tests in Intel nightly CI jobs on Windows 2024-02-23 09:37:06 -05:00
Brad King
f51d809b44 ci: Place temporary files inside job directory on Windows 2024-02-20 06:36:22 -05:00
Brad King
44d7393177 Merge topic 'ci-wix-3.14'
adb6af6959 ci: host WiX 3.14.0.8606 binaries ourselves
4c32b3690d ci: update to WiX 3.14.0.8606 release

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9264
2024-02-19 09:20:35 -05:00
Brad King
adb6af6959 ci: host WiX 3.14.0.8606 binaries ourselves
Follow the approach from commit 9ff7fffbf4 (ci: host WiX 3.14.0.6526
binaries ourselves, 2022-08-02, v3.24.0~6^2) for the updated version.
Since we use WiX to package our official release binaries, avoid relying
on an externally-hosted package by hosting it at `cmake.org`.
2024-02-16 13:08:23 -05:00
Brad King
4c32b3690d ci: update to WiX 3.14.0.8606 release
This official 3.14 release supports the `arm64` architecture.
Previously we used a development version for that.
2024-02-16 10:53:03 -05:00
Brad King
49b5a65477 Merge branch 'backport-ticlang' into ticlang-compilers 2024-02-09 15:56:06 -05:00
Brad King
4c51136b8c ci: Enable TIClang test on Debian Clang jobs in nightly pipeline 2024-02-09 15:54:40 -05:00
Brad King
63c3d89e96 Merge topic 'ci-swift-windows'
0909fb9d48 ci: Enable Swift tests on Windows
a4e5715959 Tests/SwiftOnly: Bump minimum required CMake to 3.5

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Evan Wilde <etceterawilde@gmail.com>
Merge-request: !9231
2024-02-09 09:05:07 -05:00
Brad King
cbac60f98d Merge topic 'FindOpenMP-clang-windows'
3adeb3b470 ci: Enable FindOpenMP tests in LLVM/Clang nightly CI jobs on Windows
3019af64c2 FindOpenMP: Add support for GNU-like Clang targeting MSVC ABI

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9235
2024-02-09 09:04:18 -05:00
Brad King
c673511263 Merge topic 'FindOpenMP-clang-windows' into release-3.29
3adeb3b470 ci: Enable FindOpenMP tests in LLVM/Clang nightly CI jobs on Windows
3019af64c2 FindOpenMP: Add support for GNU-like Clang targeting MSVC ABI

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9235
2024-02-09 09:04:17 -05:00
Brad King
84dd229947 Merge topic 'ci-xcode-15.2'
68157fc57d gitlab-ci: update macOS jobs to use Xcode 15.2

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9237
2024-02-09 09:01:49 -05:00
Brad King
1b16275a54 Merge topic 'ci-xcode-15.2' into release-3.29
68157fc57d gitlab-ci: update macOS jobs to use Xcode 15.2

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9237
2024-02-09 09:01:47 -05:00
Brad King
3adeb3b470 ci: Enable FindOpenMP tests in LLVM/Clang nightly CI jobs on Windows 2024-02-08 17:36:30 -05:00
Brad King
68157fc57d gitlab-ci: update macOS jobs to use Xcode 15.2 2024-02-08 16:28:16 -05:00
Brad King
0909fb9d48 ci: Enable Swift tests on Windows
Issue: #25573
2024-02-08 09:31:00 -05:00
Brad King
d901c4aa95 Merge topic 'FindCUDAToolkit-cupti'
04959e0285 Tests: Verify CUDA::cupti existence on a subset of machines
09a3c8b46b CUDAToolkit: Correctly search all include paths from compiler

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9072
2023-12-15 09:32:00 -05:00
Robert Maynard
04959e0285
Tests: Verify CUDA::cupti existence on a subset of machines
When we know that the cupti library exists explicitly request the CUDA Toolkit test to verify the existence
2023-12-14 14:05:28 -05:00
Brad King
5b4a54f4cf Merge topic 'ci-xcode-15.1'
e2d25c6724 gitlab-ci: update macOS jobs to use Xcode 15.1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9066
2023-12-12 09:58:20 -05:00
Brad King
e2d25c6724 gitlab-ci: update macOS jobs to use Xcode 15.1 2023-12-11 16:16:36 -05:00
Kyle Edwards
1f0c28c840 ci: export clang-tidy fixes as an artifact 2023-12-05 11:53:35 -05:00
Brad King
a1dcc36f65 Merge topic 'rpm-quoting'
5123e9e160 ci: unmask RPM tests on Fedora 39
bf22ac5263 CPack/RPM: Quote paths in rpm spec only if they have whitespace
75ea6207b7 CPack/RPM: Factor out helper to quote paths in generated rpm spec

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9005
2023-11-30 09:05:54 -05:00
Ben Boeckel
5123e9e160 ci: unmask RPM tests on Fedora 39 2023-11-29 12:47:45 -05:00
Brad King
4c1a6f2e23 Merge topic 'ci-fedora-39'
cdd741ebf9 Merge branch 'backport-ci-fedora-39' into ci-fedora-39
9283b20659 ci: Suppress CPack/RPM tests pending fix for Fedora 39
18145e8745 ci: Update FindMPI test environment for mpich on Fedora 39
a8be80ccf2 ci: Drop now-unnecessary Clang rules for CXXModules tests
99238b23e9 ci: use Fedora 39 images and environments
57eadec617 ci: update Linux image to Fedora 39
653262162c clang-tidy module: Update to build against LLVM/Clang 17
2cf9a65835 clang-tidy: ignore warnings new in version 17
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8983
2023-11-20 08:10:37 -05:00
Brad King
4d14116dbc Merge topic 'ci-fedora-39' into release-3.28
9283b20659 ci: Suppress CPack/RPM tests pending fix for Fedora 39
18145e8745 ci: Update FindMPI test environment for mpich on Fedora 39
a8be80ccf2 ci: Drop now-unnecessary Clang rules for CXXModules tests
99238b23e9 ci: use Fedora 39 images and environments
57eadec617 ci: update Linux image to Fedora 39
653262162c clang-tidy module: Update to build against LLVM/Clang 17
2cf9a65835 clang-tidy: ignore warnings new in version 17
2744f14db1 codespell: Fix typos
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8983
2023-11-20 08:10:36 -05:00
Brad King
52274549dd Merge topic 'ci-release-no-cdash'
31620b2bf8 gitlab-ci: drop cdash-build-id from release packaging artifacts

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !8988
2023-11-20 08:09:09 -05:00
Brad King
31620b2bf8 gitlab-ci: drop cdash-build-id from release packaging artifacts
This was accidentally added by commit 06661b1e4c (gitlab-ci: pull
annotations for CDash from the jobs, 2023-11-01, v3.28.0-rc4~1^2).
2023-11-19 12:02:08 -05:00
Brad King
cdd741ebf9 Merge branch 'backport-ci-fedora-39' into ci-fedora-39 2023-11-17 11:35:41 -05:00
Brad King
9283b20659 ci: Suppress CPack/RPM tests pending fix for Fedora 39
Issue: #25421
2023-11-17 09:58:22 -05:00
Brad King
18145e8745 ci: Update FindMPI test environment for mpich on Fedora 39
An explicit `FI_PROVIDER=tcp` seems to be needed to pass the test.
2023-11-17 09:58:22 -05:00
Brad King
a8be80ccf2 ci: Drop now-unnecessary Clang rules for CXXModules tests
Starting with LLVM/Clang 17 we can use C++ modules with compiler
extensions enabled.
2023-11-17 09:58:22 -05:00
Brad King
99238b23e9 ci: use Fedora 39 images and environments 2023-11-17 09:58:22 -05:00
Brad King
57eadec617 ci: update Linux image to Fedora 39 2023-11-17 09:58:22 -05:00
Kyle Edwards
7073a6d278 ci/sphinx: Add html output as artifacts 2023-11-09 09:55:22 -05:00
Ben Boeckel
06661b1e4c gitlab-ci: pull annotations for CDash from the jobs
Only move `cdash-build-id` between stages that make sense.
2023-11-02 15:24:45 -04:00
Ben Boeckel
a518e402c5 ci: generate annotation reports
These will render links in the sidebar for each job.

See: https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportsannotations
2023-11-02 15:24:45 -04:00
Brad King
8735cbba5d Merge topic 'cxxmodules-no-longer-experimental'
437280b127 cxxmodules: scan C++ sources for imports by default
3cddd11649 Ninja: message about not compiled sources explicitly
068fde1c34 cmGeneratorTarget: use `this->` for method calls
197a6bf171 cxxmodules: rework control logic for scanning regular C++ sources
5eb7bd641a Tests/RunCMake/CXXModules: remove rules file requirement
ff18acc301 CXXModules: remove `EXPERIMENTAL` from C++ module variable names
0c07f39006 cmExperimental: remove the flag for C++ modules
68caec9137 Help: add a manpage for cxxmodule support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com>
Merge-request: !8828
2023-10-02 11:55:38 -04:00
Ben Boeckel
5eb7bd641a Tests/RunCMake/CXXModules: remove rules file requirement
Only Clang needs to disable extensions in order to work; other
implementations work as-is.
2023-10-02 10:17:31 -04:00
Brad King
af149fbcaa Merge topic 'FindCUDAToolkit-implicit-dirs'
4316d4dcfd FindCUDAToolkit: Search all of `nvcc` implicit includes and library dirs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8835
2023-09-29 09:37:30 -04:00
Robert Maynard
4316d4dcfd FindCUDAToolkit: Search all of nvcc implicit includes and library dirs
Improves the handling of CUDA layouts where we have multiple include
and library directories listed in the output of `nvcc -v`. This
updates both when the CUDA language is enabled or not.

Fixes: #24915
2023-09-27 13:28:52 -04:00
Brad King
f8e0722e75 gitlab-ci: update macOS jobs to use Xcode 15.0 2023-09-26 11:10:16 -04:00
Brad King
f8fa4f1ad7 ci: Add OrangeC 6.73.1 nightly CI job 2023-09-25 12:27:45 -04:00
Brad King
81cdf34383 Merge topic 'tests-in-symlink-tree'
d9f1431f92 ci: Add jobs that run in symlink trees
879d12a29d ci: Always build Ninja with Unix Makefiles generator
8340313916 ci: Factor out debian12_ninja configure script
25d7843955 ci: Factor out build directory for finding artifacts
a7534c31e6 Tests: Update tests to run in multi-config generators
59b0ae6b24 Tests: Update tests to run in symlinked tree

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8797
2023-09-25 08:57:30 -04:00
Brad King
82a2f198d8 Merge topic 'cxxmodules-gcc-14'
4089954595 gitlab-ci: update to GCC CI container with merged P1689R5
c2564f5916 ci: drop extra scandep source settings for GCC
ee52a02d56 ci: update GCC build to use master after P1689R5 is merged
4f0410959e GCC: add rules for scanning C++ module dependencies

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8827
2023-09-25 08:56:04 -04:00
Kyle Edwards
d9f1431f92 ci: Add jobs that run in symlink trees 2023-09-22 09:30:52 -04:00
Kyle Edwards
879d12a29d ci: Always build Ninja with Unix Makefiles generator
The build for Ninja should not be affected by the CMAKE_GENERATOR
environment variable.
2023-09-22 09:30:52 -04:00
Kyle Edwards
8340313916 ci: Factor out debian12_ninja configure script 2023-09-22 09:30:52 -04:00
Kyle Edwards
25d7843955 ci: Factor out build directory for finding artifacts
Some jobs will run in a build directory other than
$CI_PROJECT_DIR/build, and will produce artifacts in a different
directory. Add a variable specifying where to find the artifacts, and
set it to build/ by default.
2023-09-22 09:30:52 -04:00
Brad King
122ec98dcf Merge topic 'hip-nvidia'
6546aa2a2a ci: Add HIP job using CUDA on NVIDIA GPUs
18158bf81c HIP: Add support for NVIDIA GPUs
127b6fa06b HIP: Add CMAKE_HIP_PLATFORM variable to specify GPU platform
90e23f40ee Tests/HIP/WithDefs: Clean up test case
9ebdf3281f Tests/HIP/ArchitectureOff: Cover HIP_ARCHITECTURES initialization
cfec29196e ci: Add CUDA 11.8 to HIP 5.5 image
26470eb987 ci: Put HIP GPU platform in CMake_TEST_HIP

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8817
2023-09-22 09:19:52 -04:00
Ben Boeckel
4089954595 gitlab-ci: update to GCC CI container with merged P1689R5 2023-09-21 22:02:24 -04:00
Brad King
6546aa2a2a ci: Add HIP job using CUDA on NVIDIA GPUs 2023-09-21 15:34:37 -04:00
Brad King
cfec29196e ci: Add CUDA 11.8 to HIP 5.5 image 2023-09-21 15:34:37 -04:00
Brad King
26470eb987 ci: Put HIP GPU platform in CMake_TEST_HIP
The `CMake_TEST_HIP` option is added explicitly to builds where we want
the tests to run, so we can set it to a value indicating the HIP GPU
platform.
2023-09-21 15:34:36 -04:00
Ben Boeckel
c2564f5916 ci: drop extra scandep source settings for GCC 2023-09-21 09:44:48 -04:00
Ben Boeckel
ee52a02d56 ci: update GCC build to use master after P1689R5 is merged 2023-09-21 09:44:48 -04:00
Brad King
8971bd4d1b Merge topic 'ci-cmake-update'
08d77470ef ci: Update CMake version to 3.27.6

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8821
2023-09-21 08:03:55 -04:00
Kyle Edwards
08d77470ef ci: Update CMake version to 3.27.6 2023-09-20 15:06:46 -04:00
Brad King
4c92fc709a ci: Update LLVM/Clang to 17.0 in nightly CI jobs on Windows 2023-09-19 15:26:07 -04:00
Brad King
84a25fc263 cmake_host_system_information: Add MSYSTEM_PREFIX query
Add a query on Windows hosts for the installation prefix of a
MSYS or MinGW development environment.

Issue: #24216
2023-09-10 07:33:47 -04:00
Brad King
b2555f27ac ci: Improve MinGW/MSYS Makefiles mingw.osdn.io job environments
Set `PATH`, `MSYSTEM`, and `MAKE_MODE` environment variables the way the
MinGW/MSYS 1.0 distribution from `mingw.osdn.io` does in its bash prompt.
2023-09-08 15:31:22 -04:00
Brad King
91585ad105 Merge topic 'rel-win-qt-5.15'
7def566e92 Utilities/Release: Update to Qt 5.15.10 on windows-{x86_64,i386} builds

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8774
2023-09-08 09:13:36 -04:00
doufu
7def566e92 Utilities/Release: Update to Qt 5.15.10 on windows-{x86_64,i386} builds
Fixes: #25187
Co-authored-by: Brad King <brad.king@kitware.com>
2023-09-07 09:03:25 -04:00
Brad King
fc41962481 ci: Enable Qt tests in nightly VS IDE job 2023-09-05 15:23:47 -04:00
Brad King
67abc25e67 ci: Factor out location of cmake in Qt download script 2023-09-05 15:22:37 -04:00
Brad King
0788accdfc Merge topic 'imported-cxxmodules'
48ee946fdc cmExperimental: recycle the C++ modules API UUID
1a1806a71b gitlab-ci: declare `bmionly` support for modules where possible
457a12f3f9 Tests/RunCMake/CXXModules: add tests which use modules from imported targets
9b9ec70b54 Ninja: generate scanning and build rules for C++20 module synthetic targets
80ef50a191 CXXModules: add a variable for BMI-only compilation
80d6544398 cxxmodules: generate synthetic targets as an initial pass
3dc6676ecc cmSyntheticTargetCache: add a struct for synthetic target caching
cb356b540c cmCxxModuleUsageEffects: add a class to capture module usage effects
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8535
2023-08-21 09:49:48 -04:00
Ben Boeckel
1a1806a71b gitlab-ci: declare bmionly support for modules where possible
GCC and Clang both have the settings.
2023-08-17 14:42:54 -04:00
Ben Boeckel
80ef50a191 CXXModules: add a variable for BMI-only compilation
This will be required when dealing with imported targets which contain
modules.
2023-08-17 14:42:54 -04:00