Commit Graph

72955 Commits

Author SHA1 Message Date
Brad King ffce9fa39c Utilities: Update hard-coded try_compile results for libarchive 3.8.2 2025-11-10 15:12:53 -05:00
Brad King 3c91d4427d libarchive: Set build options the way we need for CMake 2025-11-10 15:12:47 -05:00
Brad King c0354ddf83 Merge branch 'upstream-LibArchive' into update-libarchive
* upstream-LibArchive:
  LibArchive 2025-10-15 (7f53fce0)
2025-11-10 15:12:12 -05:00
LibArchive Upstream 73b8b633a7 LibArchive 2025-10-15 (7f53fce0)
Code extracted from:

    https://github.com/libarchive/libarchive.git

at commit 7f53fce04e4e672230f4eb80b219af17975e4f83 (v3.8.2).
2025-11-10 15:11:54 -05:00
Brad King 93620e671b libarchive: Update script to get 3.8.2 2025-11-10 15:11:41 -05:00
Brad King 5c1ec64d20 Merge branch 'test-libarchive-3.8.2' into update-libarchive 2025-11-10 15:11:31 -05:00
Brad King 576117b7eb Tests: Update expected Zstandard magic number for libarchive 3.8.2
libarchive 3.8.2 enabled Zstandard's checksum feature in the zstd write
filter.  Update our tests' expected results accordingly.

Fixes: #27355
Reported-by: Funda Wang <fundawang@yeah.net>
2025-11-10 15:11:10 -05:00
Brad King 59534983c9 Merge topic 'update-common-tracking'
e1f4a35171 Utilities/Scripts: do not use exact tree match
1b03059674 update-common.sh: synchronize with upstream
98e410c4db git-fetch-file: track `update-common.sh`

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11397
2025-11-10 14:35:29 -05:00
Brad King ef8185ef9a Merge branch 'release-4.2' 2025-11-10 14:01:16 -05:00
Brad King 67b8c9b4b4 Merge branch 'release-4.1' 2025-11-10 14:01:11 -05:00
Brad King 563ff5412a Merge branch 'release-4.0' 2025-11-10 14:01:06 -05:00
Brad King 32c8177fab Merge branch 'release-3.31' 2025-11-10 14:00:52 -05:00
Brad King 3e1933ec55 Merge branch 'release-4.1' into release-4.2 2025-11-10 14:00:33 -05:00
Brad King e8bdd11c69 Merge branch 'release-4.0' into release-4.1 2025-11-10 14:00:25 -05:00
Brad King e7bcf5e3a3 Merge branch 'release-3.31' into release-4.0 2025-11-10 14:00:15 -05:00
Brad King 253b2b8c7b Merge topic 'backport-3.31-cpack-rpm-weak-deps' into release-3.31
f357fc27e5 CPack: Backport "correctly perform querytags on old versions of RPM"
1803eda9f7 CPack/RPM: Backport "Fix detection of RPM support for weak dependencies"
d2404872b2 CPack/RPM: Backport "Remove redundant conditions for presence of rpmbuild"

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11400
2025-11-10 13:53:43 -05:00
Brad King f357fc27e5 CPack: Backport "correctly perform querytags on old versions of RPM"
Backport commit 488de6294a (CPack: correctly perform querytags on old
versions of RPM, 2025-01-09, v4.0.0-rc1~182^2~3) to CMake 3.31.
2025-11-10 11:42:44 -05:00
Brad King 1803eda9f7 CPack/RPM: Backport "Fix detection of RPM support for weak dependencies"
Backport commit 283a48403f (CPack/RPM: Fix detection of RPM support for
weak dependencies, 2025-02-28, v4.0.0-rc3~8^2) to CMake 3.31.

