Commit Graph

65844 Commits

Author SHA1 Message Date
Kitware Robot
14de6802e4 CMake Nightly Date Stamp 2024-04-21 00:01:16 -04:00
Kitware Robot
26867ebc1b CMake Nightly Date Stamp 2024-04-20 00:01:34 -04:00
Brad King
bf8c0d625d Merge topic 'doc-objc-lang-flags'
31e6017bb6 Help: Document ObjC/ObjC++ flag variables

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9437
2024-04-19 08:57:28 -04:00
Brad King
b99bdf5a4f Merge topic 'cxxmodules-import-std-user-detect'
678717f3e4 cxxmodules: provide a detection variable for `import std`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: huangqinjin <huangqinjin@gmail.com>
Merge-request: !9442
2024-04-19 08:52:16 -04:00
Kitware Robot
e8e1b01e19 CMake Nightly Date Stamp 2024-04-19 00:01:12 -04:00
Brad King
82f8225aac Merge topic 'FindBacktrace-imported-library'
b26ce8a1c9 Tests/FindBacktrace: Fix compilation as C90

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9443
2024-04-18 13:03:16 -04:00
Alexander Borsuk
31e6017bb6 Help: Document ObjC/ObjC++ flag variables
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-04-18 17:48:59 +02:00
Ben Boeckel
678717f3e4 cxxmodules: provide a detection variable for import std 2024-04-18 09:53:21 -04:00
Brad King
0bb28c522b Merge topic 'invalid-ctest-arg-revisions'
96dbf6c34a ctest: Cleanup for invalid argument handling

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9440
2024-04-18 08:28:05 -04:00
Brad King
6b01aa6fed Merge topic 'tests_gdk_init'
1928e7758d Tests: fix calling gdk_init()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9441
2024-04-18 08:21:04 -04:00
Kitware Robot
992925c271 CMake Nightly Date Stamp 2024-04-18 00:01:16 -04:00
Martin Duffy
96dbf6c34a ctest: Cleanup for invalid argument handling
Backs out unrelated change and changes error message to 'Unknown argument'
2024-04-17 15:44:56 -04:00
Brad King
b26ce8a1c9 Tests/FindBacktrace: Fix compilation as C90
Revise the test from commit 9433755e5d (FindBacktrace: Add imported
library, 2024-04-06) to work when compiled as C90.
2024-04-17 13:14:11 -04:00
Brad King
9bf79a7964 Merge topic 'lang-std-c++26'
1ba4a06338 GNU: Add flags for C++26 modes
2038f2c2b1 C++26: Support detection as the default standard

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9434
2024-04-17 09:15:34 -04:00
Brad King
56f333ef2f Merge topic 'lang-std'
dcbc2ef00d CompilerId: Clarify CUDA, HIP, ObjC, ObjC++ standard level detection
cf457fbf9c CompilerId: Drop MSVC conditions from ObjC and ObjC++
f606a27e8d ObjCXX: Fix detection of C++20 default compiler mode

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Raul Tambre <raul@tambre.ee>
Merge-request: !9438
2024-04-17 08:44:58 -04:00
Brad King
75ace1b8e5 Merge branch 'release-3.29' 2024-04-17 08:43:16 -04:00
Brad King
048221add9 Merge topic 'doc-ObjC-17-23'
84f1eb64f3 Help/OBJC_STANDARD: Document Objective C17 and C23 support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Raul Tambre <raul@tambre.ee>
Merge-request: !9439
2024-04-17 08:43:16 -04:00
Brad King
58157d9293 Merge topic 'doc-ObjC-17-23' into release-3.29
84f1eb64f3 Help/OBJC_STANDARD: Document Objective C17 and C23 support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Raul Tambre <raul@tambre.ee>
Merge-request: !9439
2024-04-17 08:43:15 -04:00
Brad King
1340770f64 Merge branch 'release-3.29' 2024-04-17 08:41:10 -04:00
Brad King
9bb04d65a8 Merge topic 'FindBoost-1.85'
0d5953b373 FindBoost: Add support for Boost 1.85

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9435
2024-04-17 08:41:10 -04:00
Brad King
10815461dc Merge topic 'FindBoost-1.85' into release-3.29
0d5953b373 FindBoost: Add support for Boost 1.85

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9435
2024-04-17 08:41:08 -04:00
Rolf Eike Beer
1928e7758d Tests: fix calling gdk_init()
gdk_init() takes pointers to these arguments so it can modify them to strip all
arguments already consumed.
2024-04-17 07:34:57 +02:00
Kitware Robot
2a198aac55 CMake Nightly Date Stamp 2024-04-17 00:01:14 -04:00
Raul Tambre
1ba4a06338 GNU: Add flags for C++26 modes
Flags added in GCC commit `5388a43f6a3` (c++: Add support for
-std={c,gnu}++2{c,6}, 2023-06-22).
2024-04-16 15:34:57 -04:00
Raul Tambre
2038f2c2b1 C++26: Support detection as the default standard
This was missed in commit f808d8afb9 (CMake: Support upcoming C++26
language level, 2022-08-19, v3.25.0-rc1~218^2).
2024-04-16 15:34:57 -04:00
Brad King
dcbc2ef00d CompilerId: Clarify CUDA, HIP, ObjC, ObjC++ standard level detection
Use named constants.  Regularize comparison patterns.  Follow the
approach from commit b9d4db7098 (CompilerId: Clarify C and C++ standard
level detection, 2024-04-02).
2024-04-16 15:31:36 -04:00
Raul Tambre
84f1eb64f3 Help/OBJC_STANDARD: Document Objective C17 and C23 support
This was missed in

* commit 93b7d3d292 (C17 support, 2021-02-06, v3.21.0-rc1~587^2~10)
* commit dcd599757f (C23 support, 2021-02-06, v3.21.0-rc1~587^2~9)

