Commit Graph

2249 Commits

Author SHA1 Message Date
Brad King
25c2d60c04 Merge branch 'upstream-expat' into update-expat
* upstream-expat:
  expat 2024-03-13 (fa75b965)
2024-08-13 15:22:18 -04:00
Brad King
fc5bbb1f01 expat: Update script to get Expat 2.6.2 2024-08-13 15:16:02 -04:00
Brad King
d211f111cd Merge branch 'upstream-curl' into update-curl
* upstream-curl:
  curl 2024-07-31 (83bedbd7)
2024-07-31 09:19:40 -04:00
Brad King
bccd0b606c curl: Update script to get curl 8.9.1 2024-07-31 09:18:23 -04:00
Vito Gamberini
35734c8de3 PkgC: Add llpkgc to build 2024-07-29 13:14:41 -04:00
Brad King
080d876a79 Utilities: Update hard-coded try_compile results for curl 8.9.0 2024-07-25 11:05:31 -04:00
Brad King
c1a62dd104 curl: Set build options the way we need for CMake
Set options added by the update to curl 8.9.0.
2024-07-25 11:05:26 -04:00
Brad King
54c5367320 Merge branch 'upstream-curl' into update-curl
* upstream-curl:
  curl 2024-07-24 (5040f7e9)
2024-07-25 11:05:06 -04:00
Brad King
60bd6acfbf curl: Update script to get curl 8.9.0 2024-07-25 11:03:38 -04:00
Vito Gamberini
4b1b35bad3 Merge branch 'upstream-llpkgc' into llpkgc-integration
# By llpkgc upstream
* upstream-llpkgc:
  llpkgc 2024-07-18 (7958a1de)
2024-07-19 12:14:40 -04:00
Vito Gamberini
ff79e60dd0 PkgC: Add update-llpkgc script 2024-07-19 12:13:17 -04:00
Brad King
cabbb9d6a7 Merge topic 'libuv-idna'
890beb19e6 libuv: backport IDNA input/output hardening fixes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9658
2024-07-16 10:28:17 -04:00
Brad King
890beb19e6 libuv: backport IDNA input/output hardening fixes
Backport libuv commit `0f2d7e78` (fix: always zero-terminate idna
output, 2024-01-18, `v1.48.0~4`) and libuv commit `3530bcc3` (fix:
reject zero-length idna inputs, 2024-01-18, `v1.48.0~3`).

Fixes: #26112
2024-07-15 15:55:23 -04:00
Vito Gamberini
e0f9d81f09 STL: extend type_traits to deal with member pointers 2024-07-02 09:30:55 -04:00
Brad King
0c62599805 Merge topic 'libuv-macos-kqueue'
422c1de564 libuv: macos: restore use of kqueue instead of posix poll
7e3519e705 libuv: macos: reap child processes more reliably when using kqueue

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9619
2024-06-24 09:38:43 -04:00
Brad King
d1c614d87e Merge topic 'libuv-macos-kqueue' into release-3.30
422c1de564 libuv: macos: restore use of kqueue instead of posix poll
7e3519e705 libuv: macos: reap child processes more reliably when using kqueue

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9619
2024-06-24 09:38:41 -04:00
Brad King
422c1de564 libuv: macos: restore use of kqueue instead of posix poll
Revert commit f54ec4e7f9 (libuv: macos: use posix poll instead of
kqueue, 2024-03-31, v3.29.1~7^2) and its parent.  It is not necessary
after the kqueue-based implementation was fixed to reap child processes
more reliably.

Issue: #25839
2024-06-21 16:45:55 -04:00
Brad King
7e3519e705 libuv: macos: reap child processes more reliably when using kqueue
Backport libuv commit `42cc412c4a` (darwin,process: feed kevent the
signal to reap children, 2023-02-01, `v1.45.0~55`) from libuv PR 3893.

