summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* VS: Map /Y- flag to not use precompiled headers with VS 2008Luigi Fiorentini2021-09-223-0/+3
|
* Merge topic 'rename-cmProp-in-cmValue'Brad King2021-09-22199-1817/+1870
|\ | | | | | | | | | | | | | | | | | | 59ad7a1c24 Move helpers functions from cmStringAlgorithms.h to cmValue.h edf67dd039 cmValue: add IsInternallyOn methods cc56dc7468 Rename cmProp in cmValue Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6554
| * Move helpers functions from cmStringAlgorithms.h to cmValue.hMarc Chevrier2021-09-2116-83/+88
| | | | | | | | | | Helpers functions related to cmValue semantic are now part of cmValue.h header.
| * cmValue: add IsInternallyOn methodsMarc Chevrier2021-09-214-18/+38
| |
| * Rename cmProp in cmValueMarc Chevrier2021-09-21188-1734/+1762
| |
* | Merge topic 'doc-build-config'Craig Scott2021-09-223-68/+140
|\ \ | | | | | | | | | | | | | | | | | | | | | b8d10c27d1 Help: Restructure build type docs and clarify case sensitivity Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6516
| * | Help: Restructure build type docs and clarify case sensitivityCraig Scott2021-09-213-68/+140
| | | | | | | | | Fixes: #22591
* | | CMake Nightly Date StampKitware Robot2021-09-221-1/+1
| |/ |/|
* | Merge topic 'macos-cache-rpath-install-namedir'Brad King2021-09-212-0/+20
|\ \ | | | | | | | | | | | | | | | | | | 2266e223c5 macOS: Speed up rpath install name dir lookup with a cache Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6543
| * | macOS: Speed up rpath install name dir lookup with a cacheLukas Böger2021-09-202-0/+20
| | | | | | | | | | | | Fixes: #20602
* | | Merge topic 'cat_empty_file'Brad King2021-09-212-1/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0b4a56e64b cmake: -E cat stops when an empty file is encountered Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6539
| * | | cmake: -E cat stops when an empty file is encounteredJohnny Jazeix2021-09-182-1/+4
| | | | | | | | | | | | | | | | Fixes: #22652
* | | | Merge topic 'tests-cpack-deb-non-linux'Brad King2021-09-211-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b07812c6de Tests: fix RunCMake.CPack_DEB.EXTRA on Debian non-Linux OSes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6540
| * | | | Tests: fix RunCMake.CPack_DEB.EXTRA on Debian non-Linux OSesPino Toscano2021-09-181-2/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generated path with the packages uses $CPACK_TOPLEVEL_TAG, which by default is $CPACK_SYSTEM_NAME, thus the OS name. To make the expected stderr match also non-Linux OSes, accept any non-slash characters in place of "Linux", so it works also on other Debian OSes (e.g. Debian/Hurd).
* | | | Merge topic 'refactor-remove-cmToCStr-function'Brad King2021-09-2117-42/+35
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3a1e6f5f59 remove cmToCStr function dffa3f485c cmGlobalGenerator::PrintCompilerAdvice: use cmProp as augment 062432a6bc cmCurlSetCAInfo: use std::string as argument Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6544
| * | | | remove cmToCStr functionMarc Chevrier2021-09-196-26/+16
| | | | |
| * | | | cmGlobalGenerator::PrintCompilerAdvice: use cmProp as augmentMarc Chevrier2021-09-198-10/+11
| | | | |
| * | | | cmCurlSetCAInfo: use std::string as argumentMarc Chevrier2021-09-194-6/+8
| | |/ / | |/| |
* | | | Merge topic 'clang-manifest'Brad King2021-09-214-7/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b73857561f Clang: embed windows manifests with GNU interface Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6534
| * | | | Clang: embed windows manifests with GNU interfaceThomas Bernard2021-09-164-7/+18
| | | | | | | | | | | | | | | | | | | | Solves: #22611
* | | | | Merge topic 'platform-vars'Brad King2021-09-218-87/+33
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a136b6ec98 MINGW: Define variable only when targeting Windows platforms 39c5dad0cb Ninja: Remove redundant check for GNU-like compiler on Windows 0b7ae84a96 Cygwin: Remove redundant definitions of CYGWIN and UNIX variables Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6538
| * | | | | MINGW: Define variable only when targeting Windows platformsBrad King2021-09-177-45/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `MINGW` variable indicates that the compiler targets MinGW, a GNU ABI on Windows. Since commit aff3147917 (Modernize GNU compiler info on Windows, 2009-12-02, v2.8.2~636), we load the `Platform/Windows-GNU` module for compilers targetin MinGW, so set the variable there instead. This is equivalent to `Platform/Windows-MSVC` setting the `MSVC` variable. Also remove `if(MINGW)` checks from the module, which have not been necessary since the enclosed logic was moved to that module. The undocumented `CMAKE_COMPILER_IS_MINGW` internal variable is now unused, so remove it too. Fixes: #22647
| * | | | | Ninja: Remove redundant check for GNU-like compiler on WindowsBrad King2021-09-171-21/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the Ninja generator's check to work using whatever language is being enabled instead of hard-coding C and CXX. With that, the undocumented internal `CMAKE_COMPILER_IS_MINGW` variable is only set by compilers already covered by other alternatives in the condition. See commit b3de0dfe93 (Ninja: Use forward slashes for any GCC on Windows, 2015-05-07, v3.3.0-rc1~93^2~3).
| * | | | | Cygwin: Remove redundant definitions of CYGWIN and UNIX variablesBrad King2021-09-166-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are set by modules loaded for `CMAKE_SYSTEM_NAME`. We do not need to set them again if the compiler defines `__CYGWIN__`. Also remove the now-unused undocumented `CMAKE_COMPILER_IS_CYGWIN` internal variable.
* | | | | | CMake Nightly Date StampKitware Robot2021-09-211-1/+1
| | | | | |
* | | | | | Merge branch 'release-3.21'Brad King2021-09-200-0/+0
|\ \ \ \ \ \
| * | | | | | CMake 3.21.3v3.21.3Brad King2021-09-201-1/+1
| | | | | | |
* | | | | | | Merge branch 'release-3.21'Brad King2021-09-200-0/+0
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge topic 'hip-no-hipcc' into release-3.21Brad King2021-09-2023-306/+114
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb93f72624 HIP: Simplify detection of HIP runtime CMake package a71f0fc9c7 HIP: Remove ROMClang compiler id and use Clang directly b125e9809a HIP: Detect ROCm path earlier 735f41fc2d HIP: Use 'rocm_agent_enumerator' to determine CMAKE_HIP_ARCHITECTURES Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Merge-request: !6533
* | \ \ \ \ \ \ Merge topic 'hip-no-hipcc'Brad King2021-09-2023-306/+114
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb93f72624 HIP: Simplify detection of HIP runtime CMake package a71f0fc9c7 HIP: Remove ROMClang compiler id and use Clang directly b125e9809a HIP: Detect ROCm path earlier 735f41fc2d HIP: Use 'rocm_agent_enumerator' to determine CMAKE_HIP_ARCHITECTURES Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Merge-request: !6533
| * | | | | | | HIP: Simplify detection of HIP runtime CMake packageBrad King2021-09-166-125/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It only makes sense to use the CMake package from the same ROCm installation that the compiler uses. Ask the HIP compiler to report the location of the ROCm installation. Verify up front that it contains the expected CMake package file.
| * | | | | | | HIP: Remove ROMClang compiler id and use Clang directlyBrad King2021-09-1617-166/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit bd844387df (ROCMClang: Add the ROCm toolkit derived clang compiler to CMake, 2020-08-28, v3.21.0-rc1~66^2~6) and commit ff0d2858e1 (HIP: Extract clang compiler details from hipcc, 2020-10-21, v3.21.0-rc1~66^2~5), the separate `ROCMClang` compiler id for `hipcc` has caused a few problems: * The compiler id changed from behavior of CMake 3.20 and below, breaking projects that already built with `hipcc` treated as `Clang`. * The implementation of `target_compile_features` was incomplete for the `ROCMClang` identity. * Only `hipcc` was identified as `ROCMClang`, so after it is unwrapped to the underlying `clang++`, future runs of new CMake versions on an existing build tree would not repeat this. * Clang should be usable as a HIP compiler without the `hipcc` wrapper. Remove the `ROMClang` compiler identity, and revise HIP language support to work directly with a Clang compiler. Reject direct `hipcc` usage as a HIP compiler. For now it cannot be supported because it interferes with flags CMake needs to pass to Clang. Fixes: #22536, #22460, #22593
| * | | | | | | HIP: Detect ROCm path earlierBrad King2021-09-163-15/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fail early if it is not found. Use the detected location as a hint to find `rocm_agent_enumerator`. Also remove the leading `_` prefix in case we want to document this publicly later.
| * | | | | | | HIP: Use 'rocm_agent_enumerator' to determine CMAKE_HIP_ARCHITECTURESZack Galbreath2021-09-162-4/+36
| | | | | | | |
* | | | | | | | Merge branch 'release-3.21'Brad King2021-09-200-0/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge branch 'release-3.20' into release-3.21Brad King2021-09-201-2/+2
| |\ \ \ \ \ \ \
* | \ \ \ \ \ \ \ Merge branch 'release-3.20'Brad King2021-09-201-2/+2
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | CMake 3.20.6v3.20.6Brad King2021-09-202-3/+3
| | | | | | | | |
* | | | | | | | | Merge topic 'test-symlink'Brad King2021-09-201-0/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ea883d652 Tests: Avoid output when running symlink check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6536
| * | | | | | | | | Tests: Avoid output when running symlink checkBrad King2021-09-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 58d10cf6f1 (Alternative symlink-creating mode for file(INSTALL ...), 2021-08-02) we test creating a symlink during configuration to decide whether to activate some tests. Capture the process output during the check to avoid leaking the error message on failure.
* | | | | | | | | | CMake Nightly Date StampKitware Robot2021-09-201-1/+1
| |_|_|_|_|_|/ / / |/| | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2021-09-191-1/+1
| |_|_|_|_|_|/ / |/| | | | | | |
* | | | | | | | Merge topic 'VersionCompare-use-std_string'Marc Chevrier2021-09-189-61/+69
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7e154ebd59 cmSystemTools::VersionCompare: use std::string for arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6535
| * | | | | | | | cmSystemTools::VersionCompare: use std::string for argumentsMarc Chevrier2021-09-179-61/+69
| |/ / / / / / /
* | | | | | | | CMake Nightly Date StampKitware Robot2021-09-181-1/+1
| | | | | | | |
* | | | | | | | Merge branch 'release-3.21'Brad King2021-09-170-0/+0
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | |
| * | | | | | | Merge branch 'release-3.20' into release-3.21Brad King2021-09-170-0/+0
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | | |
* | | | | | | | Merge branch 'release-3.20'Brad King2021-09-170-0/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge branch 'android-PATH' into release-3.20Brad King2021-09-161-5/+0
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !6528
* | \ \ \ \ \ \ \ Merge branch 'release-3.21'Brad King2021-09-170-0/+0
|\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | |