summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'cmext-vs16-declval' into release-3.18Brad King2020-07-061-8/+9
|\ | | | | | | Merge-request: !4971
| * cmext: Implement cm::static_reference_cast by declvalSumit Bhardwaj2020-07-061-8/+9
| | | | | | | | | | | | | | | | | | Previously, `cm::static_reference_cast` used `invoke_result_t` and took the address of `O::get`. This is not in complete conformance with standard. Change the implementation to use `std::declval<O>.get()` which is always well-defined.
* | Merge branch 'upstream-curl' into update-curlBrad King2020-07-0139-218/+250
| | | | | | | | | | * upstream-curl: curl 2020-06-30 (5a1fc8d3)
* | curl: Update script to get curl 7.71.1Brad King2020-07-011-1/+1
|/
* curl: Set build options the way we need for CMakeBrad King2020-06-241-0/+6
|
* Merge branch 'upstream-curl' into update-curlBrad King2020-06-24172-4702/+8362
| | | | | * upstream-curl: curl 2020-06-23 (e9db32a0)
* curl: Update script to get curl 7.71.0Brad King2020-06-241-1/+1
|
* Merge topic 'reduce-try_compile'Brad King2020-06-055-40/+31
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 9f3923893c libarchive: Map fixed-size integer types from KWIML as typedefs d20bf471c8 liblzma: Map fixed-size integer types from KWIML as typedefs 92c4316d81 KWSys: Hard-code try_compile results on Windows 2bc89f1a03 cmSystemTools: Hard-code try_compile results for Windows d350d4668a libarchive: Hard-code try_compile results for bundled dependencies bf60ac24ae Source: Assume elf.h does not exist on Windows f408cc2c40 expat: Remove unused try_compile checks 6c4f3dcd7b Utilities: Update hard-coded try_compile results for third-party libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4848
| * libarchive: Map fixed-size integer types from KWIML as typedefsBrad King2020-06-031-10/+10
| | | | | | | | | | | | | | | | | | Refactoring in commit ade3b16e63 (libarchive: Use KWIML to get fixed-size integer types, 2020-06-01) accidentally changed the method of defining `int#_t` types from `typedef` to `#define`. Change it back to `typedef`. Reported-by: Rolf Eike Beer <eike@sf-mail.de>
| * liblzma: Map fixed-size integer types from KWIML as typedefsBrad King2020-06-031-9/+9
| | | | | | | | | | | | | | | | | | Refactoring in commit 12e7bfcbf4 (liblzma: Use KWIML to get fixed-size integer types, 2020-05-25) accidentally changed the method of defining `int#_t` types from `typedef` to `#define`. Change it back to `typedef`. Reported-by: Rolf Eike Beer <eike@sf-mail.de>
| * expat: Remove unused try_compile checksBrad King2020-06-032-17/+0
| |
| * Utilities: Update hard-coded try_compile results for third-party librariesBrad King2020-06-031-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | The integer size checks have been replaced with KWIML so their hard-coded results are no longer needed. Tell `TEST_BIG_ENDIAN` to use `unsigned short` as the 16-bit integer. UNIX device APIs do not exist on Windows. FreeBSD libmd does not exist on Windows. Fix typo in existing `HAVE_READPASSPHRASE_H` setting.
* | gitlab-ci: add jobs for reproducing the release binariesBen Boeckel2020-06-031-0/+1
| |
* | Release/linux: remove explicit LANG settingBen Boeckel2020-06-031-1/+0
| | | | | | | | | | It shouldn't be needed anymore now that the Sphinx scripts are reading UTF-8 content explicitly.
* | Sphinx/create_identifiers: handle qhp contents as utf-8Ben Boeckel2020-06-031-4/+4
| |
* | Sphinx/create_identifiers: use `not in` not `not _ in`Ben Boeckel2020-06-031-1/+1
| |
* | Sphinx/create_identifiers: remove unused importBen Boeckel2020-06-031-1/+1
|/
* Merge topic 'libarchive-reduce-checks'Brad King2020-06-034-330/+56
|\ | | | | | | | | | | | | | | | | ade3b16e63 libarchive: Use KWIML to get fixed-size integer types 22c5b0c244 libarchive: Avoid configure-time checks for integer range constants a7e66cac16 libarchive: Drop unused code providing uintmax_t and intmax_t Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4839
| * libarchive: Use KWIML to get fixed-size integer typesBrad King2020-06-022-216/+41
| |
| * libarchive: Avoid configure-time checks for integer range constantsBrad King2020-06-014-101/+15
| |
| * libarchive: Drop unused code providing uintmax_t and intmax_tBrad King2020-06-012-13/+0
| | | | | | | | The libarchive library code we use within CMake does not need these.
* | curl: Use KWIML to get integer type sizesBrad King2020-06-022-19/+12
|/
* Hard-code some try_compile results for third-party librariesBrad King2020-05-271-0/+300
| | | | | | | | Our bundled third-party libraries perform many `try_compile` checks for compatibility with their upstream build systems. For many of the checks we already know the result for compilers we support for building CMake itself, especially on Windows. Hard-code known results to avoid running the checks.
* liblzma: Assume 'string.h' existsBrad King2020-05-251-1/+1
|
* liblzma: Use KWIML to get fixed-size integer typesBrad King2020-05-252-187/+25
|
* liblzma: Drop unused code providing uintmax_t and intmax_tBrad King2020-05-252-16/+0
| | | | The lzma library code we use within CMake does not need these.
* curl: Avoid checking 'send' and 'recv' signaturesBrad King2020-05-201-0/+17
| | | | | | | | | | | | | | cURL detects the `send` and `recv` signatures using a large loop of `try_compile` checks. The results are used for the following: * Casting argument types in calls to `send` and `recv`, perhaps to avoid conversion warnings. We compile with `-w` anyway. * Providing debug variants for `CURLDEBUG`, which we do not use. Replace the detection loops with hard-coded results that should work well enough everywhere. This significantly reduces the number of configure-time checks for building CMake on some platforms.
* Merge topic 'third-parties-layout'Brad King2020-05-0847-153/+140
|\ | | | | | | | | | | | | | | 2faa3f6c55 Refactoring: Third-parties public headers are under cm3p prefix 75e87e3db4 bootstrap: update list of problematic files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4705
| * Refactoring: Third-parties public headers are under cm3p prefixMarc Chevrier2020-05-0747-153/+140
| | | | | | | | Fixes: #20666
* | Merge topic 'gitlab-ci-sphinx'Brad King2020-05-082-1/+15
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50cbc9b77a gitlab-ci: add a sphinx builder d78bf2f229 ci: install sphinx into the CI image 671ff5f1ac ci: skip weak dependencies in the CI image bdce0fc317 CTestCustom: fix indentation e4f398e0af Help: add alt text to embedded images 758ab4dbd3 Utilities/Sphinx: allow CDash submission for the standalone build 16de8e3544 Utilities/Sphinx: support finding Qt5's qcollectiongenerator too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4713
| * | Utilities/Sphinx: allow CDash submission for the standalone buildBen Boeckel2020-05-071-0/+14
| | |
| * | Utilities/Sphinx: support finding Qt5's qcollectiongenerator tooBen Boeckel2020-05-071-1/+1
| |/
* | Utilities/Release: Drop win{32,64} scripts in favor of docker buildBrad King2020-05-053-110/+0
| | | | | | | | | | | | | | Also drop the `CMakeNightlyWin{32,64}` tests that use the scripts. Follow the pattern from commit 689fdbfc61 (Utilities/Release: Drop linux64 script in favor of docker build, 2019-08-27, v3.16.0-rc1~184^2).
* | Utilities/Release: Add docker specs to build and test Windows binariesBrad King2020-05-0516-2/+462
| | | | | | | | | | | | | | | | | | These will allow anyone to produce portable binaries like those published on `cmake.org`. Follow the pattern from commit facc240a45 (Utilities/Release: Add docker specs to build and test Linux binaries, 2019-08-23, v3.16.0-rc1~184^2~2). Parameterize the architecture to support both `x86_64` and `i386`.
* | Utilities/Release: Generalize OS in README docker instructionsBrad King2020-05-051-9/+13
| | | | | | | | | | Replace the hard-coded OS name `linux` with an `<os>` placeholder. Mention `linux` in an explicit list of supported `<os>/<arch>` pairs.
* | Utilities/Release: Make README docker examples more readableBrad King2020-05-051-7/+7
| | | | | | | | | | Hard-code them for `linux/x86_64` instead of using an `<arch>` placeholder. Update the prose to mention the platform/arch explicitly.
* | Utilities/Release: Remove unused linux/x86_64/test/cache-ninja.txtBrad King2020-05-051-4/+0
|/
* Merge topic 'stl-support'Brad King2020-05-012-1/+44
|\ | | | | | | | | | | | | 8d4a9ee398 Refactoring: rename "cm_static_string_view.hxx" as <cmext/string_view> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4689
| * Refactoring: rename "cm_static_string_view.hxx" as <cmext/string_view>Marc Chevrier2020-04-302-1/+44
| |
* | Merge topic 'gitlab-ci-lint'Brad King2020-04-301-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4318e8ed35 gitlab-ci: add iwyu job 0866b9253b gitlab-ci: add initial clang-tidy build 0a5bcf97b9 gitlab-ci: add scripts for use by CI 960158b90d ci: add scripts to download build tools 6af91c7c4d ci: add an image for Debian 10 68903ae238 ci: add a Docker container for building CMake 3ac24a8a6e cmFunctionBlocker: include missing header b745b8fd36 IWYU: mark includes needed for assert statements as needed ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4643
| * | IWYU: add a mapping for other `__decay_and_strip` instancesBen Boeckel2020-04-291-0/+2
| | |
| * | IWYU: add some mappings found with a newer IWYU buildBen Boeckel2020-04-291-0/+2
| |/
* | libuv: Add proctitle and threadpool cleanup stubs to cmake-bootstrap.cBrad King2020-04-291-0/+6
| | | | | | | | | | These are now called by `uv_library_shutdown` in `src/uv-common.c` but on UNIX we do not compile those features during CMake bootstrap.
* | Merge branch 'upstream-libuv' into update-libuvBrad King2020-04-2931-377/+836
|/ | | | | * upstream-libuv: libuv 2020-04-29 (e7ebae26)
* Merge topic 'update-kwiml'Brad King2020-04-212-1/+6
|\ | | | | | | | | | | | | | | 7bfe2924f4 Merge branch 'upstream-KWIML' into update-kwiml bd202202ce KWIML 2020-04-20 (4abfeaa7) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4639
| * Merge branch 'upstream-KWIML' into update-kwimlBrad King2020-04-202-1/+6
| | | | | | | | | | | | # By KWIML Upstream * upstream-KWIML: KWIML 2020-04-20 (4abfeaa7)
* | Merge topic 'FindBoost-1.73'Brad King2020-04-211-1/+7
|\ \ | |/ |/| | | | | | | | | | | | | 9daf79c53b FindBoost: Add support for Boost 1.73 f48051d33f FindBoost: Simplify Boost_VERSION_STRING comparisons 56b3375f3e BoostScanDeps: Fix typo in numpy handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4635
| * FindBoost: Add support for Boost 1.73Alexander Grund2020-04-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | Run `Utilities/Scripts/BoostScanDeps.cmake` with the Boost 1.73.0 sources to compute dependencies. This includes a new Boost.Nowide library. Special case: Boost.Filesystem is an optional dependency as the include is only required to make Boost.Filesystem use UTF-8 paths on user request
| * BoostScanDeps: Fix typo in numpy handlingAlexander Grund2020-04-201-1/+1
| | | | | | | | | | Fix a typo from commit e66e8e8914 (BoostScanDeps: Special case python and numpy and variants, 2017-08-22, v3.10.0-rc1~229^2~1).
* | Merge topic 'add-contains-to-cmext-algorithm'Marc Chevrier2020-04-183-11/+103
|\ \ | | | | | | | | | | | | | | | | | | aacd4e4a90 Refactoring: add cm::contains to <cmext/algorithm> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4606