summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'issue-19198'Brad King2021-02-0218-13/+210
|\ | | | | | | | | | | | | | | 255df8622b file(GENERATE): Support new line style Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !5649
| * file(GENERATE): Support new line styleAsit Dhal2021-02-0118-13/+210
| | | | | | | | Fixes: #19198
* | Merge topic 'doc-user-interaction-ClangCL'Brad King2021-02-021-1/+1
|\ \ | | | | | | | | | | | | | | | | | | c16509907c Help: Update to VS ClangCL toolset in user-interaction example Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5756
| * | Help: Update to VS ClangCL toolset in user-interaction exampleTim Hutton2021-02-011-1/+1
| | | | | | | | | | | | | | | | | | | | | As of VS 2019 the toolset is now called `ClangCL`. The toolset `LLVM` is no longer supported. Issue: #20415
* | | Merge topic 'fix21727_for_FindOpenSSL'Brad King2021-02-028-0/+98
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | bc00cf9300 FindOpenSSL: Add support for version-range Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5750
| * | | FindOpenSSL: Add support for version-rangeDeniz Bahadir2021-02-018-0/+98
| | | |
* | | | Merge topic 'shlibdeps-fixup'Brad King2021-02-021-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1aefa86c31 Tests: Accept line breaks in more places in dpkg-shlibdeps error message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5751
| * | | | Tests: Accept line breaks in more places in dpkg-shlibdeps error messagewilliam.r.dieter2021-02-011-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RunCPackVerifyResult-shlibdeps-with-private-lib-failure test failed intermittently due to sometimes breaking lines in its output in different places. This change accepts line breaks in more places in the command output. Signed-off-by: william.r.dieter <william.r.dieter@intel.com>
* | | | Merge topic 'tests-setgid'Brad King2021-02-022-1/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8213390a3e Added `SETUID` and `SETGID` to the list of accepted file permissions f41d0e0c77 Tests: Explicitly set permissions in CPack tests to avoid perimssions errors Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5754
| * | | | Added `SETUID` and `SETGID` to the list of accepted file permissionswilliam.r.dieter2021-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: william.r.dieter <william.r.dieter@intel.com>
| * | | | Tests: Explicitly set permissions in CPack tests to avoid perimssions errorswilliam.r.dieter2021-01-291-0/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the user has the setgid bit is set on the parent directory of the build directory, the setgid bit will be propagated throughout the build tree. Most tests do not care about permissions as long as they can read and write the files the need. The CPack tests, however, validate that permissions match an expected set, and fail with the setgid bit set. Explicitly set permissions on directories created in the CPackTestHelpers to clear the setgid bit. Signed-off-by: william.r.dieter <william.r.dieter@intel.com>
* | | | Merge topic 'bad-dns-no_proxy'Brad King2021-02-022-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c0b1f5f30c Tests: Add host to ENV{no_proxy} when DNS lookup failure is expected Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5752
| * | | | Tests: Add host to ENV{no_proxy} when DNS lookup failure is expectedwilliam.r.dieter2021-01-292-0/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DNS lookup of an invalid host name fails with a different error in a proxy environment than it does in an environment without proxy. Many tools, including curl, use the `no_proxy` environment variable to provid a list of hosts for which proxy should not be used. To make lookup failure consistent, add invalid host names to the `no_proxy` environment variable in tests that attempt to look up invalid host names. This way the lookup will fail consistently regardless of whether proxy is generally used or not. Signed-off-by: william.r.dieter <william.r.dieter@intel.com>
* | | | CMake Nightly Date StampKitware Robot2021-02-021-1/+1
| | | |
* | | | Merge topic 'file-configure-newline'Brad King2021-02-012-7/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6e225efd8c file(CONFIGURE): Fix newlines in CONTENT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5747
| * | | | file(CONFIGURE): Fix newlines in CONTENTCristian Adam2021-01-292-7/+14
| | | | | | | | | | | | | | | | | | | | Fixes: #21749
* | | | | Merge topic 'install-minor-refactor'Brad King2021-02-0119-180/+284
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 203cc694dd cmInstallGenerator: Add accessors for settings common to all installers e32818dd76 cmInstallGenerator: Add backtrace to all install generators eea61268e6 cmInstallExportGenerator: Add method to get installed file name 1215092507 cmInstallScriptGenerator: Factor out method to get script 2452cfdeab cmInstallDirectoryGenerator: Factor out method to get list of directories 5b23d8a7b1 cmInstallFilesGenerator: Factor out method to get list of files 5990276226 cmInstallTargetGenerator: Factor out method to get list of target files c9e87e3447 cmInstallTargetGenerator: Avoid duplicating install destination in memory ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5746
| * | | | | cmInstallGenerator: Add accessors for settings common to all installersBrad King2021-01-281-0/+4
| | | | | |
| * | | | | cmInstallGenerator: Add backtrace to all install generatorsBrad King2021-01-2818-42/+57
| | | | | |
| * | | | | cmInstallExportGenerator: Add method to get installed file nameBrad King2021-01-281-0/+3
| | | | | |
| * | | | | cmInstallScriptGenerator: Factor out method to get scriptBrad King2021-01-282-7/+18
| | | | | |
| * | | | | cmInstallDirectoryGenerator: Factor out method to get list of directoriesBrad King2021-01-282-5/+20
| | | | | |
| * | | | | cmInstallFilesGenerator: Factor out method to get list of filesBrad King2021-01-282-5/+19
| | | | | |
| * | | | | cmInstallTargetGenerator: Factor out method to get list of target filesBrad King2021-01-282-98/+132
| | | | | |
| * | | | | cmInstallTargetGenerator: Avoid duplicating install destination in memoryBrad King2021-01-282-19/+24
| | | | | |
| * | | | | cmInstallTargetGenerator: Move internal helper to anonymous namespaceBrad King2021-01-281-13/+15
| | | | | |
| * | | | | cmGlobalGenerator: Clear list of install components between runsBrad King2021-01-281-0/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2021-02-011-1/+1
| |_|_|/ / |/| | | |
* | | | | CMake Nightly Date StampKitware Robot2021-01-311-1/+1
| |_|_|/ |/| | |
* | | | CMake Nightly Date StampKitware Robot2021-01-301-1/+1
| |_|/ |/| |
* | | Merge topic 'intel-llvm-compilers'Brad King2021-01-291-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b9f945eccb Help: Add release note for IntelLLVM compiler support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5748
| * | | Help: Add release note for IntelLLVM compiler supportBrad King2021-01-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This was accidentally left out from commit a90d2a9eed (IntelLLVM: Add support for Intel LLVM-based compilers, 2020-11-02). Issue: #21561
* | | | Merge topic 'cmake_path-stabilization'Craig Scott2021-01-2913-97/+76
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 76cea3dfe2 cmake_path: rename 'GET ... RELATIVE_PATH' to 'GET ... RELATIVE_PART' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5743
| * | | | cmake_path: rename 'GET ... RELATIVE_PATH' to 'GET ... RELATIVE_PART'Marc Chevrier2021-01-2813-97/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For consistency, subcommand 'HAS_RELATIVE_PATH' is also renamed to 'HAS_RELATIVE_PART'. Fixes: #21385
* | | | | Merge topic 'externalproject-update-refactor'Brad King2021-01-297-173/+333
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ac6a4d4884 ExternalProject: Improve robustness of update step 17c4c8b92b Tests: Prevent the noisy CMP0114 warnings in ExternalProjectUpdate test 1cb65e680d ExternalProject: Prevent the noisy detached head messages on checkout Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5389
| * | | | ExternalProject: Improve robustness of update stepCraig Scott2021-01-285-173/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor the update logic to make it easier to follow. The following fixes/improvements are some consequences of this change: * Absorb a confusing git checkout failure message when the failure is allowed and we act on that failure appropriately. * Fix an unnecessary fetch in some scenarios when checking out a git hash we already have locally. * Stash and restore any local changes even when not rebasing. * Avoid unsafe rebasing where we are not on a branch that is already tracking the requested branch. * When fetching, use --tags --force to ensure we get all the tags and commits leading up to them regardless of whether the tags are on branches or not. Also update our local tags if they move on the remote. Fixes: #20677
| * | | | Tests: Prevent the noisy CMP0114 warnings in ExternalProjectUpdate testCraig Scott2021-01-281-0/+5
| | | | |
| * | | | ExternalProject: Prevent the noisy detached head messages on checkoutCraig Scott2021-01-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When checking out a specific commit by its git hash, git will output a very noisy message about checking out a detached HEAD. This is not particularly helpful for us here and makes the output overall quite verbose. Add a git config setting to prevent it.
* | | | | Merge topic 'intel-llvm-compilers'Brad King2021-01-2966-74/+613
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9b5fd04905 Tests: Disable MFC test for IntelLLVM due to #18311 ccdf7c0005 Tests: Skip VSGNUFortran test for ifx. ddaf412dd0 Tests: Skip per file PDBs in PDBDirectoryAndName for IntelLLVM a619b32768 Tests: Update RunCMake.GenerateExportHeader for IntelLLVM 661b04d6a6 Tests: Skip old PrecompiledHeader test on IntelLLVM 01b1e9c40d Tests: Update CompileFeatures test for IntelLLVM f26f10184f Tests: Update Module.WriteCompilerDetectionHeader for IntelLLVM 3ceb364b1c Tests: Update RunCMake.FileAPI for IntelLLVM ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5594
| * | | | Tests: Disable MFC test for IntelLLVM due to #18311William R. Dieter2021-01-281-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clang-cl cannot deal with implicit dependencies in UTF16 files (see #18311). IntelLLVM inherits this behavior from Clang. The MFC test uses `rc` in the way described in #18311 and gets the same error described in #18311. Disable the test until #18311 is fixed. Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
| * | | | Tests: Skip VSGNUFortran test for ifx.William R. Dieter2021-01-281-0/+4
| | | | | | | | | | | | | | | | | | | | DLLEXPORT is not implemented in ifx yet, and required by this test.
| * | | | Tests: Skip per file PDBs in PDBDirectoryAndName for IntelLLVMWilliam R. Dieter2021-01-281-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The IntelLLVM C compiler do not yet support PDBs per file with the /Fd option. Disable the parts of PDBDirectoryAndName that tries to generate them so that the test will pass.
| * | | | Tests: Update RunCMake.GenerateExportHeader for IntelLLVMBrad King2021-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | On Windows, the expected results are like Clang's.
| * | | | Tests: Skip old PrecompiledHeader test on IntelLLVMBrad King2021-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This test uses hard-coded flags for a fixed set of compilers. We have first-class PCH support implemented for IntelLLVM.
| * | | | Tests: Update CompileFeatures test for IntelLLVMBrad King2021-01-281-2/+2
| | | | | | | | | | | | | | | | | | | | We do not have granular features for this compiler.
| * | | | Tests: Update Module.WriteCompilerDetectionHeader for IntelLLVMBrad King2021-01-281-2/+2
| | | | |
| * | | | Tests: Update RunCMake.FileAPI for IntelLLVMBrad King2021-01-281-1/+1
| | | | |
| * | | | Tests: Update MSVCRuntimeLibrary.Fortran test for IntelLLVMWilliam R. Dieter2021-01-281-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ifx` needs the same command line arguments as `ifort`. Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
| * | | | Tests: Update Preprocess test for IntelLLVMWilliam R. Dieter2021-01-281-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Work around an icx bug in command line handling of preprocessor macros. A `\\\"` string in a macro passed to icx on the command line is not properly parsed in compiler versions 2021.1.0 and earlier. This problem is expected to be fixed, though a target release has no been set yet. Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
| * | | | Tests: Update CPack DEBUGINFO tests for IntelLLVMWilliam R. Dieter2021-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default icx and icpx do not add build IDs when linking, so enable the build ID to make the test pass. Signed-off-by: William R. Dieter <william.r.dieter@intel.com>