Commit Graph

711 Commits

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