1651 Commits

Author SHA1 Message Date
w00657280 c8bc56b0c6 fix:update cmake to 3.28.2
Signed-off-by: w00657280 <wuyuechang3@huawei.com>
2024-06-06 10:57:34 +08:00
Brad King 387085dd97 Utilities/Sphinx: Update man page config for Sphinx 4
Sphinx 4 by default generates `man/#/foo.#`, but older versions generate
`man/foo.#` as our install rules expect.  Update our Sphinx config file
to tell Sphinx 4 to use the old layout.

Fixes: #22192
2021-05-14 10:30:34 -04:00
Brad King 7deab5bc49 Merge branch 'upstream-KWIML' into update-kwiml
# By KWIML Upstream
* upstream-KWIML:
  KWIML 2021-04-21 (49d91529)
2021-04-21 10:55:02 -04:00
Brad King 35e71383ec Merge topic 'rel-file-table' into release-3.20
41608549cc Utilities/Release: Add deprecation fields to File Table v1
c6697016ce Utilities/Release: Update file table for 3.20.0
615aeb5b99 Merge branch 'backport-3.19-rel-file-table' into rel-file-table
f98106a19b Merge branch 'release-3.19' into backport-3.19-rel-file-table
9c6c88feac Utilities/Release: Update file table for 3.19.3
46cdd7e4e5 Merge tag 'v3.19.3' into backport-3.19-rel-file-table
118ec75a58 Utilities/Release: Update file table for 3.19.2
4e3cbeaf80 Merge tag 'v3.19.2' into backport-3.19-rel-file-table
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Reviewed-by: Craig Scott <craig.scott@crascit.com>
Merge-request: !5961
2021-04-06 08:44:53 -04:00
Brad King 6138b09f06 Merge topic 'libarchive-u_char' into release-3.20
245297eb99 libarchive: Use uint8_t instead of u_char

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5981
2021-04-06 08:28:22 -04:00
Brad King 41608549cc Utilities/Release: Add deprecation fields to File Table v1
Provide a field for clients to check now so that we can deprecate
things later.
2021-04-05 13:47:20 -04:00
Brad King c6697016ce Utilities/Release: Update file table for 3.20.0 2021-04-05 13:47:02 -04:00
Brad King 615aeb5b99 Merge branch 'backport-3.19-rel-file-table' into rel-file-table 2021-04-05 13:46:35 -04:00
Brad King 9c6c88feac Utilities/Release: Update file table for 3.19.3 2021-04-05 13:45:00 -04:00
Brad King 46cdd7e4e5 Merge tag 'v3.19.3' into backport-3.19-rel-file-table 2021-04-05 13:44:49 -04:00
Brad King 118ec75a58 Utilities/Release: Update file table for 3.19.2 2021-04-05 13:44:42 -04:00
Brad King 4e3cbeaf80 Merge tag 'v3.19.2' into backport-3.19-rel-file-table 2021-04-05 13:44:36 -04:00
Brad King 00fd8ae5ee Merge branch 'backport-3.18-rel-file-table' into backport-3.19-rel-file-table 2021-04-05 13:44:27 -04:00
Brad King cf97b00089 Utilities/Release: Add script to generate a table of files
Fixes: #22002
2021-04-05 13:43:51 -04:00
Brad King 245297eb99 libarchive: Use uint8_t instead of u_char
The latter is not a standard type.

Fixes: #22013
2021-04-05 10:07:46 -04:00
Brad King f81cc3ba32 Utilities/Sphinx: Avoid converting -- to an en-dash 2021-02-18 10:55:09 -05:00
Brad King 78fc8e4f3d curl: Set build options the way we need for CMake 2021-02-03 11:58:10 -05:00
Brad King 41b944148c Merge branch 'upstream-curl' into update-curl
* upstream-curl:
  curl 2021-02-03 (2f33be81)
