Commit Graph

47970 Commits

Author SHA1 Message Date
Kitware Robot ef5409100d CMake Nightly Date Stamp 2020-05-02 00:01:14 -04:00
Brad King 6556e587ef Merge topic 'FPHSA-handle-components'
0b6332af60 FPHSA: REQUIRED_VARS is optional if HANDLE_COMPONENTS is specified

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4690
2020-05-01 08:33:30 -04:00
Brad King 9026ef003d Merge topic 'cpack-deb-windows-newline'
3ffd2741c1 CPack: Fix newline output in .deb generator

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4695
2020-05-01 08:32:34 -04:00
Brad King 0b08c1279c Merge topic 'cmprop-state'
e267c3fddf cmState::GetInitializedCacheValue: return cmProp

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4696
2020-05-01 08:31:32 -04:00
Brad King 255c95163a Merge topic 'stdstring-getsafeprop'
53675adbcf GetSafeProperty: return std::string const&

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4683
2020-05-01 08:30:20 -04:00
Brad King 8228246d9b Merge topic 'CTestCoverageCollectGCOV-compress-opts'
40ca6ef125 CTestCoverageCollectGCOV: Add TARBALL_COMPRESSION option
81e83510a0 Tests: Fix re-running CTestCoverageCollectGCOV on in-source build
ab7eda2591 Tests: Remove unnecessary pass regex on CTestCoverageCollectGCOV

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4649
2020-05-01 08:28:50 -04:00
Brad King 68a59ab288 Merge topic 'stl-support'
8d4a9ee398 Refactoring: rename "cm_static_string_view.hxx" as <cmext/string_view>

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4689
2020-05-01 08:27:37 -04:00
Brad King d1d1d4134d Merge topic 'ctest-nightly-start-time'
4f2fa2459a Tests: Add tests to demonstrate when CTEST_NIGHTLY_START_TIME is needed
c1397ace1d Help: Clarify why CTEST_NIGHTLY_START_TIME is needed

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4688
2020-05-01 08:26:29 -04:00
Brad King fe23c03567 Merge branch 'release-3.17' 2020-05-01 08:24:21 -04:00
Brad King e776ff0582 Merge topic 'cm_cxx_features-icpc-10121'
231637eae2 cm_cxx_features: Filter out 'icpc: command line warning #10121'

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4698
2020-05-01 08:24:21 -04:00
Brad King d6f1abade4 Merge topic 'cm_cxx_features-icpc-10121' into release-3.17
231637eae2 cm_cxx_features: Filter out 'icpc: command line warning #10121'

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4698
2020-05-01 08:24:21 -04:00
Kitware Robot 79b5cf8576 CMake Nightly Date Stamp 2020-05-01 00:01:12 -04:00
Jennifer Kathleen Green 231637eae2 cm_cxx_features: Filter out 'icpc: command line warning #10121'
This warning appears for:

    overriding '-xCORE-AVX2' with '-march=haswell'`

in some Cray environments.

Fixes: #20664
2020-04-30 13:27:59 -04:00
Kyle Edwards 3ffd2741c1 CPack: Fix newline output in .deb generator
When running CPack on Windows, LF newlines are converted to CRLF
unless binary mode is used. Use binary mode whenever possible.

Fixes: #20659
2020-04-30 10:58:22 -04:00
Vitaly Stakhovsky e267c3fddf cmState::GetInitializedCacheValue: return cmProp
cmProp alias is used; no actual change in type
2020-04-30 10:45:45 -04:00
Vitaly Stakhovsky 53675adbcf GetSafeProperty: return std::string const& 2020-04-30 10:27:16 -04:00
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 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 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 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
Kelly (KT) Thompson 40ca6ef125 CTestCoverageCollectGCOV: Add TARBALL_COMPRESSION option
For large projects, the default bzip2 compression of gcov data is
prohibitively expensively (could take several hours).  Introduce options
that allow the consumer to choose between file size and compression time.

Add a new optional argument `TARBALL_COMPRESSION` for the macro
`ctest_coverage_collect_gcov`. This option accepts the values `GZIP`,
`BZIP2`, `XZ`, `FROM_EXT`, or an expression that evaluates to `FALSE`.
The default value is `BZIP2` to preserve prior behavior.

Fixes: #20593
2020-04-30 08:42:00 -04:00
Brad King 81e83510a0 Tests: Fix re-running CTestCoverageCollectGCOV on in-source build
Do not remove the test binary directory if it contains `CMakeCache.txt`.
Otherwise in an in-source build we remove the source directory too.
2020-04-30 08:42:00 -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
Marc Chevrier 0b6332af60 FPHSA: REQUIRED_VARS is optional if HANDLE_COMPONENTS is specified
Fixes: #20655
2020-04-30 10:54:36 +02:00
Marc Chevrier 8d4a9ee398 Refactoring: rename "cm_static_string_view.hxx" as <cmext/string_view> 2020-04-30 09:53:27 +02:00
Kitware Robot 2291253c1b CMake Nightly Date Stamp 2020-04-30 00:01:11 -04:00
Kyle Edwards 4f2fa2459a Tests: Add tests to demonstrate when CTEST_NIGHTLY_START_TIME is needed 2020-04-29 15:36:12 -04:00
Kyle Edwards c1397ace1d Help: Clarify why CTEST_NIGHTLY_START_TIME is needed 2020-04-29 14:49:19 -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
Brad King ab7eda2591 Tests: Remove unnecessary pass regex on CTestCoverageCollectGCOV
The test script uses `message(FATAL_ERROR)` on failure, so we
can just let the `ctest` exit code determine the result.
2020-04-29 09:19:06 -04:00