Commit Graph

1741 Commits

Author SHA1 Message Date
Brad King
925d089a4d Merge topic 'ccmake-windows'
e674e02c55 Help: Add release note for experimental ccmake support on Windows
5c9310c714 ci: Enable ccmake on Windows
9278c6e01a ccmake: Add Windows support using PDCurses
b97c12babb ccmake: Refactor resizing logic into cmCursesForm
bf11dab49d ccmake: Refactor BUILD_CursesDialog option logic
bf94e01348 cmpdcurses: Add CMake build system
89703bc941 Merge branch 'upstream-PDCurses' into update-pdcurses
f84c4112c3 PDCurses 2021-12-08 (f1cd4f45)
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6832
2022-01-20 11:56:35 -05:00
Brad King
bf94e01348 cmpdcurses: Add CMake build system 2022-01-18 16:29:34 -05:00
Brad King
9d475d1d82 Merge branch 'upstream-expat' into update-expat
* upstream-expat:
  expat 2022-01-16 (57c7da69)
2022-01-18 12:18:57 -05:00
Brad King
a581fbd195 expat: Update script to get Expat 2.4.3 2022-01-18 12:13:15 -05:00
Brad King
fc4a11a036 libuv: add cast to pass sockaddr_storage as sockaddr on windows
Tell the compiler the structs are layout-compatible.
2022-01-13 16:41:35 -05:00
Brad King
ea70fb3905 Merge branch 'upstream-libuv' into update-libuv
# By libuv upstream
* upstream-libuv:
  libuv 2022-01-13 (2fbfa035)
2022-01-13 15:46:20 -05:00
Brad King
62a8e16fc1 jsoncpp: Drop outdated CMake-specific README
Since commit ee68d3eb8c (jsoncpp: Add script to update from upstream,
2017-08-28, v3.10.0-rc1~199^2~8) we use a script to maintain the jsoncpp
vendor branch.  Drop our readme that documented the old approach.
2022-01-12 17:46:02 -05:00
Brad King
b3cb1c6cc3 jsoncpp: Drop deprecation markup
Apply the change from commit 0a0f71066f (jsoncpp: Drop deprecation
markup, 2017-08-28, v3.10.0-rc1~199^2~3) to new markup instances.
2022-01-12 17:42:14 -05:00
Brad King
33fae4cd7a Merge branch 'upstream-jsoncpp' into update-jsoncpp
* upstream-jsoncpp:
  jsoncpp 2022-01-12 (42e892d9)
2022-01-12 17:05:54 -05:00
Brad King
eb031dfe9f jsoncpp: Update script to get jsoncpp 1.9.5
Use a few commits past the 1.9.5 release to get the CHERI alignment fix.
2022-01-12 17:03:05 -05:00
Brad King
89703bc941 Merge branch 'upstream-PDCurses' into update-pdcurses
# By PDCurses Upstream
* upstream-PDCurses:
  PDCurses 2021-12-08 (f1cd4f45)
2022-01-12 16:14:36 -05:00
Brad King
d03091edad pdcurses: Add script to import PDCurses from upstream 2022-01-12 16:13:56 -05:00
Brad King
9341e63233 curl: Set build options the way we need for CMake 2022-01-07 11:42:30 -05:00
Brad King
697e8871a1 Merge branch 'upstream-curl' into update-curl
* upstream-curl:
  curl 2022-01-05 (801bd513)
2022-01-07 11:41:57 -05:00
Brad King
bdb3a8203e curl: Update script to get curl 7.81.0 2022-01-07 11:41:24 -05:00
Brad King
520809b5ae curl: Update script for new curl mailing list address 2022-01-07 11:38:15 -05:00
Ali Mohammad Pur
99acfe41f5 cmnghttp2: check for HAVE_SIZEOF_SSIZE_T and not HAVE_SSIZE_T
The `check_type_size(ssize_t SIZEOF_SSIZE_T` call in cmcurl (referenced
by the comment above) defines `HAVE_SIZEOF_SSIZE_T` and not
`HAVE_SSIZE_T`.  The `HAVE_SSIZE_T` variable *might* get defined, but
via the `CHECK_TYPE_SIZE(ssize_t SSIZE_T)` call in cmlibarchive, which
would be configured *after* cmnghttp2, and so the first configure would
lead to an invalid `cmnghttp2/config.h` file.
2022-01-06 21:32:59 +03:30
Brad King
2247a7929d Utilities/Release: Update macOS signing script for CPack OSXX11 removal
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.
2021-12-06 17:12:37 -05:00
Brad King
bc01eda290 Merge branch 'backport-3.22-rel-macos-sign-notarize' into rel-macos-sign-notarize 2021-12-06 17:12:21 -05:00
Brad King
bed4b1583e Utilities/Release: Add script to sign/notarize macOS application bundle
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.
2021-12-06 17:11:26 -05:00
Brad King
51d26933fe libuv: Fix clang-analyzer deadcode.DeadStores warning on Linux 2021-11-17 06:41:49 -05:00
Brad King
f29bb586f0 libuv: Convert C++-style comment to C-style 2021-11-17 06:41:49 -05:00
Brad King
8e7bb62bd5 libuv: Update CMake-internal buildsystem 2021-11-17 06:41:49 -05:00
Brad King
0decc36fb1 libuv: Update uv__fs_copy_file_range signature in cmake-bootstrap.c 2021-11-17 06:41:48 -05:00
Brad King
74a05716a4 Merge branch 'upstream-libuv' into update-libuv
* upstream-libuv:
  libuv 2021-11-09 (0f696da5)
