Commit Graph

65917 Commits

Author SHA1 Message Date
Juan Ramos
40fa2c1c90 Tests: Cleanup CMake_TEST_XCODE_VERSION code
- Consolidate calls to xcodebuild -version
- Handles cases where CMake_TEST_XCODE_VERSION is 0 to allow
running tests with only	command-line tools.
2024-04-29 14:46:08 -07:00
Juan Ramos
abd1b02dfa Tests/Architecture: Have test support Xcode 10+ 2024-04-29 14:46:05 -07:00
Brad King
a4b7a13c23 Merge topic 'doc-genex'
263f6b888c Help: Document TARGET_PROPERTY genex handling of transitive properties
f70eb84be7 Help: Clarify role of TARGET_NAME generator expression
36145e2680 Help: Organize target-dependent generator expressions into subsections
50eadd794e Help: Clarify cross-references to target-dependent generator expressions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9460
2024-04-25 11:25:30 -04:00
Brad King
263f6b888c Help: Document TARGET_PROPERTY genex handling of transitive properties 2024-04-25 10:53:47 -04:00
Brad King
f70eb84be7 Help: Clarify role of TARGET_NAME generator expression 2024-04-25 10:49:16 -04:00
Brad King
36145e2680 Help: Organize target-dependent generator expressions into subsections 2024-04-25 10:49:16 -04:00
Brad King
50eadd794e Help: Clarify cross-references to target-dependent generator expressions 2024-04-25 10:49:16 -04:00
Brad King
1a676eb580 Merge topic 'lto-gnu-apple'
f65a6d2cb1 GNU: Do not use "fat-lto-objects" flags for IPO on Apple platforms

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9461
2024-04-25 10:41:59 -04:00
Brad King
e8f9b6ee43 Merge topic 'test-dir-preset'
c971212703 ctest: Allow --test-dir override when using presets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !9448
2024-04-25 10:40:26 -04:00
Brad King
063e050f75 Merge topic 'cpack-temp-var'
60f5118c7b cmCPackGenerator: Handle CPACK_TEMPORARY_[INSTALL]_DIRECTORY properly

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9455
2024-04-25 10:38:10 -04:00
Brad King
125adb74a6 Merge topic 'ci-fedora-40'
acf1179e74 ci: Verify that C++26 modes work with GCC and Clang on Fedora
b05f94fa10 ci: Enable FindOpenACC tests in LLVM/Clang jobs on Fedora
c722bde0e3 ci: Enable FindOpenACC test for each language independently
b84b0fdd89 ci: Enable FindOpenMP tests in LLVM/Clang jobs on Fedora
4590255c63 ci: Subsume GCC C++ modules testing in main Fedora jobs
9c004ddb3d ci: use Fedora 40 images and environments
0f56cc9a4e ci: update Linux image to Fedora 40
21ef873660 clang-tidy module: Update to build against LLVM/Clang 18
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9462
2024-04-25 10:37:13 -04:00
Brad King
3956ce1d97 Merge topic 'elf.errMsg'
9517ab36e1 cmELF: correct error message from GetDynamicSectionString

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9458
2024-04-25 10:32:14 -04:00
Joachim Wuttke (h)
9517ab36e1 cmELF: correct error message from GetDynamicSectionString
Fixes: #25929
2024-04-25 10:30:08 -04:00
Brad King
2c3a9d5385 Merge topic 'help.file'
d2d2ffe1c1 Help: file: document GET_RUNTIME_DEPENDENCIES separately

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Juan Ramos <juan.ramos@kitware.com>
Merge-request: !9456
2024-04-25 10:28:36 -04:00
Brad King
bca9cc1d1b Merge topic 'ci-linkcheck'
dea9daa6df Help: Fix link in cmake-buildsystem(7)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9465
2024-04-25 08:49:49 -04:00
Brad King
dea9daa6df Help: Fix link in cmake-buildsystem(7)
One local cross-reference added by commit 835f34949e (Help: Update
cmake-buildsystem(7) build and usage requirements, 2024-04-23) had
incorrect syntax.
2024-04-25 08:39:42 -04:00
Kitware Robot
4c0117bf1d CMake Nightly Date Stamp 2024-04-25 00:01:18 -04:00
René Bertin
f65a6d2cb1 GNU: Do not use "fat-lto-objects" flags for IPO on Apple platforms
Fat LTO objects contain both traditional object code and the LTO bitcode
IR, but the GNU compiler does not support them on Apple platforms.
A compile error is raised when `-f[no-]fat-lto-objects` flags are used,
so avoid them.

This also implies that static Fortran libraries cannot be built with IPO.

