Commit Graph

51711 Commits

Author SHA1 Message Date
Brad King c28dbd7e30 Merge topic 'intel-llvm-compilers'
a552487843 Help: Clarify release note for IntelLLVM compiler support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5758
2021-02-03 11:11:25 -05:00
Brad King ff7ca0f831 Merge branch 'release-3.19' 2021-02-03 10:51:29 -05:00
Brad King 8a131c92a4 Merge topic 'findcudatoolkit_env_path'
4ea6d3c3ae FindCUDAToolkit: Restore use of CUDA_PATH environment variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Raul Tambre <raul@tambre.ee>
Merge-request: !5761
2021-02-03 10:51:29 -05:00
Brad King c131afc190 Merge topic 'findcudatoolkit_env_path' into release-3.19
4ea6d3c3ae FindCUDAToolkit: Restore use of CUDA_PATH environment variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Raul Tambre <raul@tambre.ee>
Merge-request: !5761
2021-02-03 10:51:28 -05:00
Brad King a24679e9f3 Merge topic 'pch-reuse-from-obj-msvc'
c450d66daa PCH: Remove restrictions for REUSE_FROM signature for MSVC

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5765
2021-02-03 10:47:38 -05:00
Brad King afda647ac3 Merge topic 'file-configure-endl'
05f16ca7ee file(CONFIGURE): Use text mode for default OUTPUT content

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Asit Dhal <dhal.asitk@gmail.com>
Merge-request: !5762
2021-02-03 10:45:52 -05:00
Brad King 8c10d98daf Merge topic 'cmake-compile-on-iOS'
30360cb05f iOS: Fix compilation of CMake itself

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5753
2021-02-03 10:42:42 -05:00
Brad King 6e9634cb93 Merge topic 'update-kwsys'
7d46310cf8 Merge branch 'upstream-KWSys' into update-kwsys
86ecce2072 KWSys 2021-02-02 (c672435e)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5763
2021-02-03 10:41:55 -05:00
Robert Maynard 4ea6d3c3ae FindCUDAToolkit: Restore use of CUDA_PATH environment variable
Refactoring in commit 7cc815a2a6 (CUDAToolkit: Detect CUDA SDK that
don't have nvcc, 2020-07-24, v3.19.0-rc1~366^2) accidentally broke
use of the `CUDA_PATH` environment variable.

Fixes: #21740
2021-02-03 10:35:21 -05:00
Kitware Robot af695cee73 CMake Nightly Date Stamp 2021-02-03 00:03:21 -05:00
Cristian Adam c450d66daa PCH: Remove restrictions for REUSE_FROM signature for MSVC
Fixes: #20201
2021-02-02 15:03:55 -05:00
Brad King 9e2e96f5ad Merge topic 'revert-pch-reuse-from-obj-msvc'
8d379e7406 Revert "PCH: Remove restrictions for REUSE_FROM signature for MSVC"

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5764
2021-02-02 15:03:18 -05:00
Brad King 8d379e7406 Revert "PCH: Remove restrictions for REUSE_FROM signature for MSVC"
This reverts commit 9f06097141.
It was merged accidentally.
2021-02-02 15:02:08 -05:00
Brad King 7cbaf6d87a Merge topic 'pch-reuse-from-obj-msvc'
9f06097141 PCH: Remove restrictions for REUSE_FROM signature for MSVC

Acked-by: Kitware Robot <kwrobot@kitware.com>
Rejected-by: Cristian Adam <cristian.adam@gmail.com>
Acked-by: Cristian Adam <cristian.adam@gmail.com>
Merge-request: !5728
2021-02-02 15:00:25 -05:00
Brad King a552487843 Help: Clarify release note for IntelLLVM compiler support
Update the release note added by commit b9f945eccb (Help: Add release
note for IntelLLVM compiler support, 2021-01-29) to distinguish between
the Intel oneAPI NextGen and Classic compilers.

Co-Author: William R. Dieter <william.r.dieter@intel.com>
Suggested-by: Michael Hirsch, Ph.D <michael@scivision.dev>
2021-02-02 13:30:09 -05:00
Cristian Adam 9f06097141 PCH: Remove restrictions for REUSE_FROM signature for MSVC
Fixes: #20201
2021-02-02 19:11:44 +01:00
Brad King 7d46310cf8 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2021-02-02 (c672435e)
2021-02-02 09:37:05 -05:00
KWSys Upstream 86ecce2072 KWSys 2021-02-02 (c672435e)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit c672435eba0d5b024117cd4f30d8d2ed57f7f338 (master).

Upstream Shortlog
-----------------

Brad King (1):
      6e51fe76 FStream: Add std::fstream wrapper for in/out file streams
2021-02-02 09:37:04 -05:00
Cristian Adam 05f16ca7ee file(CONFIGURE): Use text mode for default OUTPUT content
This affects only Windows where \n will be translated as \r\n

Fixes: #21769
2021-02-02 15:18:48 +01:00
Brad King 8387aa20f2 Merge topic 'issue-19198'
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
2021-02-02 08:53:07 -05:00
Brad King 193cba5d92 Merge topic 'doc-user-interaction-ClangCL'
c16509907c Help: Update to VS ClangCL toolset in user-interaction example

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5756
2021-02-02 08:50:30 -05:00
Brad King 7b38688e22 Merge topic 'fix21727_for_FindOpenSSL'
bc00cf9300 FindOpenSSL: Add support for version-range

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5750
2021-02-02 08:49:44 -05:00
Brad King 932b45ceb9 Merge topic 'shlibdeps-fixup'
1aefa86c31 Tests: Accept line breaks in more places in dpkg-shlibdeps error message

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5751
2021-02-02 08:49:00 -05:00
Brad King 1b5f4a615b Merge topic 'tests-setgid'
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
2021-02-02 08:47:55 -05:00
Brad King b8e3c821fe Merge topic 'bad-dns-no_proxy'
c0b1f5f30c Tests: Add host to ENV{no_proxy} when DNS lookup failure is expected

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5752
2021-02-02 08:47:01 -05:00
Hayden 30360cb05f iOS: Fix compilation of CMake itself
There are no ApplicationServices on iOS.
2021-02-02 08:45:11 -05:00
Kitware Robot 3e76fe7354 CMake Nightly Date Stamp 2021-02-02 00:01:14 -05:00
william.r.dieter 1aefa86c31 Tests: Accept line breaks in more places in dpkg-shlibdeps error message
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>
2021-02-01 10:32:51 -05:00
Tim Hutton c16509907c Help: Update to VS ClangCL toolset in user-interaction example
As of VS 2019 the toolset is now called `ClangCL`.  The toolset `LLVM`
is no longer supported.

Issue: #20415
2021-02-01 10:21:03 -05:00
Brad King a28bb8de23 Merge topic 'file-configure-newline'
6e225efd8c file(CONFIGURE): Fix newlines in CONTENT

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5747
2021-02-01 10:06:27 -05:00
Brad King e9875b6164 Merge topic 'install-minor-refactor'
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
2021-02-01 10:04:42 -05:00
Deniz Bahadir bc00cf9300 FindOpenSSL: Add support for version-range 2021-02-01 12:27:05 +01:00
Kitware Robot 755c948976 CMake Nightly Date Stamp 2021-02-01 00:01:20 -05:00
Asit Dhal 255df8622b file(GENERATE): Support new line style
Fixes: #19198
2021-02-01 01:38:19 +01:00
Kitware Robot 8a2fd1bfe0 CMake Nightly Date Stamp 2021-01-31 00:01:09 -05:00
Kitware Robot 93eef92777 CMake Nightly Date Stamp 2021-01-30 00:01:13 -05:00
william.r.dieter 8213390a3e Added SETUID and SETGID to the list of accepted file permissions
Signed-off-by: william.r.dieter <william.r.dieter@intel.com>
2021-01-29 16:30:52 -05:00
william.r.dieter f41d0e0c77 Tests: Explicitly set permissions in CPack tests to avoid perimssions errors
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>
2021-01-29 16:29:09 -05:00
william.r.dieter c0b1f5f30c Tests: Add host to ENV{no_proxy} when DNS lookup failure is expected
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>
2021-01-29 16:22:15 -05:00
Brad King c5691f03e5 Merge topic 'intel-llvm-compilers'
b9f945eccb Help: Add release note for IntelLLVM compiler support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5748
2021-01-29 09:36:58 -05:00
Craig Scott 525363447f Merge topic 'cmake_path-stabilization'
76cea3dfe2 cmake_path: rename 'GET ... RELATIVE_PATH' to 'GET ... RELATIVE_PART'

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5743
2021-01-29 08:57:33 -05:00
Cristian Adam 6e225efd8c file(CONFIGURE): Fix newlines in CONTENT
Fixes: #21749
2021-01-29 14:25:33 +01:00
Brad King 36bb0e32d7 Merge topic 'externalproject-update-refactor'
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
2021-01-29 08:10:21 -05:00
Brad King b9f945eccb Help: Add release note for IntelLLVM compiler support
This was accidentally left out from commit a90d2a9eed (IntelLLVM: Add
support for Intel LLVM-based compilers, 2020-11-02).

Issue: #21561
2021-01-29 08:07:16 -05:00
Brad King 0e60ec7480 Merge topic 'intel-llvm-compilers'
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
2021-01-29 07:54:42 -05:00
Kitware Robot 59b5b6e11c CMake Nightly Date Stamp 2021-01-29 00:01:13 -05:00
Brad King 203cc694dd cmInstallGenerator: Add accessors for settings common to all installers 2021-01-28 12:47:58 -05:00
Brad King e32818dd76 cmInstallGenerator: Add backtrace to all install generators 2021-01-28 12:47:58 -05:00
Brad King eea61268e6 cmInstallExportGenerator: Add method to get installed file name 2021-01-28 12:47:58 -05:00
Brad King 1215092507 cmInstallScriptGenerator: Factor out method to get script 2021-01-28 12:47:57 -05:00