Fixes: #25746
2024-04-16 15:24:20 -04:00
Brad King
cf457fbf9c CompilerId: Drop MSVC conditions from ObjC and ObjC++
MSVC does not compile these languages.
2024-04-16 15:21:35 -04:00
Raul Tambre
f606a27e8d ObjCXX: Fix detection of C++20 default compiler mode
Fix a typo from commit 9f3c70a333 (CUDA, CXX, OBJCXX: C++23 support with
Clang 12, 2020-12-04, v3.20.0-rc1~321^2).
2024-04-16 15:21:34 -04:00
Brad King
0d5953b373 FindBoost: Add support for Boost 1.85
Update the list of known versions.

Run the command

    cmake -DBOOST_DIR=/path/to/boost_1_85_0 \
      -P Utilities/Scripts/BoostScanDeps.cmake

to extract dependencies from the 1.85.0 source tree.
They are the same as 1.84's dependencies, so just update
the version check for warning about newer versions.

Fixes: #25905
2024-04-16 10:01:00 -04:00
Brad King
70413d2c35 Merge topic 'ci-updates'
60af764a12 ci: Reduce granularity of Intel compiler coverage for pre-2021 versions
1ffb05b9df ci: Switch to CUDA 12.2 job in merge requests
46bb949e68 ci: Run non-MR CUDA and HIP jobs only in nightly pipelines

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9432
2024-04-16 08:56:40 -04:00
Brad King
d550a1ebea Merge topic 'cpack-innosetup-linux'
d4a46314ac CPack: Enable Inno Setup generator on non-Windows hosts

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9431
2024-04-16 08:55:57 -04:00
Brad King
b7c1112f77 Merge topic 'test-configure'
2e9742cb3d Tests/RunCMake/Configure: Improve variable scoping

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9433
2024-04-16 08:55:01 -04:00
Brad King
8f7049112d Merge topic 'nag-fortran-ninja'
4af20bb794 NAG-Fortran: Do not repeat preprocessing with Ninja on Apple platforms
91bb8dd872 NAG-Fortran: Fix MODULE library creation on Apple platforms
e056006116 NAG-Fortran: Tell the Ninja generator how to preprocess Fortran sources
765a611956 NAG-Fortran: Added initial default compilation flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9407
2024-04-16 08:53:56 -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
Brad King
e9fcec6ac1 Merge topic 'findgtk2-fix'
7e49b98219 FindGTK2: Find arch-specific headers via pkg-config

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9417
2024-04-16 08:50:45 -04:00
Brad King
c5774572c1 Merge topic 'lcc-updates-2024-04'
8f89ecb073 Tests: Exclude more tests found to be failing on broken libc on Elbrus
b0551cce64 cmArgumentParserTypes: Workaround for ICE on e2k

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9426
2024-04-16 08:49:25 -04:00
Brad King
1c9e514d28 Merge topic 'swift-module-libraries'
56e5cea600 Swift: Support module libraries with command-line build systems

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9379
2024-04-16 08:47:11 -04:00
Brad King
211fbe7759 Merge topic 'cxx-checks-tolerate-unused-arguments'
6a2cfbd4ea cm_cxx_features: Ignore Clang unused-argument warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9427
2024-04-16 08:45:37 -04:00
Brad King
cf2a74d5c4 Merge topic 'file-GET_RUNTIME_DEPENDENCIES-macos-rpath'
3e865241f3 file(GET_RUNTIME_DEPENDENCIES): propagate parent rpath on macOS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9428
2024-04-16 08:44:13 -04:00
Brad King
f0e36bc429 Merge topic 'test-separate_arguments'
a716ed88e7 Tests: Avoid unnecessary copy of cmake in RunCMake.separate_arguments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9424
2024-04-16 08:41:39 -04:00
Kitware Robot
56c8a2d33b CMake Nightly Date Stamp 2024-04-16 00:01:13 -04:00
Andreas Oetken
d4a46314ac CPack: Enable Inno Setup generator on non-Windows hosts
Innosetup tools can be run on Linux using Wine, thus there is no reason
to block this in CMake.
2024-04-15 16:34:22 -04:00
Brad King
2e9742cb3d Tests/RunCMake/Configure: Improve variable scoping 2024-04-15 14:38:19 -04:00
Brad King
60af764a12 ci: Reduce granularity of Intel compiler coverage for pre-2021 versions
For Intel versions from 2016, 2017, 2018, 2019, and 2020, cover only the
latest update from each year.  This will reduce the size of the nightly
pipeline.
2024-04-15 14:29:30 -04:00
Brad King
1ffb05b9df ci: Switch to CUDA 12.2 job in merge requests
Cover a more recent CUDA version during development.
2024-04-15 14:27:25 -04:00
Brad King
46bb949e68 ci: Run non-MR CUDA and HIP jobs only in nightly pipelines
This is more consistent with the way other non-MR jobs run.
2024-04-15 14:25:08 -04:00
Simon Maertens
4af20bb794 NAG-Fortran: Do not repeat preprocessing with Ninja on Apple platforms
The Ninja generator uses separate preprocessing and compilation steps.
Do not pass `-fpp` when compiling an already-preprocessed source.

Issue: #25900
2024-04-15 13:48:15 -04:00
Simon Maertens
91bb8dd872 NAG-Fortran: Fix MODULE library creation on Apple platforms
Previously we passed `-bundle` to the NAG Fortran front-end, which
does not support it.  Pass it through to the linker instead.
2024-04-15 13:35:08 -04:00
Simon Maertens
e056006116 NAG-Fortran: Tell the Ninja generator how to preprocess Fortran sources
Fixes: #21398
2024-04-15 13:33:30 -04:00