Fixes: #27373
2025-11-10 11:40:49 -05:00
Brad King d2404872b2 CPack/RPM: Backport "Remove redundant conditions for presence of rpmbuild"
Backport commit ab4e74ad0b (CPack/RPM: Remove redundant conditions for
presence of rpmbuild, 2025-02-28, v4.0.0-rc3~8^2~1) to CMake 3.31.
2025-11-10 11:40:20 -05:00
Brad King 38ba84cf2e Merge branch 'release-4.2' 2025-11-10 10:50:34 -05:00
Brad King 8b32e8c057 CMake 4.2.0-rc3 v4.2.0-rc3 2025-11-10 09:55:31 -05:00
Brad King 6dcfe66085 Merge topic 'cpack-archive-ownership'
5a18728cec CPack/Archive: Add support for setting UID/GID in archive

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11353
2025-11-10 09:15:13 -05:00
Brad King deb70f536e Merge topic 'cmake-init'
40b093649b cmake: Avoid calling GetCMakeListFile with empty directory
f6b3ba5f55 CMP0198: Maintain CMAKE_PARENT_LIST_FILE only when configuring projects
3593aa59ef cmake: Replace working mode with role
accfa7fa81 cmake: Infer command failure action from role
e290d4f2a3 cmake: Infer command set from role
bfaaec6179 cmake --workflow: Convert implementation to internal role
ea5d04975e cmake --build: Convert implementation to internal role
0b83750e14 cmake: Clarify name of role of internal instances
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11395
2025-11-10 09:13:42 -05:00
Brad King 8416e33145 Merge branch 'release-4.2' 2025-11-10 09:12:10 -05:00
Brad King 976512e7ec Merge topic 'update-curl'
fc5aed6035 curl: Restore support for custom CApath without a default
92dcb68826 curl: Set build options the way we need for CMake
8429b65f27 Merge branch 'upstream-curl' into update-curl
e28c33c159 curl 2025-11-05 (400fffa9)
87e10c1053 curl: Update script to get curl 8.17.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11394
2025-11-10 09:12:10 -05:00
Brad King 86cf76a8d8 Merge topic 'update-curl' into release-4.2
fc5aed6035 curl: Restore support for custom CApath without a default
92dcb68826 curl: Set build options the way we need for CMake
8429b65f27 Merge branch 'upstream-curl' into update-curl
e28c33c159 curl 2025-11-05 (400fffa9)
87e10c1053 curl: Update script to get curl 8.17.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11394
2025-11-10 09:12:08 -05:00
Brad King f9fe81f3f8 Merge branch 'release-4.2' 2025-11-10 09:10:31 -05:00
Brad King 2ea7d97658 Merge branch 'release-4.1' 2025-11-10 09:10:24 -05:00
Brad King b2a0bef1b0 Merge branch 'release-4.0' 2025-11-10 09:10:17 -05:00
Brad King 2b5b3e351f Merge branch 'release-3.31' 2025-11-10 09:10:10 -05:00
Brad King d0d72cbde6 Merge branch 'release-4.1' into release-4.2 2025-11-10 09:09:47 -05:00
Brad King c96cce4d78 Merge branch 'release-4.2' 2025-11-10 09:08:41 -05:00
Brad King 06b3095df7 Merge topic 'process-timeout-short'
6ec2c51f0c execute_process: Restore support for short timeouts

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !11399
2025-11-10 09:08:41 -05:00
Brad King 5d69468679 Merge topic 'process-timeout-short' into release-4.2
6ec2c51f0c execute_process: Restore support for short timeouts

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !11399
2025-11-10 09:08:39 -05:00
Brad King deb88d9fe1 Merge branch 'release-4.0' into release-4.1 2025-11-10 09:07:58 -05:00
Brad King d11dceee4f Merge topic 'process-timeout-short' into release-4.1
6ec2c51f0c execute_process: Restore support for short timeouts

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11399
2025-11-10 09:07:39 -05:00
Brad King f1f39347c2 Merge branch 'release-3.31' into release-4.0 2025-11-10 09:07:22 -05:00
Brad King 1ec4e64227 Merge topic 'process-timeout-short' into release-4.0
6ec2c51f0c execute_process: Restore support for short timeouts

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11399
2025-11-10 09:06:55 -05:00
Brad King dd8c14e9e5 Merge topic 'process-timeout-short' into release-3.31
6ec2c51f0c execute_process: Restore support for short timeouts

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11399
2025-11-10 09:00:43 -05:00
Kitware Robot c3ba7ecaa5 CMake Nightly Date Stamp 2025-11-10 00:09:46 -05:00
Brad King 6ec2c51f0c execute_process: Restore support for short timeouts
Since commit 5420639a8d (cmExecuteProcessCommand: Replace cmsysProcess
with cmUVProcessChain, 2023-06-01, v3.28.0-rc1~138^2~8) we've
occasionally observed immediate timeouts on processes that take longer
than the timeout to start, even though we only start the timer after the
child processes start.  The problem is that:

