Commit Graph

47947 Commits

Author SHA1 Message Date
Brad King c09efe074d Merge topic 'gitlab-ci-lint'
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
2020-04-30 10:00:02 -04:00
Brad King 2743ed54dd Merge topic 'cmprop-gt'
36aba01223 cmGeneratorTarget::GetProperty: return cmProp

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4686
2020-04-30 09:58:47 -04:00
Brad King e16c318331 Merge topic 'patch-11'
4197aadecb OpenWatcom: Add Linux support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4669
2020-04-30 09:57:48 -04:00
Brad King 9683d2bd20 Merge topic 'update-libuv'
2628eb7460 libuv: Add proctitle and threadpool cleanup stubs to cmake-bootstrap.c
efdd451f4b Merge branch 'upstream-libuv' into update-libuv
d355f401d7 libuv 2020-04-29 (e7ebae26)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4687
2020-04-30 09:55:56 -04:00
Brad King 5ca65d5e26 Merge branch 'release-3.17' 2020-04-30 09:53:49 -04:00
Brad King 2e57db06d7 Merge topic 'FindPython-fphsa'
94f060b5d0 Merge branch 'backport-3.17-FindPython-fphsa' into FindPython-fphsa
e67dba730e FindPython: fix error on FPHSA call
84bd62a6d7 FindPython: fix error on FPHSA call

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4685
2020-04-30 09:53:49 -04:00
Brad King 6e16b5a759 Merge topic 'FindPython-fphsa' into release-3.17
84bd62a6d7 FindPython: fix error on FPHSA call

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4685
2020-04-30 09:53:49 -04:00
Brad King a87dbfbc65 Merge branch 'release-3.17' 2020-04-30 09:52:13 -04:00
Brad King cf5f97d897 Merge topic 'cm_cxx_features-libhugetlbfs' into release-3.17
4ab0d37b41 cm_cxx_features: Filter out libhugetlbfs warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4681
2020-04-30 09:52:12 -04:00
Brad King 5aa1ef1df8 Merge topic 'cm_cxx_features-libhugetlbfs'
4ab0d37b41 cm_cxx_features: Filter out libhugetlbfs warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4681
2020-04-30 09:52:12 -04:00
Craig Scott 1665d5615f Merge topic 'doc-PROJECT_SOURCE_DIR'
bd6e437e3e Help: Clarify the use of PROJECT_SOURCE_DIR

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4680
2020-04-30 08:07:32 -04:00
Kitware Robot 2291253c1b CMake Nightly Date Stamp 2020-04-30 00:01:11 -04:00
Ben Boeckel 4318e8ed35 gitlab-ci: add iwyu job 2020-04-29 11:18:02 -04:00
Ben Boeckel 0866b9253b gitlab-ci: add initial clang-tidy build 2020-04-29 11:18:02 -04:00
Ben Boeckel 0a5bcf97b9 gitlab-ci: add scripts for use by CI 2020-04-29 11:18:02 -04:00
Ben Boeckel 960158b90d ci: add scripts to download build tools 2020-04-29 11:18:01 -04:00
Ben Boeckel 6af91c7c4d ci: add an image for Debian 10
This image is primarily for the include-what-you-use build.
2020-04-29 11:16:44 -04:00
Ben Boeckel 68903ae238 ci: add a Docker container for building CMake
Since we're starting with just `clang-tidy`, external deps are not
included right now.
2020-04-29 11:16:44 -04:00
Ben Boeckel 3ac24a8a6e cmFunctionBlocker: include missing header
This is needed to have `std::string::operator==` used in the code. Mark
it as such since older IWYU releases don't recognize this.
2020-04-29 11:16:44 -04:00
Ben Boeckel b745b8fd36 IWYU: mark includes needed for assert statements as needed 2020-04-29 11:16:44 -04:00
Ben Boeckel a58457a6c2 IWYU: mark cmLinkLineComputer as necessary
IWYU is not seeing that the full declaration is necessary for
`std::unique_ptr<cmLinkLineComputer>`.
2020-04-29 11:16:44 -04:00
Ben Boeckel 99663a5157 IWYU: mark <cstddef> as needed
Newer IWYU is not seeing this as necessary for `_GLIBCXX_USE_CXX11_ABI`.
2020-04-29 11:16:44 -04:00
Ben Boeckel 24a9fed5d9 IWYU: mark <cstddef> as needed
Newer IWYU is not seeing them as needed for `size_t`.
2020-04-29 11:16:44 -04:00
Ben Boeckel 1bf8938825 IWYU: add a mapping for other __decay_and_strip instances 2020-04-29 11:16:44 -04:00
Ben Boeckel 3f01acbb44 IWYU: add some mappings found with a newer IWYU build 2020-04-29 11:16:44 -04:00
Vitaly Stakhovsky 36aba01223 cmGeneratorTarget::GetProperty: return cmProp 2020-04-29 10:59:39 -04:00
Brad King d63c442a6b Merge topic 'vs_platform_toolset'
197b4cbe18 VS: Add option for per-target PlatformToolset

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4682
2020-04-29 10:50:42 -04:00
Nicolas Bock bd6e437e3e Help: Clarify the use of PROJECT_SOURCE_DIR
The value of the PROJECT_SOURCE_DIR variable is not always the source
directory of the "most recent project command". If the project was
included via add_subdirectory, variable scoping will prevent this
value to change in the parent scope.

