Brad King
862b8e28ad
GenEx: Teach TARGET_PROPERTY evaluation to optionally pierce LINK_ONLY
2024-04-29 17:40:03 -04:00
Brad King
8d1d6a1437
Tests: Cover TARGET_PROPERTY genex evaluation of transitive link properties
...
Demonstrate that TARGET_PROPERTY does not honor CMP0099 from CMake 3.17.
2024-04-29 17:40:03 -04:00
Brad King
abf607c2ec
Tests: Cover TARGET_PROPERTY genex evaluation of transitive build properties
2024-04-29 17:40:03 -04:00
Brad King
7d3d728a72
Help: Clarify CMP0099 documentation and summary text
2024-04-29 17:40:03 -04:00
Brad King
79a3ae9a0d
cmGeneratorExpressionDAGChecker: Simplify transitive property table
...
Refactor the table of builtin transitive properties to avoid
preprocessor-generated cascading-if blocks with duplicate code.
2024-04-29 17:39:12 -04:00
Brad King
e8010b67c7
cmGeneratorExpressionDAGChecker: Make local generator available in constructor
...
This is the local generator in the evaluation context, not that of
the current target/property pair.
2024-04-29 17:27:35 -04:00
Brad King
b36fb3f6f1
cmGeneratorExpressionNode: Remove outdated lint suppression
...
Since commit 895efd4e7a (cmGeneratorExpression: Consolidate
recognition of transitive properties, 2024-04-12) a lint suppression
added by commit fb461cacba (silence selected clang-tidy violations,
2016-10-18, v3.8.0-rc1~428^2~1) is no longer needed.
2024-04-29 17:27:34 -04:00
Brad King
01e138a7b7
Merge topic 'ExternalProject-download-retry-for-error-code-35'
...
6f77077feb ExternalProject: Retry download for error code 35
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9464
2024-04-29 09:40:38 -04:00
Kitware Robot
781e25a35b
CMake Nightly Date Stamp
2024-04-29 00:04:30 -04:00
Craig Scott
d40e119acb
Merge topic 'help-fix-cmake_path-example'
...
769866163a Help: Fix cmake_path example
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !9467
2024-04-28 04:21:16 -04:00
Craig Scott
bd8b38627f
Merge topic 'doc-cmp0135-fetchcontent'
...
9b61a7147d Help: CMP0135 applies to FetchContent as well
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9470
2024-04-28 04:19:40 -04:00
Kitware Robot
3390cd47b6
CMake Nightly Date Stamp
2024-04-28 00:01:14 -04:00
Kitware Robot
5838935d84
CMake Nightly Date Stamp
2024-04-27 00:01:12 -04:00
Craig Scott
9b61a7147d
Help: CMP0135 applies to FetchContent as well
...
This updates the CMP0135 documentation, which should have been
done as part of c2044fdf3f (FetchContent: Respect the CMP0135 policy
setting, 2022-06-02).
Issue: #23560
2024-04-27 11:01:45 +10:00
Juan Ramos
769866163a
Help: Fix cmake_path example
...
Fixes : #25938
2024-04-26 08:49:07 -07:00
Kitware Robot
301a26741d
CMake Nightly Date Stamp
2024-04-26 00:01:17 -04:00
xavisolesoft
6f77077feb
ExternalProject: Retry download for error code 35
...
This error code indicates a TLS handshake failure, which we've
observed intermittently when downloading artifacts from GitHub.
2024-04-25 13:08:24 -04: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