Brad King
c620d8d9cf
cmGeneratorExpressionDAGChecker: Clarify COMPILE_DEFINITIONS special case
2024-04-09 11:26:54 -04:00
Brad King
a585e410c0
cmGeneratorExpressionDAGChecker: Inline initialization in constructor
2024-04-09 11:26:53 -04:00
Brad King
40788cb1e6
cmGeneratorExpressionDAGChecker: Reduce duplication in constructor
2024-04-09 11:25:19 -04:00
Brad King
24f1e7c524
Merge topic 'nolint-header-sets-and-unity'
...
773dc0a297 Unity: Suppress clang-tidy include checks
eb66549c7c VERIFY_INTERFACE_HEADER_SETS: Suppress clang-tidy include checks
b0773aa4f6 VERIFY_INTERFACE_HEADER_SETS: Add IWYU pragma as C-style comment
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9404
2024-04-09 08:49:14 -04:00
Brad King
c77b2c14c7
Merge topic 'cxx26_fix'
...
f21dbf8f26 C++26: Fix C++/CUDA/HIP compile feature support
c7cbe57e1f Clang: Fix detection of C++26 when targeting MSVC ABI
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9372
2024-04-09 08:47:20 -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
c7cbe57e1f
Clang: Fix detection of C++26 when targeting MSVC ABI
...
`_MSVC_LANG` may not be defined higher than C++20, but `__cplusplus` is.
2024-04-09 11:38:51 +03:00
Kitware Robot
3f08812a6b
CMake Nightly Date Stamp
2024-04-09 00:01:13 -04:00
ClausKlein
773dc0a297
Unity: Suppress clang-tidy include checks
...
`clang-tidy-17` adds include checks similar to IWYU. Suppress them in
generated code.
2024-04-08 19:16:14 -04:00
ClausKlein
eb66549c7c
VERIFY_INTERFACE_HEADER_SETS: Suppress clang-tidy include checks
...
`clang-tidy-17` adds include checks similar to IWYU. Suppress them in
generated code.
2024-04-08 19:15:21 -04:00
ClausKlein
b0773aa4f6
VERIFY_INTERFACE_HEADER_SETS: Add IWYU pragma as C-style comment
...
In commit 6942234bf5 (VERIFY_INTERFACE_HEADER_SETS: Add IWYU pragma:
associated to verification file, 2022-10-07, v3.25.0-rc1~22^2) the
comment was added as a C++-style comment. The feature works in C too,
so use a C-style comment.
2024-04-08 19:10:10 -04:00
Brad King
a3d067ba6b
Merge topic 'test-pkg-config-gobject-introspection'
...
870500a326 Tests: Update RunCMake.FindPkgConfig gobject-introspection expectation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9405
2024-04-08 18:11:36 -04: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
Vladimir Petko
870500a326
Tests: Update RunCMake.FindPkgConfig gobject-introspection expectation
...
gobject-introspection 1.79+ uses binaries with an arch-specific prefix,
such as `/usr/bin/x86_64-linux-gnu-g-ir-scanner`.
Fixes : #25865
2024-04-08 18:09:59 -04:00
Brad King
4022b969be
Merge topic 'lang-std-levels'
...
80a5a86514 GNU: Fix detection of C++ 11 mode in GCC 4.{4,5,6}
c9cc3dc646 PGI: Fix detection of C++ 14/17 modes
7f05d472a2 NVHPC: Fix detection of C++ 20 mode on NVHPC < 22.7
3587579f34 XL/XLClang: Fix detection of C++ 14 mode on Linux
863cde8c19 Intel: Fix detection of C++ 14/17 modes on Linux/macOS
1e774a86d3 Intel: Fix detection of C++ 17/20 modes on Windows
b9d4db7098 CompilerId: Clarify C and C++ standard level detection
ae18811f2e IntelLLVM: Add C standard flags on Windows
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9412
2024-04-08 18:09:36 -04:00
Brad King
ac40982134
Merge topic 'ci-cuda-12.2'
...
c7a97873c8 ci: add jobs testing cuda12.2 with nvcc and clang 18
fa57e52360 ci: add cuda12.2 base image
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9410
2024-04-08 18:08:44 -04:00
Brad King
eaa5e0b8b8
Merge topic 'update-curl'
...
9f399e741c curl: Set build options the way we need for CMake
7fef14d8e0 Merge branch 'upstream-curl' into update-curl
e17d8d0c3b curl 2024-03-27 (de7b3e89)
7ceb6e6c0b curl: Update script to get curl 8.7.1
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9408
2024-04-08 18:07:55 -04:00
Kitware Robot
05aaa09fd5
CMake Nightly Date Stamp
2024-04-08 00:02:40 -04:00
Kitware Robot
01829f4715
CMake Nightly Date Stamp
2024-04-07 00:01:13 -04:00
Kitware Robot
09dc8d5bdb
CMake Nightly Date Stamp
2024-04-06 00:01:22 -04:00
Brad King
9f399e741c
curl: Set build options the way we need for CMake
...
Set options added by the update to curl 8.7.1.
2024-04-05 15:50:32 -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
7fef14d8e0
Merge branch 'upstream-curl' into update-curl
...
* upstream-curl:
curl 2024-03-27 (de7b3e89)
2024-04-05 12:59:16 -04:00
Curl Upstream
e17d8d0c3b
curl 2024-03-27 (de7b3e89)
...
Code extracted from:
https://github.com/curl/curl.git
at commit de7b3e89218467159a7af72d58cea8425946e97d (curl-8_7_1).
2024-04-05 12:54:52 -04:00
Brad King
7ceb6e6c0b
curl: Update script to get curl 8.7.1
2024-04-05 12:54:37 -04:00
Brad King
c2949dbdf8
Merge topic 'ctest-invalid-arg'
...
304396d13c ctest: Show error on invalid ctest arguments
06cb978c1b Tests: Fix ctest flag typo in RunCMake.GoogleTest
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !9383
2024-04-05 11:55:47 -04:00
Brad King
cfa6102d6e
Merge topic 'ci-intel-compiler'
...
7211e3e987 gitlab-ci: add job testing Intel oneAPI 2024.1.0 compilers on Linux
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9403
2024-04-05 11:50:42 -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
c37e279014
Tests/CompileFeatures: Cover c_std_## and cxx_std_## meta-features
2024-04-05 07:38:58 -04:00
Brad King
58cd9ee03c
Tests/CompileFeatures: Factor out headers to compute C and C++ standard levels
2024-04-05 07:38:56 -04:00
Brad King
80a5a86514
GNU: Fix detection of C++ 11 mode in GCC 4.{4,5,6}
...
These versions of the compiler have experimental C++11 support and so do
not define `__cplusplus` correctly, but do define a feature macro we can
use to distinguish this mode.
2024-04-05 07:38:14 -04:00
Brad King
c9cc3dc646
PGI: Fix detection of C++ 14/17 modes
...
The PGI compiler is based on EDG. Share conditions with Intel Classic.
2024-04-05 07:38:06 -04:00
Brad King
7f05d472a2
NVHPC: Fix detection of C++ 20 mode on NVHPC < 22.7
...
This compiler does not always define `__cplusplus` correctly, but does
define a feature macro that we can use to distinguish this mode.
2024-04-05 07:37:03 -04:00
Kitware Robot
aefd952085
CMake Nightly Date Stamp
2024-04-05 00:01:09 -04:00
Brad King
3587579f34
XL/XLClang: Fix detection of C++ 14 mode on Linux
...
This compiler does not always define `__cplusplus` correctly, but does
define a feature macro that we can use to distinguish this mode.
2024-04-04 17:56:31 -04:00
Brad King
863cde8c19
Intel: Fix detection of C++ 14/17 modes on Linux/macOS
...
The Intel Classic C++ compiler is based on EDG. It does not always
define `__cplusplus` correctly, but does define feature macros that we
can use to distinguish these modes.
2024-04-04 17:56:02 -04:00
Brad King
1e774a86d3
Intel: Fix detection of C++ 17/20 modes on Windows
...
The Intel Classic C++ compiler for Windows does not always define
`_MSVC_LANG` correctly, but does define feature macros that we can use
to distinguish these modes.
2024-04-04 16:48:46 -04:00
Brad King
b9d4db7098
CompilerId: Clarify C and C++ standard level detection
...
Use named constants. Regularize comparison patterns.
2024-04-04 15:13:17 -04:00
Brad King
7211e3e987
gitlab-ci: add job testing Intel oneAPI 2024.1.0 compilers on Linux
...
There is no corresponding Intel classic C/C++ compiler version.
2024-04-04 12:04:34 -04:00
Brad King
cedf4fafdc
Merge branch 'release-3.29'
2024-04-04 09:29:26 -04:00
Brad King
352f8923fc
Merge topic 'FindOpenSSL-SLP-layout'
...
9ff5dae3f6 FindOpenSSL: Update layout for Shining Light Productions debug libraries
aa86f487c2 FindOpenSSL: Update layout for Shining Light Productions 32-bit package
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9402
2024-04-04 09:29:26 -04:00
Brad King
5fc6d6165c
Merge topic 'FindOpenSSL-SLP-layout' into release-3.29
...
9ff5dae3f6 FindOpenSSL: Update layout for Shining Light Productions debug libraries
aa86f487c2 FindOpenSSL: Update layout for Shining Light Productions 32-bit package
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9402
2024-04-04 09:29:25 -04:00
Kitware Robot
81698d9c40
CMake Nightly Date Stamp
2024-04-04 00:01:14 -04:00
Jake D'Esposito
304396d13c
ctest: Show error on invalid ctest arguments
...
Fixes : #24227
2024-04-03 21:33:19 -04:00
Jake D'Esposito
06cb978c1b
Tests: Fix ctest flag typo in RunCMake.GoogleTest
2024-04-03 21:32:08 -04:00
Brad King
ae18811f2e
IntelLLVM: Add C standard flags on Windows
2024-04-03 19:34:03 -04:00
Brad King
529ccb3dff
IntelLLVM: Use C23 and C++23 flags only versions supporting them
...
Revise commit 4331f7b4bf (IntelLLVM: Add provisional flags for C23 and
C++23, 2023-01-12, v3.26.0-rc1~86^2).
2024-04-03 19:34:03 -04:00
Brad King
3ca7f37e5a
Intel: Fix classic compiler version check for C++20 flag
...
The `-std=c++20` flag was added by Intel compiler 2019 update 3.
2024-04-03 19:34:03 -04:00
Matthias Isele
9ff5dae3f6
FindOpenSSL: Update layout for Shining Light Productions debug libraries
...
The installer no longer names debug libraries with a `d` suffix. They
are distinguished by the per-runtime-library directory containing them.
Fixes : #25856
2024-04-03 16:59:30 -04:00