Commit Graph

50299 Commits

Author SHA1 Message Date
Kyle Edwards 1d25760198 Help: Add presets documentation and release notes 2020-10-05 09:49:59 -04:00
Kyle Edwards a4382f72d7 CMake GUI: Add presets functionality 2020-10-05 09:49:59 -04:00
Kyle Edwards 8617479061 CMake: Add presets functionality 2020-10-05 09:49:59 -04:00
Kyle Edwards 06128cf949 Presets: Add cmCMakePresetsFile class 2020-10-05 09:49:59 -04:00
Kyle Edwards 5a36542086 Refactor: Add allowArch parameter to cmake::CreateGlobalGenerator() 2020-10-05 09:49:59 -04:00
Kyle Edwards 3059e6aed7 cmJSONHelpers: Add new Bind() function 2020-10-05 09:49:59 -04:00
Kyle Edwards 8682d1b7b2 CMake GUI Tests: Increase default sleep time 2020-10-05 09:49:59 -04:00
Adriaan de Groot c27553afb2 cmCTestBuildHandler: Avoid uninitialized line-numbers
When commands fail, there is no line number to report; still initialize
it explicitly to avoid compiler warnings.

Issue: #21166
2020-10-05 09:14:32 -04:00
Adriaan de Groot e4e85c5b2d cmake: Fix uninitialized member in HandleDeleteCacheVariables
If there is no existing value, mark the saved entry as UNINITIALIZED
(avoids compiler warning about uninitialized type).

Issue: #21166
2020-10-05 09:13:18 -04:00
Brad King c1de2227fa Merge branch 'upstream-expat' into update-expat
# By Expat Upstream
* upstream-expat:
  expat 2020-10-03 (162e16b0)
2020-10-05 09:06:45 -04:00
Expat Upstream 79d5048a80 expat 2020-10-03 (162e16b0)
Code extracted from:

    https://github.com/libexpat/libexpat.git

at commit 162e16b0a7392a20ecdb2a4d0d13b5a03a7b2380 (R_2_2_10).
2020-10-05 09:06:45 -04:00
Brad King b788cb9d55 expat: Update script to get Expat 2.2.10 2020-10-05 09:06:35 -04:00
Brad King 0792fe4759 ci: enable IPO tests on Debian 10 and Fedora 31 builds 2020-10-05 08:57:10 -04:00
Brad King c582e51909 ci: enable Fortran submodule tests on Debian 10 and Fedora 31 builds 2020-10-05 08:57:10 -04:00
Brad King 12b56269d4 ci: enable Qt5 tests on Debian 10 and Fedora 31 builds 2020-10-05 08:57:10 -04:00
Brad King 02e8befb74 gitlab-ci: add job to run test suite on Debian 10 with ninja 2020-10-05 08:57:10 -04:00
Brad King 2bb2a283e9 ci: add packages for many find modules to the Debian 10 image 2020-10-05 08:57:10 -04:00
Brad King 03fb06b8e7 ci: enable many find module tests for the Fedora 31 Makefiles build 2020-10-05 08:57:10 -04:00
Brad King b23f36bba6 ci: add packages for many find modules to the Fedora 31 image 2020-10-05 08:57:10 -04:00
Brad King 20f7d51b7b Tests: Revise FindBLAS test to avoid cblas_ mangling 2020-10-05 08:57:10 -04:00
Brad King d77f8117cb Tests: Improve FindRuby test robustness 2020-10-05 08:57:10 -04:00
Brad King b1898bf975 Merge topic 'update-regenerate-lexers'
a3025e2f9b Utilities/Scripts: Update regenerate-lexers.bash

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5316
2020-10-05 08:56:32 -04:00
Brad King d25c38374c Merge topic 'cuda_nvcc_abi_werror'
079ea66468 CMakeDetermineCompilerABI: Handle NVCC-style -Werror flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Seth R Johnson <johnsonsr@ornl.gov>
Merge-request: !5318
2020-10-05 08:54:50 -04:00
Kitware Robot a0964cbe63 CMake Nightly Date Stamp 2020-10-05 00:01:34 -04:00
Craig Scott 1291dd3103 Merge topic 'xcode-refactor-framework-linking'
ce2dee9e5b Xcode: Don't add framework as -framework argument in linker info list

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5216
2020-10-04 17:05:57 -04:00
Craig Scott a771e2146a Merge topic 'FetchContent_missing_SOURCE_DIR'
b030a6af88 FetchContent: Raise error if manually given source dir does not exist

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5317
2020-10-04 17:02:11 -04:00
Olivier LIESS 0d86bb0902 FindBoost: Add 1.74 to known versions 2020-10-04 22:07:45 +02:00
Olivier LIESS 1940e24d58 FindBoost: Prevent warning with boost 1.74 2020-10-04 22:05:47 +02:00
Raul Tambre 079ea66468 CMakeDetermineCompilerABI: Handle NVCC-style -Werror flags
NVCC doesn't require an equals sign for its -Werror flags.

