summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'FindOpenMP-runtime-msvc'Brad King2024-05-021-0/+1
|\ | | | | | | | | | | | | b07c637e42 FindOpenMP: Add option to control OpenMP runtime with MSVC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9475
| * FindOpenMP: Add option to control OpenMP runtime with MSVCAxel Huebl2024-05-011-0/+1
| | | | | | | | | | | | | | The MSVC compiler's `-openmp` flag accepts `:{experimental,llvm}` values. Add an option to specify one. Closes: #25570
* | Remove unnecessary executable permission from .ps1 scriptsBrad King2024-04-302-0/+0
|/ | | | | Powershell scripts cannot be launched as commands on Windows. They must be run through the `powershell` or `pwsh` tool.
* clang-tidy module: Update to build against LLVM/Clang 18Brad King2024-04-241-8/+9
|
* Utilities/Sphinx: Ignore warning in generated texinfo documentationBrad King2024-04-241-0/+1
|
* curl: Set build options the way we need for CMakeBrad King2024-04-051-0/+3
| | | | Set options added by the update to curl 8.7.1.
* Merge branch 'upstream-curl' into update-curlBrad King2024-04-05120-4643/+7293
| | | | | * upstream-curl: curl 2024-03-27 (de7b3e89)
* curl: Update script to get curl 8.7.1Brad King2024-04-051-1/+1
|
* Merge topic 'libuv-macos-posix-poll'Brad King2024-04-014-9/+12
|\ | | | | | | | | | | | | | | | | 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
| * libuv: macos: use posix poll instead of kqueueBrad King2024-04-013-2/+9
| | | | | | | | | | | | | | | | | | 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
| * libuv: darwin: group kqueue-specific definitions togetherBrad King2024-04-011-2/+2
| |
| * libuv: process: de-duplicate conditions for using kqueueBrad King2024-04-011-5/+1
| | | | | | | | | | | | Its platform-specific headers provide a dedicated indicator. Backport libuv PR 4378.
| * Merge topic 'libuv-macos-10.5' into release-3.29Brad King2024-03-261-3/+7
| |\ | | | | | | | | | | | | | | | | | | e3e2ef1964 libuv: Avoid posix_spawn on macOS < 10.8 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9371
* | | Utilities/Release/WiX: Modify PATH by default when installing on WindowsBrad King2024-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Utilities/Release/WiX: Save PATH modification preference persistentlyBrad King2024-03-292-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Utilities/Release/WiX: Convert PATH modification preference to checkboxBrad King2024-03-283-17/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Utilities/Release/WiX: Clarify UI options dialog nameBrad King2024-03-282-6/+6
| | |
* | | Utilities/Release/WiX: Clarify UI dialog orderBrad King2024-03-281-3/+3
| | |
* | | Utilities/Release/WiX: Backport UI dialog condition fix from WiX 3.11Brad King2024-03-281-1/+1
| | | | | | | | | | | | See WiX issue 4737 and wix3 PR 284.
* | | Utilities/Release/WiX: Simplify desktop shortcut conditionBrad King2024-03-281-1/+1
| | |
* | | Utilities/Release/WiX: Simplify specification of CMake registry valueBrad King2024-03-281-6/+3
| | |
* | | Utilities/Release/WiX: Require Windows Installer 5.0Brad King2024-03-281-1/+1
| | | | | | | | | | | | This version comes with Windows 7, the oldest our binaries support.
* | | Merge topic 'libuv-macos-10.5'Brad King2024-03-261-3/+7
|\ \ \ | | |/ | |/| | | | | | | | | | | | | e3e2ef1964 libuv: Avoid posix_spawn on macOS < 10.8 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9371
| * | libuv: Avoid posix_spawn on macOS < 10.8Brad King2024-03-251-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since libuv commit `83efa3dd71` (Reland "macos: use posix_spawn instead of fork", 2022-03-02, v1.44.0~10), `uv_spawn` on macOS < 10.8 has been observed to cause kernel panics and/or resource exhaustion. This became particularly noticeable in CMake since commit 5420639a8d (cmExecuteProcessCommand: Replace cmsysProcess with cmUVProcessChain, 2023-06-01, v3.28.0-rc1~138^2~8). Prefer `fork` over `posix_spawn` in libuv when targeting macOS < 10.8. Fixes: #25414 Fixes: #25818 Inspired-by: Ken Cunningham <kencu@macports.org>
* | | Merge topic 'ci-wix'Brad King2024-03-125-106/+106
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b024732b19 ci: Explicitly enable CPackWiXGenerator test only in specific jobs bb261818f4 ci: Explicitly build WiX custom action in packaging jobs ac5aa7f1bf ci: Explicitly specify WiX architecture in packaging jobs c1616c98bf ci: Move job settings away from unrelated comment beecda4ddd Utilities/Release: Replace tabs with spaces in WiX input files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9330
| * | | ci: Explicitly build WiX custom action in packaging jobsBrad King2024-03-111-1/+1
| | | | | | | | | | | | | | | | Drop the environment-based heuristic.
| * | | Utilities/Release: Replace tabs with spaces in WiX input filesBrad King2024-03-114-105/+105
| | | |
* | | | Merge branch 'upstream-zlib' into update-zlibBrad King2024-03-1123-1530/+1016
| | | | | | | | | | | | | | | | | | | | * upstream-zlib: zlib 2024-01-22 (51b7f2ab)
* | | | zlib: Update script to get zlib 1.3.1Brad King2024-03-111-2/+2
|/ / / | | | | | | | | | Issue: #25755
* | | cmzstd: Explicitly disable ASMKyle Edwards2024-03-081-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | Our vendored zstd does not include the assembly language file from upstream (huf_decompress_amd64.S), so it's fine to completely disable assembly language. Fixes: #25744
* | | Merge topic 'update-zstd'Brad King2024-02-1673-5968/+15171
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9365455c78 zstd: Fix compilation with Oracle Studio compiler on Solaris 2ee2aa7074 zstd: Suppress clang-analyzer warnings 3db63973b3 Merge branch 'upstream-zstd' into update-zstd cd0b9e547a zstd 2023-04-04 (63779c79) fb82a882f6 zstd: Update script to get zstd 1.5.5 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9253
| * | | zstd: Fix compilation with Oracle Studio compiler on SolarisBrad King2024-02-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | The compiler does not have `<stdalign.h>`, but does have `_Alignof`: * https://docs.oracle.com/cd/E77782_01/html/E77788/gnxfh.html#OSSCGgnyfx
| * | | zstd: Suppress clang-analyzer warningsBrad King2024-02-151-1/+1
| | | |
| * | | Merge branch 'upstream-zstd' into update-zstdBrad King2024-02-1472-5967/+15166
| | | | | | | | | | | | | | | | | | | | * upstream-zstd: zstd 2023-04-04 (63779c79)
| * | | zstd: Update script to get zstd 1.5.5Brad King2024-02-141-1/+1
| | | |
* | | | Merge topic 'librhash-glibc-version'Brad King2024-02-151-2/+3
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | e14300816b librhash: aligned_alloc is not available with glibc < 2.15 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9255
| * | librhash: aligned_alloc is not available with glibc < 2.15Brad King2024-02-141-2/+3
| | |
| * | Merge topic 'libuv-1.48' into release-3.29Brad King2024-02-093-11/+19
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | 077a1d5769 libuv: win/spawn: optionally run executable paths with no file extension f02ac51150 libuv: Revert "win/spawn: run executables with no file extension" 58a271e60b cmUVProcessChain: Implement no-extension-on-Windows support with libuv 1.48 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9238
* | | Merge topic 'libuv-1.48'Brad King2024-02-093-11/+19
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | 077a1d5769 libuv: win/spawn: optionally run executable paths with no file extension f02ac51150 libuv: Revert "win/spawn: run executables with no file extension" 58a271e60b cmUVProcessChain: Implement no-extension-on-Windows support with libuv 1.48 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9238
| * | libuv: win/spawn: optionally run executable paths with no file extensionBrad King2024-02-083-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | Backport libuv commit `3f7191e5` (win/spawn: optionally run executable paths with no file extension, 2024-02-05, v1.48.0~8) to add the `UV_PROCESS_WINDOWS_FILE_PATH_EXACT_NAME` option we now use. Issue: #25450
| * | libuv: Revert "win/spawn: run executables with no file extension"Brad King2024-02-081-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit fc6231bee5 (libuv: win/spawn: run executables with no file extension, 2023-12-04, v3.28.0~9^2) to make room for the corresponding fix from upstream libuv 1.48. Record this as a merge from the last-imported upstream libuv snapshot branch so that future `git blame` points to the upstream for the original code instead of this commit. Issue: #25450
* | | Configure CMake itself with policies through CMake 3.28Brad King2024-02-062-2/+2
| |/ |/|
* | Merge branch 'upstream-curl' into update-curlBrad King2024-01-31137-4573/+7357
| | | | | | | | | | * upstream-curl: curl 2024-01-31 (5ce164e0)
* | curl: Update script to get curl 8.6.0Brad King2024-01-311-10/+1
| |
* | Merge topic 'update-zlib'Brad King2024-01-312-3/+3
|\ \ | |/ | | | | | | | | | | | | | | 22a52526e2 Merge branch 'upstream-zlib' into update-zlib 6c2bed54f6 zlib 2022-10-12 (04f42cec) e868b19ed1 zlib: Fix 1.2.13 version and date notice Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9204
| * Merge branch 'upstream-zlib' into update-zlibBrad King2024-01-301-1/+1
| | | | | | | | | | | | # By zlib upstream * upstream-zlib: zlib 2022-10-12 (04f42cec)
| * zlib: Fix 1.2.13 version and date noticeBrad King2024-01-301-2/+2
| | | | | | | | Issue: #25576
| * Revert use of libuv for process execution for 3.28Brad King2024-01-241-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Wide use of CMake 3.28.{1,0[-rcN]} has uncovered some hangs and crashes in libuv SIGCHLD handling on some platforms, particularly in virtualization environments on macOS hosts. Although the bug does not seem to be in CMake, we can restore stability in the CMake 3.28 release series for users of such platforms by reverting our new uses of libuv for process execution. Revert implementation changes merged by commit 4771544386 (Merge topic 'replace-cmsysprocess-with-cmuvprocesschain', 2023-09-06, v3.28.0-rc1~138), but keep test suite updates. Issue: #25414, #25500, #25562, #25589
* | CPack/WiX: Fix installer status textBrad King2024-01-241-0/+1
| | | | | | | | | | | | | | | | | | | | Previously, installers displayed extra text on some Windows versions: File: [1], Directory: [9], Size [6] Add an option to our WiX templates to suppress that. Fixes: #25634
* | libarchive: avoid lchmod not implemented warning on old LCCmakise-homura2024-01-161-1/+3
| |