* `uv_loop_init` initializes `uv_loop_t`'s cached "now" time.
* Starting processes takes time but does not update the "now" time.
* `uv_timer_start` computes expiry relative the cached "now" time,
  so short timers may be expired as soon as they are started.
* `uv_run` invokes expired timer callbacks before polling for I/O
  or process completion, so we "timeout" immediately.

Fix this by updating the cached "now" time via `uv_update_time` just
before starting timers.  This is needed only for timers that start
before the `uv_run` event loop.  Update our `uv_timer_ptr` wrapper
to make all callers consider the choice when calling `start()`.
2025-11-09 09:13:43 -05:00
Brad King fc5aed6035 curl: Restore support for custom CApath without a default
Backport upstream curl commit `f55974c139` (vtls: fix CURLOPT_CAPATH
use, 2025-11-08).  It revises commit `eefd03c572` (ssl: support Apple
SecTrust configurations, 2025-09-24, `curl-8_17_0~443`) to accept
`CURLOPT_CAPATH` when there is no default `CURL_CA_PATH`.

CURL-Issue: https://github.com/curl/curl/issues/19401
CURL-PR: https://github.com/curl/curl/pull/19408
2025-11-09 08:50:16 -05:00
Kitware Robot 11b487d841 CMake Nightly Date Stamp 2025-11-09 00:07:11 -05:00
Clinton Stimpson 5a18728cec CPack/Archive: Add support for setting UID/GID in archive
Add `CPACK_ARCHIVE_UID` and `CPACK_ARCHIVE_GID` options.

Add a policy to change the default to 0/0 to enable ownership
by root if unpacking as root.

Fixes: #12901
2025-11-08 09:25:08 -05:00
Ben Boeckel e1f4a35171 Utilities/Scripts: do not use exact tree match
CMake patches its third party imports directly, so skip the exact match
strategy.
2025-11-08 07:45:05 -05:00
Kitware Robot d90e073cdd CMake Nightly Date Stamp 2025-11-08 00:06:41 -05:00
Ben Boeckel 1b03059674 update-common.sh: synchronize with upstream
Of note is the support for finding imports with matching trees, not just
commits.
2025-11-07 15:37:03 -05:00
Ben Boeckel 98e410c4db git-fetch-file: track update-common.sh
Support using `git fetch-file`[1] to keep `update-common.sh`
synchronized with its upstream.

[1] https://github.com/andrewmcwattersandco/git-fetch-file
2025-11-07 15:37:02 -05:00
Brad King 40b093649b cmake: Avoid calling GetCMakeListFile with empty directory 2025-11-07 09:35:55 -05:00
Brad King f6b3ba5f55 CMP0198: Maintain CMAKE_PARENT_LIST_FILE only when configuring projects
Revise commit 41aea12941 (Do not define CMAKE_PARENT_LIST_FILE in
CMakeLists.txt, 2025-07-05, v4.2.0-rc1~505^2).
2025-11-07 09:35:55 -05:00