Commit Graph

64036 Commits

Author SHA1 Message Date
John Parent 419443f68f cmCTestMultiProcessHandler: Factor out helper to check for completion 2023-11-17 18:41:41 -05:00
Chris Mahoney 8c307ab567 cmCTestMultiProcessHandler: Replace false condition with opposite assert 2023-11-17 18:41:41 -05:00
Brad King 1f8f270f62 cmCTestRunTest: Consolidate initialization in constructor 2023-11-17 18:41:40 -05:00
Brad King c896dc78f9 Tests: Cover ctest waiting on insufficient non-zero spare test-load 2023-11-17 18:40:44 -05:00
Brad King cdd741ebf9 Merge branch 'backport-ci-fedora-39' into ci-fedora-39 2023-11-17 11:35:41 -05:00
Brad King 9283b20659 ci: Suppress CPack/RPM tests pending fix for Fedora 39
Issue: #25421
2023-11-17 09:58:22 -05:00
Brad King 18145e8745 ci: Update FindMPI test environment for mpich on Fedora 39
An explicit `FI_PROVIDER=tcp` seems to be needed to pass the test.
2023-11-17 09:58:22 -05:00
Brad King a8be80ccf2 ci: Drop now-unnecessary Clang rules for CXXModules tests
Starting with LLVM/Clang 17 we can use C++ modules with compiler
extensions enabled.
2023-11-17 09:58:22 -05:00
Brad King 99238b23e9 ci: use Fedora 39 images and environments 2023-11-17 09:58:22 -05:00
Brad King 57eadec617 ci: update Linux image to Fedora 39 2023-11-17 09:58:22 -05:00
Brad King 653262162c clang-tidy module: Update to build against LLVM/Clang 17 2023-11-17 09:58:21 -05:00
Brad King 2cf9a65835 clang-tidy: ignore warnings new in version 17
These warnings can be fixed in the future.  Ignore them for now.
2023-11-17 09:58:21 -05:00
Brad King 2744f14db1 codespell: Fix typos 2023-11-17 09:58:21 -05:00
Brad King f2776ac063 codespell: Revise release note about short-lived field to avoid misspelling 2023-11-17 09:58:21 -05:00
Brad King 7517923418 codespell: Match valgrind output without repeating a spelling error 2023-11-17 09:58:21 -05:00
Brad King 40552722c9 Utilities/Sphinx: Fix python string literal syntax warning
Python 3.12 started warning:

    conf.py:35: SyntaxWarning: invalid escape sequence '\.'

Use a raw string literal instead.
2023-11-17 09:58:21 -05:00
Brad King bc435bc288 Tests: Update HIP.MathFunctions case for nodiscard enforcement 2023-11-17 09:58:21 -05:00
Brad King 70d88a5361 cmUVHandlePtr: Add uv_idle_ptr
Wrap a `uv_idle_t` handle.
2023-11-17 08:51:25 -05:00
Brad King 17690558c3 cmUVHandlePtr: Add explicit conversion to bool 2023-11-17 08:50:53 -05:00
Brad King cd2894a089 cmUVHandlePtr: Conversions to raw pointers are const 2023-11-17 08:50:53 -05:00
Brad King 6ef03ca03e cmUVSignalHackRAII: Drop outdated and unused libuv SA_RESTART workaround
It is only needed for libuv < 1.19, but since commit c050d6a01e
(string(TIMESTAMP): add %f specifier for microseconds, 2022-01-27,
v3.23.0-rc1~59^2) we require libuv >= 1.28.
2023-11-17 08:49:21 -05:00
Evan Wilde 0f80101b73 Tests: Update Swift tests to use CMP0157 NEW behavior
Fixing failing tests caused by introduction of new policy + warning when
the policy is not set.
2023-11-17 08:43:21 -05:00
Evan Wilde c1d787e473 Swift: Add abstraction for compilation mode
Add a `CMAKE_Swift_COMPILATION_MODE` variable and corresponding
`Swift_COMPILATION_MODE` target property to control the compilation
mode.  Select among `wholemodule`, `singlefile`, and `incremental`.

Add policy CMP0157 to remove the default `-wmo` flags in favor of the
abstract setting.