Fixes #21265.
2020-10-04 09:09:21 +03:00
Kitware Robot 3ae3b352d1 CMake Nightly Date Stamp 2020-10-04 00:01:13 -04:00
Craig Scott da0dadf644 Merge topic 'FindSWIG-foreach-missing'
127436192d FindSWIG: Fix syntax error

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5313
2020-10-03 18:26:15 -04:00
Craig Scott b030a6af88 FetchContent: Raise error if manually given source dir does not exist
Fixes: #21208
2020-10-03 18:46:08 +10:00
Kitware Robot 63aa279343 CMake Nightly Date Stamp 2020-10-03 00:01:16 -04:00
Kyle Edwards a3025e2f9b Utilities/Scripts: Update regenerate-lexers.bash
62d7acc6 added arguments to Flex when regenerating
cmCommandArgumentLexer, but this was not reflected in
Utilities/Scripts/regenerate-lexers.bash. Update the script with
the proper arguments.
2020-10-02 14:25:56 -04:00
Marc Chevrier 127436192d FindSWIG: Fix syntax error
Add some tests to cover all cases regarding version handling

Fixes: #21264
2020-10-02 16:17:36 +02:00
Brad King 3ec0f9d620 Merge topic 'UseSWIG-output-source-file-properties'
4a81a0ce3d UseSWIG: Add OUTPUT_DIR and OUTFILE_DIR source file properties

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5303
2020-10-02 09:55:26 -04:00
Brad King a64c779746 Merge topic 'execute_process-fatal-error'
116a427eb1 execute_process: add options for fatal errors on subprocess failure

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5243
2020-10-02 08:38:53 -04:00
Brad King 038b757561 Merge topic 'ctest-memcheck-compute-sanitizer'
050720f3ad CTest: add compute-sanitizer alias for cuda-memcheck

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5305
2020-10-02 08:35:06 -04:00
Marc Chevrier 0e2ffa93dd Merge topic 'FindPython-tests-optimizations'
5537ccd814 FindPython: Tests optimizations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5307
2020-10-02 08:29:45 -04:00
Marc Chevrier b4a14fecb0 Merge topic 'optimize-cmListFileFunction'
e614528ad1 cmListFileCache: Make cmListFileFunction a shared pointer

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5228
2020-10-02 08:27:12 -04:00
Gusts Kaksis ce2dee9e5b Xcode: Don't add framework as -framework argument in linker info list 2020-10-02 22:13:00 +10:00
Craig Scott 468bcc3291 Merge topic 'FindSWIG-version-range'
1d300ee2a9 FindSWIG: Add version range support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5306
2020-10-02 06:58:13 -04:00
Kitware Robot b3adccc8ed CMake Nightly Date Stamp 2020-10-02 00:01:13 -04:00
Brad King ad478a4a39 Merge topic 'ci-win-no-ExternalData'
a58e3c7e8b ci: Skip the Module.ExternalData test on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5311
2020-10-01 17:05:58 -04:00
Brad King a58e3c7e8b ci: Skip the Module.ExternalData test on Windows
This test spuriously fails too frequently and breaks our pipelines.
Pending further investigation into the race causing the failure, skip
the test on Windows for now.  The module is well covered by the test on
other platforms anyway.
2020-10-01 15:31:35 -04:00
Brad King 6dac9b28fe Merge topic 'ci-test-external-max-parallel'
22b3a1abd9 ci: support a max parallelism for test-ext jobs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5310
2020-10-01 14:10:49 -04:00
Brad King d1e859291f Merge topic 'doc-rel-ci'
7074b4c08c Help/dev: Add maintainer guide steps for CI packaging pipeline updates

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5309
2020-10-01 12:29:24 -04:00
Brad King 7074b4c08c Help/dev: Add maintainer guide steps for CI packaging pipeline updates 2020-10-01 12:16:24 -04:00
Marc Chevrier 5537ccd814 FindPython: Tests optimizations
* Use 'project(... LANGUAGES NONE)' when possible
* enhance error messages wording
2020-10-01 17:51:16 +02:00
Brad King 22b3a1abd9 ci: support a max parallelism for test-ext jobs
Machines may have more cores than testing actually supports.

Apply the change from commit e80362252f (ci: support a max parallelism
for tests, 2020-09-28) to tests in the test-ext stage too.
2020-10-01 11:22:31 -04:00