Fixes: #25839
2024-06-21 15:01:15 -04:00
Brad King
2b6b102435 Merge topic 'rel-win-wix-4'
f6c2f64d04 Utilities/Release: Update MSI generation to use WIX 4
a8cecc3b7f ci: Update CMake version to 3.30.0-rc1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9591
2024-06-11 11:25:59 -04:00
Brad King
f6c2f64d04 Utilities/Release: Update MSI generation to use WIX 4 2024-06-10 11:22:15 -04:00
Brad King
115425e68c Configure CMake itself with policies through CMake 3.29 2024-06-05 13:24:36 -04:00
Brad King
b731398a1a curl: Set build options the way we need for CMake
Set options added by the update to curl 8.8.0.
2024-05-29 14:06:29 -04:00
Brad King
6badc712e1 Merge branch 'upstream-curl' into update-curl
* upstream-curl:
  curl 2024-05-22 (fd567d4f)
2024-05-29 14:04:11 -04:00
Brad King
f336868146 curl: Update script to get curl 8.8.0 2024-05-29 13:59:31 -04:00
Brad King
374716a47a Merge topic 'execute_process-child-startup-info'
fa8c04b421 Tests/RunCMake/execute_process: Check STARTUPINFOW reserved members
d98df689ab Merge branch 'libuv-win-process-no-extra-stdio'
a590382850 libuv: win/spawn: disable extra-file-descriptor support not needed by CMake

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9541
2024-05-28 08:56:42 -04:00
Brad King
d98df689ab Merge branch 'libuv-win-process-no-extra-stdio' 2024-05-22 14:58:43 -04:00
Brad King
a590382850 libuv: win/spawn: disable extra-file-descriptor support not needed by CMake
Upstream libuv supports passing file descriptors >= 3 to child processes
via `STARTUPINFOW` members reserved by the MSVC C run-time.  However,
some programs use `GetStartupInfoW` to initialize a `STARTUPINFOW`
structure to pass to `CreateProcessW` without clearing the reserved
members.  If we launch such programs with non-zero values in the
reserved members, the MSVC C run-time in *their* children may not
correctly associate the stdin/stdout/stderr streams' file descriptors
with the corresponding `HANDLE`s.

Patch our copy of libuv to avoid using the reserved members.  This
restores `execute_process` support for the above-described programs as
we had prior to commit 5420639a8d (cmExecuteProcessCommand: Replace
cmsysProcess with cmUVProcessChain, 2023-06-01, v3.28.0-rc1~138^2~8).
It also enables support for such programs when launched by `ctest`.

Fixes: #25996
Fixes: #25889
2024-05-22 14:58:06 -04:00
Brad King
1d8848c4ce Merge topic 'FindOpenMP-runtime-msvc'
b07c637e42 FindOpenMP: Add option to control OpenMP runtime with MSVC

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9475
2024-05-02 09:34:29 -04:00
Axel Huebl
b07c637e42 FindOpenMP: Add option to control OpenMP runtime with MSVC
The MSVC compiler's `-openmp` flag accepts `:{experimental,llvm}`
values.  Add an option to specify one.

Closes: #25570
2024-05-01 08:25:14 -04:00
Brad King
7f9817b7cb Remove unnecessary executable permission from .ps1 scripts
Powershell scripts cannot be launched as commands on Windows.
They must be run through the `powershell` or `pwsh` tool.
2024-04-30 09:33:44 -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
dc7fceb200 Utilities/Sphinx: Ignore warning in generated texinfo documentation 2024-04-24 16:42:59 -04:00
Brad King
9f399e741c curl: Set build options the way we need for CMake
Set options added by the update to curl 8.7.1.
2024-04-05 15:50:32 -04:00
Brad King
7fef14d8e0 Merge branch 'upstream-curl' into update-curl
* upstream-curl:
  curl 2024-03-27 (de7b3e89)