Issue: #25366
2023-11-17 08:43:21 -05:00
Brad King c39384f540 Tests: Simplify RunCMake.Swift conditions to enable use of Swift 2023-11-17 08:40:14 -05:00
Brad King 6f8532fbfa Merge topic 'autogen-rsp'
232610e60e Autogen: Use new API for limiting autogen command line lengths
7a07887055 Autogen: Add support for response files for moc predef targets
7eb5ab2c63 Autogen: Generalize MaybeWriteMocResponseFile to MaybeWriteResponseFile

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8944
2023-11-17 08:23:18 -05:00
Brad King 08f5e09f9f Merge topic 'UseSWIG-csharp-dllimport'
342b1b8a69 UseSWIG: ensure generated CSharp source code is portable.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8973
2023-11-17 08:20:23 -05:00
Brad King 25fcc7e3de Merge topic 'FetchContent-find_package-args'
42dbdf8914 FetchContent: Fix syntax to forward FIND_PACKAGE_ARGS arguments correctly

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8967
2023-11-17 08:19:35 -05:00
Brad King 194d66c952 Merge branch 'release-3.28' 2023-11-17 08:18:42 -05:00
Brad King b6688f11df Merge topic 'update-kwiml'
f2cc0ef2ed Merge branch 'upstream-KWIML' into update-kwiml
83dd9be285 KWIML 2023-11-16 (500bc253)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8978
2023-11-17 08:18:42 -05:00
Brad King 52ce26b9d3 Merge topic 'update-kwiml' into release-3.28
f2cc0ef2ed Merge branch 'upstream-KWIML' into update-kwiml
83dd9be285 KWIML 2023-11-16 (500bc253)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8978
2023-11-17 08:18:41 -05:00
Brad King c78240c406 Merge branch 'release-3.28' 2023-11-17 08:11:55 -05:00
Brad King 066ae7051c Merge topic 'doc-deprecated-hanging-indent'
b553ac4c2f Utilities/Sphinx: Add hanging indent to deprecation notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8976
2023-11-17 08:11:55 -05:00
Brad King 5595976c11 Merge topic 'doc-deprecated-hanging-indent' into release-3.28
b553ac4c2f Utilities/Sphinx: Add hanging indent to deprecation notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8976
2023-11-17 08:11:54 -05:00
Kyle Edwards a3a85524cd fileapi: Fix file sets' base directories relative to top source
This field was added by commit b3e9fb67bb (file-api: support exporting
file set information, 2022-11-03, v3.26.0-rc1~389^2) but the relative
path convention used elsewhere was accidentally left out.

Fixes: #25422
2023-11-17 07:59:05 -05:00
Kitware Robot 1aa095c8ed CMake Nightly Date Stamp 2023-11-17 00:01:08 -05:00
Brad King f2cc0ef2ed Merge branch 'upstream-KWIML' into update-kwiml
* upstream-KWIML:
  KWIML 2023-11-16 (500bc253)
2023-11-16 15:15:51 -05:00
Brad King b553ac4c2f Utilities/Sphinx: Add hanging indent to deprecation notes
Extend commit 038f4c12e3 (Utilities/Sphinx: Add hanging indent to
version notes, 2023-03-14, v3.27.0-rc1~322^2) to cover `deprecated`
directives.
2023-11-16 14:27:54 -05:00
Max Gaukler 60661f6770 CPack/WiX: Make InstallScope configurable
Add a new `CPACK_WIX_INSTALL_SCOPE` variable to set the `InstallScope`
when using the default WiX template.  Set the default to the bug-free
value `perMachine`.

Fixes: #20962
2023-11-16 14:15:38 -05:00
KWIML Upstream 83dd9be285 KWIML 2023-11-16 (500bc253)
Code extracted from:

    https://gitlab.kitware.com/utils/kwiml.git

at commit 500bc25359cdf9e7357315ae3a6c05d606d93ea3 (master).

Upstream Shortlog
-----------------

Brad King (1):
      500bc253 codespell: fix typos
2023-11-16 11:18:55 -05:00
tophoo 232610e60e Autogen: Use new API for limiting autogen command line lengths 2023-11-16 16:29:29 +01:00
tophoo 7a07887055 Autogen: Add support for response files for moc predef targets
Add support for response files for moc predef targets and make the limit when
to use response files for autogen targets configurable.
2023-11-16 16:29:02 +01:00
Brad King 2c923a7e28 Merge topic 'install-export-xcframework'
37bc3400cd CMakePackageConfigHelpers: Add generate_apple_platform_selection_file()
256bb0cc40 install(EXPORT): Add ability to point to .xcframework file
a90968e044 cmExportBuildFileGenerator: Add structs for target exports

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Jason Juang <jasjuang@gmail.com>
Merge-request: !8969
2023-11-16 09:13:16 -05:00
Brad King f6d65c622c Merge topic 'doc-file'
e48f2e69b5 Help: Clarify file() command multi-value argument placeholders

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8975
2023-11-16 09:11:52 -05:00
Kitware Robot 572f3105c1 CMake Nightly Date Stamp 2023-11-16 00:01:10 -05:00
Brad King e48f2e69b5 Help: Clarify file() command multi-value argument placeholders
Use `<placeholder>...` syntax to imply "zero or more", as we do elsewhere.
2023-11-15 10:56:17 -05:00
Brad King aed9a14cd4 Merge branch 'release-3.28' 2023-11-15 10:30:27 -05:00
Brad King 0b6c6bb1ea CMake 3.28.0-rc5 v3.28.0-rc5 2023-11-15 09:54:28 -05:00
Brad King 4bd90b643f Merge branch 'release-3.28' 2023-11-15 09:44:37 -05:00
Brad King 5bc9c2d6ac Merge branch 'release-3.27' 2023-11-15 09:44:17 -05:00
Brad King cd74246331 Merge branch 'release-3.27' into release-3.28 2023-11-15 09:43:56 -05:00