Signed-off-by: Nicolas Bock <nicolasbock@gmail.com>
2020-04-29 23:17:41 +10:00
Brad King 2628eb7460 libuv: Add proctitle and threadpool cleanup stubs to cmake-bootstrap.c
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.
2020-04-29 08:50:11 -04:00
Brad King efdd451f4b Merge branch 'upstream-libuv' into update-libuv
* upstream-libuv:
  libuv 2020-04-29 (e7ebae26)
2020-04-29 08:21:02 -04:00
libuv upstream d355f401d7 libuv 2020-04-29 (e7ebae26)
Code extracted from:

    https://github.com/libuv/libuv.git

at commit e7ebae26247d2fee0a04547eb7f9aa8f78d4a642 (v1.x).
2020-04-29 08:19:40 -04:00
Jennifer Green 4ab0d37b41 cm_cxx_features: Filter out libhugetlbfs warnings
Without this, CMake fails to build on Cray systems with a
craype-hugepages modulefile loaded on the front-end due to libhugetlbfs
warnings breaking the CXX Feature tests.  Filter out the warnings so the
bootstrap can proceed to successfully install CMake on Cray Linux
systems.

Fixes: #20645
2020-04-29 08:08:59 -04:00
Jiri Malak 4197aadecb OpenWatcom: Add Linux support
It is native Linux support for Linux host executable only (only static
library support, no shared library support).
2020-04-29 07:56:15 -04:00
Marc Chevrier 94f060b5d0 Merge branch 'backport-3.17-FindPython-fphsa' into FindPython-fphsa 2020-04-29 13:44:35 +02:00
Marc Chevrier e67dba730e FindPython: fix error on FPHSA call 2020-04-29 13:41:56 +02:00
Julien Jemine 197b4cbe18 VS: Add option for per-target PlatformToolset
Add a `VS_PLATFORM_TOOLSET` target property to set `PlatformToolset` in
the `.vcxproj` file for specific targets.  Document that this is safe
only when the named toolset uses the same underlying compiler as the
primary toolset.

Fixes: #17429
2020-04-29 07:35:57 -04:00
Brad King 959acdc9e6 Merge topic 'FindLibXslt-targets'
8a90ef5a44 FindLibXslt: use LIBXSLT_LIBRARY as cache variable
1aa7df4114 FindLibXslt: provide imported targets
dd506714f4 FindLibXslt: identify libexslt include directory

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4650
2020-04-29 07:33:50 -04:00
Brad King 505bc9c87b Merge topic 'FindVulkan-env-sdk-first'
5c40e5ddb4 FindVulkan: Prefer VULKAN_SDK env var before standard paths

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4663
2020-04-29 07:32:17 -04:00
Brad King d968ec380b Merge topic 'openwatcom-platform-independence'
d3640dbdd5 OpenWatcom: Organize and update C/C++ toolchain command lines
7aa9e89b1c OpenWatcom: Move non-Windows settings to Modules/Compiler

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4666
2020-04-29 07:31:11 -04:00
Brad King c9fdee6a67 Merge topic 'FindPython-find-implementations'
d2c47c822b FindPython: Add capability to specify Python implementations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4676
2020-04-29 07:30:24 -04:00
Marc Chevrier 84bd62a6d7 FindPython: fix error on FPHSA call
Fixes: #20650
2020-04-29 12:18:54 +02:00
Kitware Robot fa3acd14ee CMake Nightly Date Stamp 2020-04-29 00:01:16 -04:00
Markus Rickert 8a90ef5a44 FindLibXslt: use LIBXSLT_LIBRARY as cache variable
Use LIBXSLT_LIBRARY as cache variable instead of LIBXSLT_LIBRARIES to adhere to documented conventions.
Check for defined LIBXSLT_LIBRARIES value to support backwards compatibility.
2020-04-28 19:14:03 +02:00
Markus Rickert 1aa7df4114 FindLibXslt: provide imported targets 2020-04-28 19:14:03 +02:00
Markus Rickert dd506714f4 FindLibXslt: identify libexslt include directory 2020-04-28 19:12:18 +02:00
Brad King 2d71e467a2 Merge branch 'release-3.17' 2020-04-28 11:36:58 -04:00
Brad King 615129f3eb CMake 3.17.2 v3.17.2 2020-04-28 10:23:06 -04:00
Jiri Malak d3640dbdd5 OpenWatcom: Organize and update C/C++ toolchain command lines 2020-04-28 09:36:05 -04:00
Jiri Malak 7aa9e89b1c OpenWatcom: Move non-Windows settings to Modules/Compiler
Restructure OpenWatcom toolchain support files to simplify adding of new
targets DOS, OS/2 and Linux including cross-compilation.
2020-04-28 09:36:04 -04:00
Marc Chevrier d2c47c822b FindPython: Add capability to specify Python implementations
Through hint Python_FIND_IMPLEMENTATIONS it is possble to specify, as an
ordered list, which implementations must be searched for.
Currently possible values are:
* CPython
* IronPython
2020-04-28 13:56:18 +02:00