summaryrefslogtreecommitdiffstats
path: root/Utilities
Commit message (Collapse)AuthorAgeFilesLines
* Utilities/Release: Update macOS signing script for CPack OSXX11 removalBrad King2021-12-061-1/+0
| | | | | | | Since commit 4ef974e6cb (CPack: Remove undocumented deprecated OSXX11 generator, 2021-11-05), the `CPack.OSXScriptLauncher.in` binary is no longer installed in the `CMake.app` bundle, so it does not need to be signed.
* Merge branch 'backport-3.22-rel-macos-sign-notarize' into ↵Brad King2021-12-061-0/+118
|\ | | | | | | rel-macos-sign-notarize
| * Utilities/Release: Add script to sign/notarize macOS application bundleBrad King2021-12-061-0/+118
| | | | | | | | | | | | | | We produce macOS binaries for `cmake.org` using GitLab CI jobs. Binaries for official releases are additionally signed and notarized manually by a maintainer with suitable signing certificates and Apple developer account credentials. Add a script to drive these steps.
| * libuv: Backport MinGW-w64 compilation fix to CMake 3.22 branchBrad King2021-11-161-0/+7
| | | | | | | | | | | | | | Backport libuv commit `3e90bc76` (build: fix build failures with MinGW new headers, 2021-11-03). Fixes: #22916
* | libuv: Fix clang-analyzer deadcode.DeadStores warning on LinuxBrad King2021-11-171-1/+2
| |
* | libuv: Convert C++-style comment to C-styleBrad King2021-11-171-1/+1
| |
* | libuv: Update CMake-internal buildsystemBrad King2021-11-171-0/+1
| |
* | libuv: Update uv__fs_copy_file_range signature in cmake-bootstrap.cBrad King2021-11-171-2/+2
| |
* | Merge branch 'upstream-libuv' into update-libuvBrad King2021-11-1758-1256/+2005
| | | | | | | | | | * upstream-libuv: libuv 2021-11-09 (0f696da5)
* | libuv: Build unix tcp support during CMake bootstrapBrad King2021-11-171-17/+0
| | | | | | | | | | | | Using the real `tcp.c` simplifies `cmake-bootstrap.c`, and its implementation doesn't seem to require any of the platform-specific definitions. Also, later it will be needed for `uv_socketpair`.
* | Merge topic 'lcc-compiler'Brad King2021-10-1912-20/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 02b2607a5c Help: Add release note for MCST LCC compiler support e5d9fce03f LCC: Add dedicated support for MCST LCC compiler 2b9ef77944 CPack/DEB: deal with broken dpkg-shlibdeps on E2K architecture 0995c75301 Tests/RPM: skip tests tat rely on debugedit if it's not found ea55ac9a51 Tests/RunCMake/CommandLine: Deal with locales that are different from English Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6608
| * | LCC: Add dedicated support for MCST LCC compilermakise-homura2021-10-1512-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Divert LCC compiler as a new one, instead of treating it as GNU. Since old times, Elbrus C/C++/Fortran Compiler (LCC) by MCST has been passing checks for GNU compilers, so it has been identified as GNU. Now, with intent of seriously upstreaming its support, it has been added as a separate LCC compiler, and its version displays not a supported GCC version, but LCC version itself (e.g. LCC 1.25.19 instead of GNU 7.3.0). This commit adds its support for detection, and also converts basically every check like 'is this compiler GNU?' to 'is this compiler GNU or LCC?'. The only places where this check is untouched, is where it regards other platforms where LCC is unavailable (primarily non-Linux), and where it REALLY differs from GNU compiler. Note: this transition may break software that are already ported to Elbrus, but hardly relies that LCC will be detected as GNU; still such software is not known.
* | | Merge topic 'update-zstd'Brad King2021-10-1468-3316/+8564
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | ddced0c6b6 zstd: Fix trace compilation on AIX ee98d9378f zstd: Fix ZSTD_VecMask_next compilation of software ctz implementation eb8db99596 Merge branch 'upstream-zstd' into update-zstd da1e841ccf zstd 2021-05-14 (a488ba11) 8c65ea4744 zstd: Update script to get zstd 1.5.0 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6622
| * | zstd: Fix trace compilation on AIXBrad King2021-10-141-1/+1
| | | | | | | | | | | | | | | | | | Since zstd commit `6cee3c2c` ([trace] Remove default definitions of weak symbols, 2021-04-26, v1.5.0^2~53^2), the weak symbol trace implementation does not compile on AIX. Disable it.
| * | zstd: Fix ZSTD_VecMask_next compilation of software ctz implementationBrad King2021-10-141-1/+2
| | |
| * | Merge branch 'upstream-zstd' into update-zstdBrad King2021-10-1367-3314/+8561
| | | | | | | | | | | | | | | | | | # By zstd upstream * upstream-zstd: zstd 2021-05-14 (a488ba11)
| * | zstd: Update script to get zstd 1.5.0Brad King2021-10-131-2/+2
| |/
* | Configure CMake itself with policies through CMake 3.21Brad King2021-10-082-2/+2
|/
* Merge topic 'indexurl'Brad King2021-10-051-0/+7
|\ | | | | | | | | | | | | 1d03aa841c Utilities/Sphinx: Print path to index.html in build output Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6530
| * Utilities/Sphinx: Print path to index.html in build outputArcturus Arcturus2021-10-041-0/+7
| | | | | | | | | | Print the url to index.html in the build output, just so one can "open in browser" from the context menu in some terminals.
* | zstd: Fix incorrect pragma error on LCC compilermakise-homura2021-09-301-1/+1
|/ | | | | | | | | LCC (Elbrus C Compiler) doesn't understand some of GCC pragmas, despite of declaring itself GCC-aware. The pragma of subject is the one that forbids vectorizing. Actually, LCC don't vectorize anything unless explicitly said to, so this pragma may be safely omitted and thus not cause an error. This patch does this.
* Merge topic 'libuv-openbsd'Brad King2021-09-301-2/+5
|\ | | | | | | | | | | | | | | 096450f808 libuv: Include BSD sys/cpuset.h only on platforms where we use it Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6570
| * libuv: Include BSD sys/cpuset.h only on platforms where we use itBrad King2021-09-291-2/+5
| | | | | | | | | | | | Since commit 43d6e5a71f (libuv: misc: add function to get CPU affinity mask size, 2017-09-06, v3.12.0-rc1~412^2~3) we include `<sys/cpuset.h>` on several BSD platforms but only use it on FreeBSD.
* | update-third-party: update from upstreamBrad King2021-09-291-4/+38
|/ | | | | | Update to `update-common.sh` from commit `7134d5ebef` in https://gitlab.kitware.com/utils/git-import-third-party
* Merge branch 'upstream-curl' into update-curlBrad King2021-09-249-47/+65
| | | | | * upstream-curl: curl 2021-09-22 (c7aef0a9)
* curl: Update script to get curl 7.79.1Brad King2021-09-241-1/+1
|
* curl: Set build options the way we need for CMakeBrad King2021-09-151-0/+12
|
* Merge branch 'upstream-curl' into update-curlBrad King2021-09-15124-3029/+3817
| | | | | * upstream-curl: curl 2021-09-14 (8e82f2a0)
* curl: Update script to get curl 7.79.0Brad King2021-09-151-1/+1
|
* IWYU: Map jsoncpp internal header to its public headerBrad King2021-09-101-0/+1
|
* Merge branch 'upstream-jsoncpp' into update-jsoncppBrad King2021-09-0915-2338/+2289
| | | | | * upstream-jsoncpp: jsoncpp 2020-09-25 (9059f5ca)
* jsoncpp: Update script to get jsoncpp 1.9.4Brad King2021-09-091-1/+1
|
* libarchive: Limit xz compression level to 6 on AIXBrad King2021-08-241-0/+4
| | | | | | | | | | | | Since libarchive commit `aff9809c` (Enable compression level up to 9 for xz, xar, 7zip, 2020-07-26, v3.5.0~19^2), libarchive fails to initialize xz compression on AIX with error Internal error initializing compression library: Cannot allocate memory Revert to the old limit of level 6 on AIX. Issue: #22553
* Utilities: Add hard-coded try_compile result for libarchive strnlen checkBrad King2021-08-241-0/+1
| | | | | libarchive 3.5.1 checks for strnlen. It is available on all Windows platforms.
* Merge branch 'upstream-LibArchive' into update-libarchiveBrad King2021-08-2466-627/+1238
| | | | | * upstream-LibArchive: LibArchive 2020-12-26 (227a4b97)
* libarchive: Update script to get 3.5.1Brad King2021-08-241-1/+1
|
* Merge topic 'archive-error-handling'Brad King2021-08-242-3/+3
|\ | | | | | | | | | | | | | | | | 20fec15204 cmArchiveWrite: Check for construction errors on Open e2c06736e5 libarchive: Add missing cm3p prefixes on includes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6470
| * libarchive: Add missing cm3p prefixes on includesBrad King2021-08-202-3/+3
| | | | | | | | Issue: #20666
* | Merge branch 'upstream-KWIML' into update-kwimlBrad King2021-08-241-2/+15
|/ | | | | | # By KWIML Upstream * upstream-KWIML: KWIML 2021-08-20 (9c534d2c)
* Merge topic 'libuv-mingw-arm'Brad King2021-07-191-2/+6
|\ | | | | | | | | | | | | 1aba3a8367 libuv: Fix building with mingw toolchains for ARM/AArch64 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6354
| * libuv: Fix building with mingw toolchains for ARM/AArch64Martin Storsjö2021-07-151-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a backport of f9ad802fa5dd5afe6730f8e00cfdbf98f1d7a969 from the v1.x branch from upstream libuv: mingw: fix building for ARM/AArch64 Don't use x86 inline assembly in these cases, but fall back to __sync_fetch_and_or, similar to _InterlockedOr8 in the MSVC case. This corresponds to what is done in src/unix/atomic-ops.h, where ARM/AArch64 cases end up implementing cmpxchgi with __sync_val_compare_and_swap. PR-URL: https://github.com/libuv/libuv/pull/3236 Reviewed-By: Jameson Nash <vtjnash@gmail.com>
* | libuv: Allow windows UNC path with forward slashesearnal2021-07-121-1/+4
| | | | | | | | | | | | | | Fix libuv issue 3159 in CMake while integration in upstream libuv is pending. Fixes: #22141
* | Configure CMake itself with policies through CMake 3.20Brad King2021-06-302-2/+2
| |
* | Merge topic 'curl-schannel-ALPN-length'Brad King2021-06-291-0/+1
|\ \ | |/ | | | | | | | | | | 3faa3d3a38 curl: backport upstream fix to 7.77.0 regression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6280
| * curl: backport upstream fix to 7.77.0 regressionBrad King2021-06-281-0/+1
| | | | | | | | | | | | | | | | Backport upstream curl commit `ee97f1769` (schannel: set ALPN length correctly for HTTP/2, 2021-05-26) to get a fix to curl issue 7138, a regression in 7.77.0. Fixes: #22355
* | Merge branch 'upstream-elf' into import-elfBrad King2021-06-234-0/+2027
| | | | | | | | | | | | # By FreeBSD Upstream * upstream-elf: elf 2021-06-23 (f13da247)
* | cmelf: Add script to import the FreeBSD ELF headersBrad King2021-06-231-0/+28
|/ | | | | | | | | These headers will be used to provide the ELF parsing code on all host operating systems (including those that don't have an ELF header, e.g. macOS). This will also allow removing various OS-dependent #ifdefs from the cmELF code. Add a script that was used to automate this import. Co-authored-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
* Utilities/Sphinx: Index guide section documents for cross-referencingBrad King2021-06-171-0/+11
| | | | | | | | Extend the change from commit 6185265800 (Utilities/Sphinx: Index guide-level documents for cross-referencing, 2019-12-06, v3.17.0-rc1~181^2~1) to name guide documents other than the top level using their docname instead of their title. This will allow them to be cross-referenced by a stable name even if their title changes.
* clang-analyzer: rename from scan-build in commentsBrad King2021-06-031-1/+1
|
* jsoncpp: Revert "Code style: add missed explicit 'this->'"Kitware Robot2021-06-033-2883/+2411
| | | | | Revert the part of commit 209daa20b2 (Code style: add missed explicit 'this->', 2021-01-05, v3.20.0-rc1~213^2) that updated third-party code.