2021-02-03 11:55:06 -05:00
Brad King c92116e586 curl: Update script to get curl 7.75.0 2021-02-03 11:49:23 -05:00
Brad King 246909b2ea Utilities: Suppress warnings in third-party code when using IntelLLVM 2021-01-28 09:07:00 -05:00
Brad King cfbff2945a gitlab-ci: consolidate release and package job infrastructure
Use `linux_release` in names associated with building or testing
release-style binaries.  Add a `.linux_package` helper to adjust
the release binary build behavior for package-specific jobs.
2021-01-27 10:29:38 -05:00
Brad King 7d8746a73e Merge topic 'rel-package-names'
89d1e93556 Utilities/Release: Rename Windows packages to 'windows-$arch'
78fd8f0636 Utilities/Release: Rename Linux packages to 'linux-$arch'

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5738
2021-01-27 09:07:09 -05:00
Brad King 3681bd0658 Merge topic 'update-bison-parser'
ec1da76e26 LexerParser: Suppress -Wused-but-marked-unused warning in cmExprParser
a6823adcc4 LexerParser: Clean up includes following include-what-you-use
4cbe48d2b4 LexerParser: Regenerate parser files with GNU Bison 3.7.4
9d7354eec5 LexerParser: Manual removing code from Bison is no longer needed
bb0bedcd46 LexerParser: Do not use GNU Bison's yacc mode, we use Bison extensions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5730
2021-01-27 09:05:43 -05:00
Rodolfo Lima b68ed37e35 libarchive: Fix lzma_stream_encoder_mt detection
The test for lzma_stream_encoder_mt was always failing
because the lzma libraries weren't being used by linker.
2021-01-26 16:23:37 +01:00
Brad King 89d1e93556 Utilities/Release: Rename Windows packages to 'windows-$arch' 2021-01-26 09:11:14 -05:00
Brad King c2baafd867 cm::optional: Fix -Wunused-parameter warnings in comparison operators 2021-01-25 14:44:09 -05:00
Brad King 78fd8f0636 Utilities/Release: Rename Linux packages to 'linux-$arch' 2021-01-25 13:53:40 -05:00
Christoph Grüninger 9d7354eec5 LexerParser: Manual removing code from Bison is no longer needed
This was needed to avoid warnings while compiling the sources generated
by older versions of GNU Bison, but is not with GNU Bison 3.7.4.
2021-01-25 12:05:36 -05:00
Christoph Grüninger bb0bedcd46 LexerParser: Do not use GNU Bison's yacc mode, we use Bison extensions
Silence Bison warnings regarding use of Bison extensions.
2021-01-25 12:05:20 -05:00
Brad King ab99c600b6 Utilities/Sphinx: Add role and directive for 'genex' in CMake domain
This enables cross-reference syntax for CMake generator expressions:

    :genex:`SOME_GENEX`
    :genex:`$<SOME_GENEX>`
    :genex:`$<SOME_GENEX:...>`

and definition of CMake generator expressions via a directive:

    .. genex:: SOME_GENEX
    .. genex:: $<SOME_GENEX>
    .. genex:: $<SOME_GENEX:...>

It also adds generator expressions defined by the directive and by
`Help/genex/SOME_GENEX.rst` documents to the index.
2021-01-18 12:35:41 -05:00
Brad King 1c7beb4e59 Merge branch 'backport-rel-macos-modern' into rel-macos-modern 2021-01-07 16:56:48 -05:00
Brad King d746629e7a Utilities/Release: Add script to build Qt 5.15.2 macOS universal binaries
These may be used to build a CMake universal binary for macOS that supports
both architectures on Apple Silicon and is compatible with OS X 10.13.
2021-01-07 16:10:07 -05:00
Brad King e2cf96c6e4 Utilities/Release: Fix macOS Qt 5.9 build script umask
Produce a tarball with world-readable permissions.
2021-01-07 16:10:07 -05:00
Oleksandr Koval d656246c40 Code style: add missed explicit 'this->'
CMake uses explicit 'this->' style. Using custom clang-tidy check we can
detect and fix places where 'this->' was missed.
2021-01-05 14:32:36 +02:00
Brad King 1aeed5bca7 Merge branch 'backport-rel-linux-aarch64' into rel-linux-aarch64 2020-12-22 14:04:59 -05:00
Hi Key f1a0e5d14c Utilities/Release: Add docker specs for Linux aarch64 binaries
Base them on the existing `x86_64` specs.  Update the centos
base image from centos 6 to centos 7 to get aarch64 support.
The resulting binaries require GLIBC 2.17.