Fixes: #25931
2024-04-24 16:57:36 -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
castro-ma
c971212703 ctest: Allow --test-dir override when using presets
Fixes: #23982
2024-04-24 16:45:29 -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
21ef873660 clang-tidy module: Update to build against LLVM/Clang 18 2024-04-24 16:43:00 -04:00
Brad King
7339fbf039 clang-tidy: ignore warnings new in version 18
These warnings can be fixed in the future.  Ignore them for now.
2024-04-24 16:42:59 -04:00
Brad King
901379a19b CTestCustom: Ignore warnings in third-party zstd code
We already do this for other third-party libraries.
2024-04-24 16:42:59 -04:00
Brad King
dc7fceb200 Utilities/Sphinx: Ignore warning in generated texinfo documentation 2024-04-24 16:42:59 -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
7dac16498e Merge topic 'doc-buildsystem'
835f34949e Help: Update cmake-buildsystem(7) build and usage requirements
f19949db77 Help: Document when AUTOUIC_OPTIONS properties were added

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9454
2024-04-24 10:12:42 -04:00
Joachim Wuttke (h)
d2d2ffe1c1 Help: file: document GET_RUNTIME_DEPENDENCIES separately
Moved documentation of file(GET_RUNTIME_DEPENDENCIES ...) from
the 'Reading' section to a separate section at the bottom of
the page. Because it is a very long text, and because this
signature is quite different from all the others in the
'Reading' section.
2024-04-24 15:28:39 +02:00
Brad King
145418f7fd Merge topic 'ninja-swift-verbosity'
c5ef7fac23 Swift/Ninja: Add description to Swift object build steps

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9451
2024-04-24 09:10:58 -04:00
Brad King
a0957f4233 Merge topic 'ci-linkcheck'
5ec306fb13 FindCUDAToolkit: Replace a documentation link with its permanent redirect

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9453
2024-04-24 09:08:47 -04:00
Brad King
835f34949e Help: Update cmake-buildsystem(7) build and usage requirements
Re-organize the section to explicitly describe target-specific
commands, build properties, and usage requirement properties.
Add builtin transitive properties that have been created since
the document was first written.
2024-04-24 09:06:32 -04:00
Brad King
3e26050a3b Merge topic 'xcode-default-file-type'
3071660247 Xcode: Use builtin "default" file type

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9446
2024-04-24 08:55:32 -04:00
Deniz Bahadir
60f5118c7b cmCPackGenerator: Handle CPACK_TEMPORARY_[INSTALL]_DIRECTORY properly
The variable `CPACK_TEMPORARY_DIRECTORY` is an internal variable that is
required for proper packaging. Historically, a second variable
`CPACK_TEMPORARY_INSTALL_DIRECTORY` existed as well which had the same
purpose. Both variables had to be set to the same value. Otherwise,
CPack would not succeed with packaging.
In order to ease CPack's usage, the variable
`CPACK_TEMPORARY_INSTALL_DIRECTORY` is now no longer used.

However, as it cannot be guaranteed that neither of these two (internal)
variables have been used in the wild, some mechanism was introduced to
preserve backwards-compatibility: If one of these variables is set, the
other variable will be set to the same value. If, however, both are set
to different values, CPack still fails but with an explicit
error-message.

Fixes: #25046
2024-04-24 11:08:32 +02:00
Kitware Robot
30fd6df0b1 CMake Nightly Date Stamp 2024-04-24 00:01:15 -04:00
Jeremy Day
c5ef7fac23 Swift/Ninja: Add description to Swift object build steps
By default, Ninja displays the full build command for the object which
is very verbose. Warnings are often lost in the noise, and compile
errors take some searching to find. If a build step fails, Ninja will
still print out the full build command, so there's no loss of useful
information.

Fixes: #25853
2024-04-23 10:29:08 -07:00
Brad King
f19949db77 Help: Document when AUTOUIC_OPTIONS properties were added 2024-04-23 12:57:49 -04:00
Brad King
5ec306fb13 FindCUDAToolkit: Replace a documentation link with its permanent redirect 2024-04-23 08:02:54 -04:00
Brad King
7df3a4c437 Merge topic 'ci-env-scripts'
bf973c41e5 ci: Factor out scripts to add sccache to job environment
b0f7aebc77 ci: Factor out scripts to add ninja to job environment
ef3495f74f ci: Factor out scripts to add cmake to job environment

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9452
2024-04-23 07:58:12 -04:00
Brad King
805af4f3ad Merge topic 'msvc-wine-import-std'
abb33568e6 cxxmodules: Support `import std` for msvc-wine

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !9450
2024-04-23 07:57:30 -04:00
Brad King
9eb4ae4f64 Merge topic 'check-pthreads-static'
b4f17e5b44 FindThreads: Fix pthreads detection with -Wmissing-prototypes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9449
2024-04-23 07:56:45 -04:00
Brad King
3d8d13f4bc Merge topic 'pkg_get_variable-list'
9ddef32ba0 FindPkgConfig: Fix parsing of quoted lists with pkgconf <1.5.1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9447
2024-04-23 07:55:17 -04:00
Kitware Robot
d41252c91f CMake Nightly Date Stamp 2024-04-23 00:01:40 -04:00
Ilya Kulakov
3071660247 Xcode: Use builtin "default" file type
"sourcecode" is not appropriate for binary files, such as video, and
hinders Xcode performance.
2024-04-22 20:53:07 -04:00
Brad King
bf973c41e5 ci: Factor out scripts to add sccache to job environment 2024-04-22 18:22:11 -04:00