Commit Graph

725 Commits

Author SHA1 Message Date
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