Fixes: #17923
2020-12-22 14:04:39 -05:00
Brad King d57b8307cb Merge topic 'rel-macos-apple-silicon'
53df3f7c1b Utilities/Release: Update macOS Qt 5.9 build for platform versioning

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5615
2020-12-15 07:35:01 -05:00
Brad King 53df3f7c1b Utilities/Release: Update macOS Qt 5.9 build for platform versioning
Backport the upstream Qt patch [1] to link Qt binaries using the
`-isysroot` flag instead of `-Wl,-syslibroot`.  This is needed so that
the binaries have a SDK version set, which is needed for runtime
validation on modern macOS versions.

[1] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=6387138a7991b4588639dc48847f175b5afaff84
2020-12-14 11:33:30 -05:00
Brad King 6b823c94ad Merge topic 'update-curl'
3afc843599 curl: Set build options the way we need for CMake
cfe5b6eb1c Merge branch 'upstream-curl' into update-curl
5aacc593a9 curl 2020-12-09 (e0528597)
cd652827d8 curl: Update script to get curl 7.74.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5592
2020-12-14 07:14:16 -05:00
Brad King 3afc843599 curl: Set build options the way we need for CMake 2020-12-11 08:39:40 -05:00
Brad King 8fa5f1cd93 Merge topic 'rel-macos-apple-silicon'
2e57257c20 ci: update macOS package to produce universal binaries
e9c5e44854 ci: do not use sccache for macOS packaging
0abec5b476 ci: update to pre-built Qt 5.9.9 universal binaries for macOS packages
923092bb3b Utilities/Release: Add script to build Qt 5.9.9 macOS universal binaries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !5595
2020-12-10 12:05:17 -05:00
Brad King 923092bb3b Utilities/Release: Add script to build Qt 5.9.9 macOS universal binaries
These may be used to build a CMake universal binary for macOS that supports
both architectures on Apple Silicon and is compatible with OS X 10.10.
2020-12-10 10:03:52 -05:00
Brad King cfe5b6eb1c Merge branch 'upstream-curl' into update-curl
* upstream-curl:
  curl 2020-12-09 (e0528597)
2020-12-09 11:45:25 -05:00
Brad King cd652827d8 curl: Update script to get curl 7.74.0 2020-12-09 11:45:00 -05:00
Nikita Nemkin b304d204f9 Help: Improve styling for versionadded/deprecated directives
Sphinx theme CSS removes top margin for dd > p combination,
but directives add an intervening div and need a separate rule.

Issue: #19715
2020-12-02 21:00:28 +05:00
Brad King 70986ff60b Merge topic 'doc-html-lang'
46b31e10c4 Utilities/Sphinx: Tell Sphinx that documentation is written in English

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5480
2020-11-09 10:51:08 -05:00
Brad King 46b31e10c4 Utilities/Sphinx: Tell Sphinx that documentation is written in English
Fixes: #21409
2020-11-09 10:15:35 -05:00
Kyle Edwards 447c42e280 cm::optional: Add constructor delegation to nullopt_t constructor
Some static analysis tools incorrectly identify this constructor
as leaving _has_value in an undefined state. Explicitly call the
default constructor to force _has_value to false.
2020-10-22 11:40:48 -04:00
Kyle Edwards 6a23f55ff2 cm::optional: Fix move assignment 2020-10-21 14:23:43 -04:00
Brad King 409ec10bde Configure CMake itself with policies through CMake 3.18 2020-10-13 14:42:08 -04:00