2024-04-05 12:59:16 -04:00
Brad King
7ceb6e6c0b curl: Update script to get curl 8.7.1 2024-04-05 12:54:37 -04:00
Brad King
c09126cb5b Merge topic 'libuv-macos-posix-poll'
f54ec4e7f9 libuv: macos: use posix poll instead of kqueue
af330faaf1 libuv: darwin: group kqueue-specific definitions together
0db6402687 libuv: process: de-duplicate conditions for using kqueue

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9392
2024-04-01 11:04:03 -04:00
Brad King
f54ec4e7f9 libuv: macos: use posix poll instead of kqueue
Since commit 5420639a8d (cmExecuteProcessCommand: Replace cmsysProcess
with cmUVProcessChain, 2023-06-01, v3.28.0-rc1~138^2~8) we've observed
spurious process hangs in `uv__io_poll` waiting for `kqueue` to deliver
events on macOS.

Issue: #25839
2024-04-01 09:56:50 -04:00
Brad King
af330faaf1 libuv: darwin: group kqueue-specific definitions together 2024-04-01 09:55:49 -04:00
Brad King
0db6402687 libuv: process: de-duplicate conditions for using kqueue
Its platform-specific headers provide a dedicated indicator.

Backport libuv PR 4378.
2024-04-01 09:55:03 -04:00
Brad King
2e5330591d Utilities/Release/WiX: Modify PATH by default when installing on Windows
If the PATH modification choice has not been saved persistently by an
existing installation of CMake, default to modifying the system PATH
environment variable to make our command-line tools available for all
users.  This is a common expectation.

Fixes: #21465
2024-03-29 09:32:27 -04:00
Brad King
32388821e2 Utilities/Release/WiX: Save PATH modification preference persistently
Our Windows installer provides an interactive dialog to choose whether
the PATH should be modified.  It may also be specified on the `msiexec`
command-line as an `ADD_CMAKE_TO_PATH={0,1}` property.  Save the choice
persistently in the Windows Registry and use the same choice by default
in future installations.

Issue: #21465
2024-03-29 09:32:27 -04:00
Brad King
7bd68cf381 Utilities/Release/WiX: Convert PATH modification preference to checkbox
Add explicit support for passing a `ADD_CMAKE_TO_PATH={0,1}` property to
`msiexec` command-line installations to control the checkbox.  Also
preserve compatibility with the old `ADD_CMAKE_TO_PATH={None,System}`
property, which previously controlled the radio button group, by mapping
the values to the checkbox.

Remove the "Add CMake to the system PATH for the current user" option.
It actually added CMake to the installing user's PATH, not the system
PATH, even though CMake is installed to a system location.

Also revise the wording of the desktop shortcut checkbox to match
the style of the PATH checkbox wording.

Issue: #21465
2024-03-28 16:20:04 -04:00
Brad King
d320c76257 Utilities/Release/WiX: Clarify UI options dialog name 2024-03-28 15:19:18 -04:00
Brad King
cde0b7c131 Utilities/Release/WiX: Clarify UI dialog order 2024-03-28 15:19:18 -04:00
Brad King
48d2a7ac62 Utilities/Release/WiX: Backport UI dialog condition fix from WiX 3.11
See WiX issue 4737 and wix3 PR 284.
2024-03-28 15:19:17 -04:00
Brad King
36ae046ed1 Utilities/Release/WiX: Simplify desktop shortcut condition 2024-03-28 15:19:17 -04:00
Brad King
9e831a6211 Utilities/Release/WiX: Simplify specification of CMake registry value 2024-03-28 15:19:17 -04:00
Brad King
68e9454abe Utilities/Release/WiX: Require Windows Installer 5.0
This version comes with Windows 7, the oldest our binaries support.
2024-03-28 15:19:17 -04:00
Brad King
e6f1dd3106 Merge topic 'libuv-macos-10.5'
e3e2ef1964 libuv: Avoid posix_spawn on macOS < 10.8

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9371
2024-03-26 09:06:21 -04:00
Brad King
8b832b353c Merge topic 'libuv-macos-10.5' into release-3.29
e3e2ef1964 libuv: Avoid posix_spawn on macOS < 10.8

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9371
2024-03-26 09:06:20 -04:00