Currently, if the package description ends with a newline
(typically if it is read from a file) cpack -deb adds a single line
with a dot at the end which leads to a violation of the
`extended-description-contains-empty-paragraph` debian policy.
This commit fixes the above behaviour.
Fixes: #20763
Our bundled third-party libraries perform many `try_compile` checks for
compatibility with their upstream build systems. For many of the checks
we already know the result for compilers we support for building CMake
itself, especially on Windows. Hard-code known results to avoid running
the checks.
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit a3263389bcaab27fd62a23599d4ce9bdaa01479a (master).
Upstream Shortlog
-----------------
Brad King (7):
ce4941c9 IOStream: Drop this component of KWSys
49d04c2c hashtable: Drop this component of KWSys
a0bd892c SystemInformation: Use 'long long' unconditionally
441dd494 Drop unused checks for 'long long' and '__int64'
2b749749 Drop unused C type macros check
74daf33b Drop unused Borland and OpenWatcom preprocessor conditions
c4e8126a Drop unused CXX cstdio check
bbb62dcc72 CTest: Make sure NOT_RUN tests show up in the failed test log
c503251997 Tests: Add coverage of ctest_test RETURN_VALUE and REPEAT
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4801
0a74d7c2b8 Merge branch 'backport-ctest-repeat-notrun' into ctest-repeat-notrun
bbb62dcc72 CTest: Make sure NOT_RUN tests show up in the failed test log
c503251997 Tests: Add coverage of ctest_test RETURN_VALUE and REPEAT
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4801
Previously if an user specified CMAKE_CUDA_ARCHITECTURES and they didn't
work we would end up erroring during compiler testing. Instead check if
the architectures we successfully compiled with are the same as the
user-specified (if any). If they don't match, then throw a more helpful
error than compiler testing would.
Additionally, to make this work correctly I made it try all
user-specified architectures at once instead of each separately.
Implements: #20756
9812e87ee4 gitlab-ci: add a test of the VS generator based off of the ninja build
e63fe4a588 ci: add a script to run the tests with an external CMake
9893e159cc ci: support setting the generator platform and toolset
e0b9e8fba8 ci: test the configuration that was built
f00ab86f1f ci: use BOOL for boolean settings
deb5194a32 tests: avoid a warning for ctresalloc
f5e6738051 gitlab-ci: get the VS2019 location from the runner
79f3790c1a gitlab-ci: get sccache location from the runner on Windows
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4794