2021-11-17 06:40:02 -05:00
Brad King
65fb29fdfb libuv: Build unix tcp support during CMake bootstrap
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`.
2021-11-17 06:36:30 -05:00
Brad King
acc14edd70 libuv: Backport MinGW-w64 compilation fix to CMake 3.22 branch
Backport libuv commit `3e90bc76` (build: fix build failures with MinGW
new headers, 2021-11-03).

Fixes: #22916
2021-11-16 11:58:45 -05:00
Brad King
d723bac01c Merge topic 'lcc-compiler'
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
2021-10-19 09:22:22 -04:00
makise-homura
e5d9fce03f LCC: Add dedicated support for MCST LCC compiler
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.
2021-10-15 05:05:19 +03:00
Brad King
1c81cd9e0b Merge topic 'update-zstd'
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
2021-10-14 07:46:02 -04:00
Brad King
ddced0c6b6 zstd: Fix trace compilation on AIX
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.
2021-10-14 05:53:29 -04:00
Brad King
ee98d9378f zstd: Fix ZSTD_VecMask_next compilation of software ctz implementation 2021-10-14 05:09:11 -04:00
Brad King
eb8db99596 Merge branch 'upstream-zstd' into update-zstd
# By zstd upstream
* upstream-zstd:
  zstd 2021-05-14 (a488ba11)
2021-10-13 10:04:27 -04:00
Brad King
8c65ea4744 zstd: Update script to get zstd 1.5.0 2021-10-13 10:04:17 -04:00
Brad King
40ade51cc8 Configure CMake itself with policies through CMake 3.21 2021-10-08 12:17:04 -04:00
Brad King
8888fa5cce Merge topic 'indexurl'
1d03aa841c Utilities/Sphinx: Print path to index.html in build output

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6530
2021-10-05 09:08:20 -04:00
Arcturus Arcturus
1d03aa841c Utilities/Sphinx: Print path to index.html in build output
Print the url to index.html in the build output, just so one can
"open in browser" from the context menu in some terminals.
2021-10-04 11:33:42 -04:00
makise-homura
77c237d219 zstd: Fix incorrect pragma error on LCC compiler
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.
2021-09-30 23:19:44 +03:00
Brad King
ddc8ebcee3 Merge topic 'libuv-openbsd'
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
2021-09-30 08:50:33 -04:00
Brad King
ae53a3071b update-third-party: update from upstream
Update to `update-common.sh` from commit `7134d5ebef` in

    https://gitlab.kitware.com/utils/git-import-third-party
2021-09-29 15:08:24 -04:00
Brad King
096450f808 libuv: Include BSD sys/cpuset.h only on platforms where we use it
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.
2021-09-29 12:31:49 -04:00
Brad King
5b117bddd0 Merge branch 'upstream-curl' into update-curl
* upstream-curl:
  curl 2021-09-22 (c7aef0a9)
2021-09-24 10:04:49 -04:00
Brad King
71ea2d607d curl: Update script to get curl 7.79.1 2021-09-24 10:03:35 -04:00
Brad King
412189bce7 curl: Set build options the way we need for CMake 2021-09-15 15:28:53 -04:00
Brad King
8ecd95845c Merge branch 'upstream-curl' into update-curl
* upstream-curl:
  curl 2021-09-14 (8e82f2a0)
2021-09-15 15:28:38 -04:00
Brad King
a8ae9c7055 curl: Update script to get curl 7.79.0 2021-09-15 15:28:20 -04:00
Brad King
ffc6be33a7 IWYU: Map jsoncpp internal header to its public header 2021-09-10 11:05:01 -04:00
Brad King
d7dfb84f89 Merge branch 'upstream-jsoncpp' into update-jsoncpp
* upstream-jsoncpp:
  jsoncpp 2020-09-25 (9059f5ca)
2021-09-09 16:20:13 -04:00
Brad King
d9f8e39357 jsoncpp: Update script to get jsoncpp 1.9.4 2021-09-09 16:00:02 -04:00
Brad King
6287b02147 libarchive: Limit xz compression level to 6 on AIX
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
2021-08-24 13:02:57 -04:00