0d3bfda | Brad King | 20 September 2021, 15:28:01 UTC | CMake 3.20.6 | 20 September 2021, 15:28:01 UTC |
c9c6e8d | Brad King | 16 September 2021, 13:03:07 UTC | Merge branch 'android-PATH' into release-3.20 Merge-request: !6528 | 16 September 2021, 13:03:07 UTC |
94f3776 | hhb | 16 September 2021, 08:11:48 UTC | Android: Restore searching PATH for executables Since commit a7f41a7ee4 (Android: Fix find_* search order within NDK for unified toolchains, 2020-10-13, v3.20.0-rc1~610^2), we turn off `CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH`. This breaks `find_program` searching `PATH` for host executables. Fortunately, the setting turns out not to be necessary, perhaps since commit cbc51a8be3 (Android: restructure android search paths, 2020-11-06, v3.20.0-rc1~509^2). Without it, none of NDK tests fail, so remove it to restore pre-3.20 behavior. Fixes: #22634 | 16 September 2021, 12:45:33 UTC |
fd64b84 | Brad King | 24 August 2021, 14:02:58 UTC | Merge branch 'GNUInstallDirs-variable-named-0' into release-3.20 Merge-request: !6474 | 24 August 2021, 14:02:58 UTC |
49a5dbc | Ben Boeckel | 22 August 2021, 16:35:56 UTC | GNUInstallDirs: avoid unwanted variable dereference In some situations, it seems that the variable `0` is defined. In the case found, it was set to `1`. This makes the detection of the missing third argument bogus and unnecessarily triggers a warning. This oversight was introduced in 229b5ee994 (GNUInstallDirs: Add dir argument to GNUInstallDirs_get_absolute_install_dir, 2020-10-31) prior to CMake 3.20's release cycle. | 22 August 2021, 16:42:48 UTC |
91ba893 | Brad King | 02 August 2021, 20:14:39 UTC | Merge branch 'macos-10.4' into release-3.20 Merge-request: !6426 | 02 August 2021, 20:14:39 UTC |
1af23c4 | Evan Miller | 02 August 2021, 19:38:02 UTC | macOS: Restore support for Mac OS X 10.4 (Tiger) Since commit 4aed96e230 (Apple: Set CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG on non-macOS too, 2021-04-06, v3.20.1~5^2) we always enable support for linking with `-rpath`. The intention of the change was to enable using the flag on iOS, tvOS and watchOS by avoiding a Darwin-specific version check. However, removing the check broke support for OS X 10.4 because the flag is not supported on that version. Restore a form of the check that disables the flag on OS X < 10.5 while still allowing it for the other Apple platforms. Since no one is doing iOS/tvOS/etc development on 10.4, this change should have no unintended side effects. Fixes: #22490 | 02 August 2021, 20:12:14 UTC |
9029335 | Brad King | 09 July 2021, 15:45:00 UTC | Merge branch 'backport-3.20-intel-oneapi-std-windows' into release-3.20 Merge-request: !6328 | 09 July 2021, 15:45:00 UTC |
1c22758 | Brad King | 09 July 2021, 14:56:52 UTC | Tests: Fix RunCMake.try_compile C/CXX standards with IntelLLVM MSVC mode Since commit 5115dd1e2c (IntelLLVM: Fix C/C++ standard level flags on Windows, 2021-07-07, v3.21.0-rc3~7^2^2) we activate C/C++ standard level logic for IntelLLVM when targeting the MSVC ABI. Update the `RunCMake.try_compile` test to be aware of this even when CMake is itself configured by an older CMake that does not know this. | 09 July 2021, 15:29:34 UTC |
1c14691 | Raul Tambre | 07 February 2021, 09:27:21 UTC | CMakeCCompilerId: Fix C standard detection in Clang and IntelLLVM MSVC mode Clang does not define `__STDC__` if in MSVC compatibility mode, but does define `__STDC_VERSION__`. Avoid the fallback for this combination. This backports commit 7596d8b951 (CMakeCCompilerId: Fix C standard detection in Clang MSVC mode, 2021-02-07, v3.21.0-rc1~587^2~14) to the 3.20 release series. This is needed since commit 5115dd1e2c (IntelLLVM: Fix C/C++ standard level flags on Windows, 2021-07-07, v3.21.0-rc3~7^2^2) now that we activate C/C++ standard level logic for IntelLLVM when targeting the MSVC ABI. | 09 July 2021, 15:27:47 UTC |
ad793ce | Brad King | 09 July 2021, 11:52:09 UTC | Merge branch 'FindJPEG-revert-turbo' into release-3.20 Merge-request: !6326 | 09 July 2021, 11:52:09 UTC |
0de1f15 | Brad King | 09 July 2021, 11:48:55 UTC | FindJPEG: Revert "Search for 'turbojpeg' and 'turbojpeg-static' too" Revert commit 74cc2e3326 (FindJPEG: Search for 'turbojpeg' and 'turbojpeg-static' too, 2021-01-09, v3.20.0-rc1~176^2) pending further investigation. The "turbo" variants are not drop-in replacements on all platforms. Fixes: #22333 | 09 July 2021, 11:49:12 UTC |
d2419c4 | Brad King | 08 July 2021, 11:47:04 UTC | Merge branch 'release-3.19' into release-3.20 | 08 July 2021, 11:47:04 UTC |
01b40cf | Brad King | 08 July 2021, 11:46:41 UTC | Merge branch 'check_cxx_compiler_flag_no_normal_variable' into release-3.20 Merge-request: !6318 | 08 July 2021, 11:46:41 UTC |
93b25f0 | Brad King | 08 July 2021, 11:46:16 UTC | Merge branch 'check_cxx_compiler_flag_no_normal_variable' into release-3.19 Merge-request: !6318 | 08 July 2021, 11:46:16 UTC |
018d300 | Robert Maynard | 07 July 2021, 15:23:31 UTC | Check*CompilerFlag: Do not set result as a normal variable too This was previously fixed by commit d46590910c (Check*CompilerFlag: Do not set result as a normal variable too, 2020-09-21, v3.18.3~1^2^2), but was regressed by refactoring in commit 90dead024c (CheckCompilerFlag: unified way to check compiler flags per language, 2020-09-25, v3.19.0-rc1~88^2) due to the changes being developed concurrently. Fix it again, and add a test case. Fixes: #21207 | 08 July 2021, 11:44:03 UTC |
dc4b486 | Brad King | 07 July 2021, 16:53:56 UTC | Merge branch 'backport-3.20-intel-oneapi-std-windows' into release-3.20 Merge-request: !6319 | 07 July 2021, 16:53:56 UTC |
5115dd1 | Brad King | 07 July 2021, 16:21:27 UTC | IntelLLVM: Fix C/C++ standard level flags on Windows In commit a90d2a9eed (IntelLLVM: Add support for Intel LLVM-based compilers, 2020-11-02, v3.20.0-rc1~89^2~20) we accidentally left out activation of the C/C++ standard level selection logic when IntelLLVM is targeting the MSVC ABI. Fixes: #22388 | 07 July 2021, 16:25:38 UTC |
77abc29 | Brad King | 02 July 2021, 14:14:36 UTC | Merge branch 'backport-3.20-makefile-normalize-depfile' into release-3.20 Merge-request: !6297 | 02 July 2021, 14:14:36 UTC |
6a6efdc | Marc Chevrier | 01 July 2021, 09:47:52 UTC | Makefiles: Normalize compiler-generated depfile paths Even though Makefile generators pass source files and include directories by absolute path to the compiler, the compiler may generate depfile paths relative to the current working directory. For example, `ccache` with `CCACHE_BASEDIR` may transform paths this way. When reading a depfile, convert relative dependencies to absolute paths before placing them in `compiler_depend.make`, which is later evaluated in the top-level build directory. Fixes: #22364 | 02 July 2021, 13:24:57 UTC |
efa5e1f | Brad King | 21 June 2021, 15:23:19 UTC | CMake 3.20.5 | 21 June 2021, 15:23:19 UTC |
25e8266 | Brad King | 21 June 2021, 15:20:33 UTC | Help: Add 3.20 release note section for 3.20.{3,4,5} Make it clear that the notes for these patch releases were not forgotten, and that there were simply no changes to documented features or interfaces. | 21 June 2021, 15:20:33 UTC |
621f7bf | Brad King | 21 June 2021, 13:56:09 UTC | Merge branch 'test-xcode-13' into release-3.20 Merge-request: !6248 | 21 June 2021, 13:56:09 UTC |
d6c0cc1 | Brad King | 21 June 2021, 13:47:28 UTC | Merge branch 'ep-git-update-commit-ref' into release-3.20 Merge-request: !6249 | 21 June 2021, 13:47:43 UTC |
360ff17 | Craig Scott | 20 June 2021, 05:40:45 UTC | ExternalProject: Use ${ref}^0 to avoid MSYS/Cygwin shell substitutions In 5e941a545b (ExternalProject: Ensure git fetch if updating to hash we don't have yet, 2021-05-09), the form ${ref}^{commit} was used to ensure the ref was treated as a commit. When running under a MSYS2 or Cygwin shell, the {commit} part can be translated by the shell, leaving it as ${ref}^commit, which git doesn't understand. Use the equivalent but safer form ${ref}^0, since it won't be subject to the shell substitution issue. Fixes: #22299 | 20 June 2021, 05:40:45 UTC |
1dd0eae | Brad King | 18 June 2021, 17:56:02 UTC | Tests: Fix xcode version detection for Xcode 13 on ARM Running `xcode -version` on an ARM box prints content to stderr: objc[...]: Class ... is implemented in both... One of the two will be used. Which one is undefined. Capture and parse only stdout. Otherwise we might configure test behavior for the wrong version of Xcode. | 18 June 2021, 18:04:32 UTC |
acd82e4 | Brad King | 17 June 2021, 10:47:36 UTC | Merge topic 'fix-flow-control-override' into release-3.20 c017098d4d CMake: Allow override of unexpected non-flow-control commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6232 | 17 June 2021, 10:47:42 UTC |
cd73f37 | Brad King | 17 June 2021, 10:45:51 UTC | Merge topic 'vs-map-external-warnings' into release-3.20 947f0c8b81 VS: Do not apply '/external:W*' flag table mapping on VS < 16.10 e59a208b69 cmGlobalVisualStudio10Generator: Adopt GetVSInstanceVersion method d6d4af0ec3 cmGlobalVisualStudio10Generator: Move static functions to anonymous namespace Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6233 | 17 June 2021, 10:45:57 UTC |
947f0c8 | Brad King | 16 June 2021, 14:56:15 UTC | VS: Do not apply '/external:W*' flag table mapping on VS < 16.10 Since commit 9054cd05e6 (VS: Add flag table entries for '/external:W*' flags in VS 16.10, 2021-05-28, v3.20.4~10^2) we map flags to the `ExternalWarningLevel` element. VS 16.9 does not support that element, but its `cl` compiler does support the `/external:W*` flags. Filter out the flag table entry on older VS versions. Fixes: #22308 | 16 June 2021, 15:08:15 UTC |
e59a208 | Brad King | 16 June 2021, 14:53:22 UTC | cmGlobalVisualStudio10Generator: Adopt GetVSInstanceVersion method Port from `cmGlobalVisualStudioVersionedGenerator`. | 16 June 2021, 14:57:15 UTC |
d6d4af0 | Brad King | 16 June 2021, 14:54:50 UTC | cmGlobalVisualStudio10Generator: Move static functions to anonymous namespace | 16 June 2021, 14:57:14 UTC |
c017098 | Kyle Edwards | 16 June 2021, 14:39:39 UTC | CMake: Allow override of unexpected non-flow-control commands Fixes: #22310 | 16 June 2021, 14:39:39 UTC |
a9ff600 | Brad King | 16 June 2021, 12:14:01 UTC | Merge topic 'ci-xcode-12.5' into release-3.20 9c98878451 gitlab-ci: update macOS jobs to use Xcode 12.5 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6229 | 16 June 2021, 12:14:41 UTC |
9c98878 | Brad King | 15 June 2021, 19:42:08 UTC | gitlab-ci: update macOS jobs to use Xcode 12.5 | 15 June 2021, 19:42:08 UTC |
b61fe6a | Brad King | 14 June 2021, 15:05:49 UTC | CMake 3.20.4 | 14 June 2021, 15:05:49 UTC |
a7ad3a5 | Brad King | 14 June 2021, 13:42:39 UTC | Merge topic 'help-cmake_path-IS_PREFIX' into release-3.20 e49cbf1d44 Help: cmake_path: fix erroneous example for IS_PREFIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6223 | 14 June 2021, 13:44:14 UTC |
43c42e1 | Brad King | 14 June 2021, 13:41:38 UTC | Merge topic 'fileapi-link-fragments' into release-3.20 68bbec66e0 fileapi: Fix codemodel-v2 link command fragment relative paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6220 | 14 June 2021, 13:41:50 UTC |
e49cbf1 | Marc Chevrier | 12 June 2021, 09:18:37 UTC | Help: cmake_path: fix erroneous example for IS_PREFIX | 12 June 2021, 09:22:40 UTC |
68bbec6 | Brad King | 11 June 2021, 14:52:06 UTC | fileapi: Fix codemodel-v2 link command fragment relative paths Use the same `cmLinkLineComputer` subclass as the generator does. This affects the base directory from which relative paths are computed. Fixes: #22301 | 11 June 2021, 15:11:36 UTC |
e3c420a | Brad King | 09 June 2021, 11:57:27 UTC | Merge topic 'presets-build-fixes' into release-3.20 534c40e6d8 presets: Fix buildPreset "targets" not allowing a single string 5d67632813 presets: Fix buildPreset "jobs" 93e396b402 presets: Fix buildPreset "jobs" field test case Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !6190 | 09 June 2021, 11:57:34 UTC |
12fc4f1 | Brad King | 09 June 2021, 11:56:22 UTC | Merge topic 'irsl-intel-oneapi-windows' into release-3.20 6d4c51c29e IRSL: Add Intel oneAPI redist location on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6199 | 09 June 2021, 11:56:28 UTC |
6d4c51c | Brad King | 08 June 2021, 12:48:09 UTC | IRSL: Add Intel oneAPI redist location on Windows Fixes: #22283 | 08 June 2021, 13:07:37 UTC |
534c40e | Sam Freed | 03 June 2021, 22:33:58 UTC | presets: Fix buildPreset "targets" not allowing a single string Fixes: #22272 | 08 June 2021, 11:47:54 UTC |
5d67632 | Sam Freed | 03 June 2021, 22:32:55 UTC | presets: Fix buildPreset "jobs" Fixes: #22273 | 08 June 2021, 11:47:24 UTC |
93e396b | Brad King | 08 June 2021, 11:09:31 UTC | presets: Fix buildPreset "jobs" field test case Avoid passing parallel build options to Make tools that do not support them. | 08 June 2021, 11:47:20 UTC |
f092fe6 | Brad King | 07 June 2021, 17:21:57 UTC | Merge topic 'FindBoost-json-header' into release-3.20 c44dfdfdbb FindBoost: Add check for json component header in Boost 1.75+ Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6193 | 07 June 2021, 17:22:03 UTC |
c44dfdf | John Drouhard | 04 June 2021, 17:22:36 UTC | FindBoost: Add check for json component header in Boost 1.75+ In commit 8293064760 (FindBoost: Add support for Boost 1.75, 2021-02-03, v3.19.5~9^2) the dependencies of the json component were added, but the header listing was left out. | 04 June 2021, 17:43:54 UTC |
451b1a8 | Brad King | 04 June 2021, 10:53:32 UTC | Merge topic 'ci-sccache-consistent-builds' into release-3.20 9d7ebb47ea ci: use consistent sccache builds Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6156 | 04 June 2021, 10:53:46 UTC |
9d7ebb4 | Ben Boeckel | 22 May 2021, 23:24:04 UTC | ci: use consistent sccache builds | 02 June 2021, 19:43:16 UTC |
e092ded | Brad King | 02 June 2021, 11:32:18 UTC | Merge topic 'msvc_cxx20_23' into release-3.20 886e27062b Clang/MSVC: C++20 final flag, C++23 support 3aaf1d91bf MSVC: C++20 final flag, C++23 support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !6174 | 02 June 2021, 11:32:30 UTC |
886e270 | Raul Tambre | 29 May 2021, 16:41:03 UTC | Clang/MSVC: C++20 final flag, C++23 support Added in LLVM commit a8f75d497daa2684a03909d7c31d5bce11b427e1, will be released in 13.0. | 29 May 2021, 16:44:10 UTC |
105b01b | Brad King | 29 May 2021, 13:45:27 UTC | Merge topic 'fix-compile-db-crash' into release-3.20 316cbbe8d5 Makefiles: Fix CMAKE_EXPORT_COMPILE_COMMANDS crash with custom compile rule Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6173 | 29 May 2021, 13:45:33 UTC |
3aaf1d9 | Raul Tambre | 29 May 2021, 09:45:01 UTC | MSVC: C++20 final flag, C++23 support Microsoft intends to ship the final C++20 flag in VS 16.11 albeit with a few parts missing due planned ABI breaking changes. The current 16.11 Preview 1 toolchain version is 19.29.30129.3, so let's restrict based on that. | 29 May 2021, 10:35:45 UTC |
316cbbe | Brad King | 28 May 2021, 19:28:25 UTC | Makefiles: Fix CMAKE_EXPORT_COMPILE_COMMANDS crash with custom compile rule Extend the fix from commit 67e2130c96 (Makefiles: Fix CMAKE_EXPORT_COMPILE_COMMANDS crash with custom compile rule, 2020-11-20, v3.19.1~8^2) to work for the `<FLAGS>` placeholder too. Also fix the test case to actually enable `EXPORT_COMPILE_COMMANDS` on the test target. Fixes: #22261 | 28 May 2021, 19:41:38 UTC |
b9ee6db | Brad King | 28 May 2021, 18:24:49 UTC | Merge topic 'ci-msvc-14.29-16.10' into release-3.20 59d9fa7131 gitlab-ci: Update Windows builds to MSVC 19.29-16.10 toolset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6172 | 28 May 2021, 18:24:56 UTC |
ddd1320 | Brad King | 28 May 2021, 16:52:36 UTC | Merge topic 'vs-16.10-map-external-warnings' into release-3.20 9054cd05e6 VS: Add flag table entries for '/external:W*' flags in VS 16.10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6171 | 28 May 2021, 16:52:42 UTC |
59d9fa7 | Brad King | 28 May 2021, 14:57:17 UTC | gitlab-ci: Update Windows builds to MSVC 19.29-16.10 toolset | 28 May 2021, 16:33:53 UTC |
f4f80cf | Brad King | 28 May 2021, 16:24:40 UTC | Merge topic 'vs-toolset-version' into release-3.20 a60141feaa VS: Add special case for '-T version=14.29.16.10' under VS 16.10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6169 | 28 May 2021, 16:24:52 UTC |
9054cd0 | Brad King | 28 May 2021, 15:48:30 UTC | VS: Add flag table entries for '/external:W*' flags in VS 16.10 Fixes: #22255 | 28 May 2021, 15:54:57 UTC |
a60141f | Brad King | 27 May 2021, 20:50:55 UTC | VS: Add special case for '-T version=14.29.16.10' under VS 16.10 Extend the table of special cases from commit 58a50a3a0a (VS: Fix '-T version=14.28' under VS 16.9, 2021-03-11, v3.19.7~1^2~1). Add a special case for the name VS 16.11 will use for VS 16.10's default toolset, so that it can be used with VS 16.10 too. Using '-T version=14.29.16.10' actually works under VS 16.10 without this change, but only because there is only one 14.29 toolset so the two-component prefix happens to match the right one. Make it explicit. Issue: #21922 | 27 May 2021, 21:06:27 UTC |
13d112e | Brad King | 27 May 2021, 18:05:04 UTC | CMake 3.20.3 | 27 May 2021, 18:05:04 UTC |
35a7dcb | Brad King | 25 May 2021, 14:00:25 UTC | Merge topic 'cmp0082-exclude-from-all' into release-3.20 38f2562d5b CMP0082: Check EXCLUDE_FROM_ALL property at generate time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6158 | 25 May 2021, 14:00:34 UTC |
38f2562 | Kyle Edwards | 24 May 2021, 17:40:25 UTC | CMP0082: Check EXCLUDE_FROM_ALL property at generate time Fixes: #22234 | 24 May 2021, 17:56:59 UTC |
fe9988a | Brad King | 21 May 2021, 14:36:49 UTC | Merge topic 'git-config-version-check' into release-3.20 8a9753e427 ExternalProject: Only add git config setting with git 1.7.7 or later Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6145 | 21 May 2021, 14:36:56 UTC |
8a9753e | Craig Scott | 20 May 2021, 12:37:40 UTC | ExternalProject: Only add git config setting with git 1.7.7 or later 1cb65e680d (ExternalProject: Prevent the noisy detached head messages on checkout, 2021-01-17) unconditionally added the advice.detachedHead git config setting, but it requires git 1.7.7 or later. Since it isn't fatal to not have it, just noisier, only add it when it is supported. Fixes: #22206 | 20 May 2021, 12:39:04 UTC |
c23e2fa | Brad King | 19 May 2021, 11:54:30 UTC | Merge topic 'nvhpc-ninja-depfile' into release-3.20 364f6af1d7 NVHPC: Support Ninja dependency scanning 521cfc38a3 NVHPC: Support explicit language flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6136 | 19 May 2021, 11:54:41 UTC |
364f6af | Robert Maynard | 18 May 2021, 15:30:36 UTC | NVHPC: Support Ninja dependency scanning Fixes: #22168 | 18 May 2021, 16:56:46 UTC |
521cfc3 | Robert Maynard | 18 May 2021, 15:30:01 UTC | NVHPC: Support explicit language flags | 18 May 2021, 15:30:01 UTC |
3a4bb26 | Brad King | 14 May 2021, 14:55:10 UTC | Merge topic 'sphinx-4' into release-3.20 bb9c69ed70 Utilities/Sphinx: Update man page config for Sphinx 4 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6126 | 14 May 2021, 14:55:16 UTC |
bb9c69e | Brad King | 14 May 2021, 14:26:11 UTC | Utilities/Sphinx: Update man page config for Sphinx 4 Sphinx 4 by default generates `man/#/foo.#`, but older versions generate `man/foo.#` as our install rules expect. Update our Sphinx config file to tell Sphinx 4 to use the old layout. Fixes: #22192 | 14 May 2021, 14:30:34 UTC |
0348b22 | Brad King | 14 May 2021, 12:33:17 UTC | Merge topic 'cmake_build_and_install_command_error_when_given_bad_arguments' into release-3.20 f78b167a23 cmCommandLineArgument: Provide more information syntax error messages 5aa0dec6b0 cmake: `--build` and `--install` error out when encountering bad flags 928cdb17c5 cmCommandLineArgument: Correctly record parsing failures Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6119 | 14 May 2021, 12:33:28 UTC |
f78b167 | Robert Maynard | 13 May 2021, 13:33:30 UTC | cmCommandLineArgument: Provide more information syntax error messages | 13 May 2021, 13:33:30 UTC |
5aa0dec | Robert Maynard | 12 May 2021, 13:44:39 UTC | cmake: `--build` and `--install` error out when encountering bad flags Fixes #22186 | 13 May 2021, 13:28:42 UTC |
414704e | Brad King | 13 May 2021, 12:11:16 UTC | Merge topic 'ninja-fortran-symlink' into release-3.20 3a71534402 Ninja: Restore support for Fortran in a symlinked build tree Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6120 | 13 May 2021, 12:11:25 UTC |
3a71534 | Brad King | 12 May 2021, 14:05:50 UTC | Ninja: Restore support for Fortran in a symlinked build tree Since commit f3eed2c49d (cmGlobalNinjaGenerator: use P1689 dependency file format for Fortran, 2019-03-12, v3.20.0-rc1~454^2), Fortran stopped working in a build tree whose path contains a symlink. The reason is that the P1689r3 format's `work-directory` field gets populated with the realpath (via `getcwd`) of the build tree instead of the logical path to the build tree used for generating relative paths in `build.ninja`. This causes the `Fortran.dd` file to get absolute (real)paths to `.o` files, and Ninja does not match them with the relative `.o` file paths in `build.ninja`. Fix this by dropping use of the `work-directory` field. This restores our prior approach of generating paths in the dyndep file using the same forms of paths received from the buildsystem generator. The P1689r3 paper's format may need to be revised to account for this. Fixes: #21683 | 12 May 2021, 14:15:43 UTC |
928cdb1 | Robert Maynard | 12 May 2021, 13:43:33 UTC | cmCommandLineArgument: Correctly record parsing failures | 12 May 2021, 13:43:33 UTC |
13f813e | Brad King | 11 May 2021, 13:19:02 UTC | Merge topic 'cpp23_gcc' into release-3.20 9fbbebe3d0 GNU: C++23 support c9a1e06a18 GNU: Final C++20 flags 05f8c8178d GNU: C++17 default version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6108 | 11 May 2021, 13:19:11 UTC |
9fbbebe | Raul Tambre | 08 May 2021, 10:47:18 UTC | GNU: C++23 support Added in GCC commit 78739c2df788ee5c868d998a6333d453317d8711, released in 11.1. No lettered variant beforehand this time around. Implements #22139. | 10 May 2021, 14:19:13 UTC |
c9a1e06 | Raul Tambre | 08 May 2021, 10:45:33 UTC | GNU: Final C++20 flags Added in GCC commit fb26050409473f5be54465beca114b7e48de43aa, released in 11.1. | 10 May 2021, 14:19:13 UTC |
05f8c81 | Raul Tambre | 08 May 2021, 10:38:10 UTC | GNU: C++17 default version Changed in GCC commit 0801f419440c14f6772b28f763ad7d40f7f7a580, released in 11.1. | 10 May 2021, 14:19:13 UTC |
b2f1345 | Brad King | 10 May 2021, 14:05:48 UTC | Merge topic 'FindBoost-1.76' into release-3.20 79be37b94e FindBoost: Add support for Boost 1.76 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6100 | 10 May 2021, 14:06:52 UTC |
8ac314b | Brad King | 10 May 2021, 14:04:59 UTC | Merge topic 'ep-update-git-hash-missing' into release-3.20 5e941a545b ExternalProject: Ensure git fetch if updating to hash we don't have yet Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6109 | 10 May 2021, 14:05:11 UTC |
5e941a5 | Craig Scott | 09 May 2021, 02:33:16 UTC | ExternalProject: Ensure git fetch if updating to hash we don't have yet In ac6a4d4884 (ExternalProject: Improve robustness of update step, 2020-10-17), the method used to check whether we already have a commit or not was changed from using git rev-list to git rev-parse. The new logic assumed rev-parse would output nothing if given a commit hash it didn't know about, but it simply prints the hash again without raising an error in this scenario. Amend that logic by adding ^{commit} to the ref to ensure we do get an error if that ref is not currently known. Fixes: #22166 | 09 May 2021, 02:33:16 UTC |
fdbb5a5 | Brad King | 07 May 2021, 13:12:01 UTC | Merge topic 'improve_cuda_toolkit_extraction_regex' into release-3.20 5e931c5a97 CUDA: improve regex for CUDA Toolkit root from nvcc verbose output Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6094 | 07 May 2021, 13:12:08 UTC |
79be37b | Brad King | 07 May 2021, 12:51:40 UTC | FindBoost: Add support for Boost 1.76 Update the list of known versions. Run the command cmake -DBOOST_DIR=/path/to/boost_1_76_0 \ -P Utilities/Scripts/BoostScanDeps.cmake to extract dependencies from the 1.76.0 source tree. They are the same as 1.75's dependencies, so just update the version check for warning about newer versions. Fixes: #22167 | 07 May 2021, 12:57:43 UTC |
5e931c5 | Robert Maynard | 06 May 2021, 15:23:50 UTC | CUDA: improve regex for CUDA Toolkit root from nvcc verbose output The original regular expression was greedy and would match any environment variable ending with `TOP` (like `DESKTOP`). This is an issue on windows where `nvcc -v` would output all environment variables before the compiler's verbose output. To resolve this issue we use a tighter match algorithm that looks for `#$ TOP=` instead of `TOP=`. Fixes: #22158 | 06 May 2021, 16:08:24 UTC |
f062f8b | Brad King | 06 May 2021, 14:09:39 UTC | Merge topic 'objc-osx-architectures' into release-3.20 5972094708 ObjectiveC: Respect OSX_ARCHITECTURES for OBJC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6090 | 06 May 2021, 14:10:18 UTC |
5972094 | Brad King | 05 May 2021, 14:45:01 UTC | ObjectiveC: Respect OSX_ARCHITECTURES for OBJC Fix a typo from commit 940fc62962 (macOS: Respect OSX_ARCHITECTURES for ASM, 2020-08-21, v3.19.0-rc1~270^2). Fixes: #22152 | 05 May 2021, 14:45:01 UTC |
084767a | Brad King | 05 May 2021, 14:05:55 UTC | Merge topic 'binutils-var-private' into release-3.20 c33fb2e664 BinUtils: Use more-private temporary variable names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6085 | 05 May 2021, 14:06:02 UTC |
c33fb2e | Brad King | 04 May 2021, 16:44:14 UTC | BinUtils: Use more-private temporary variable names Since commit 4d786dfcfa (BinUtils: Avoid clobbering a variable named without a private prefix, 2021-04-06, v3.20.1~4^2) we use variables named `_tool` and `_name`, but these may still be common enough to affect project code. Use `_CMAKE_TOOL` and `_CMAKE_TOOL_NAME` instead, and unset them when finished. Fixes: #22140 | 04 May 2021, 16:44:14 UTC |
38868b4 | Brad King | 04 May 2021, 15:15:11 UTC | Merge topic 'doc-preset-schema-relative' into release-3.20 75dadc4558 Help: Use relative path for IDE Integration guide link to preset schema Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !6083 | 04 May 2021, 15:15:20 UTC |
75dadc4 | Brad King | 03 May 2021, 19:21:40 UTC | Help: Use relative path for IDE Integration guide link to preset schema This allows the integration guide to build as part of a larger set of documentation. | 03 May 2021, 19:36:45 UTC |
b6a5572 | Brad King | 03 May 2021, 14:53:40 UTC | Merge topic 'ninja-multi-long-command-line-config' into release-3.20 ad08f93ee4 Ninja Multi-Config: Split long command lines by config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6067 | 03 May 2021, 14:53:49 UTC |
ad08f93 | Kyle Edwards | 30 April 2021, 18:45:19 UTC | Ninja Multi-Config: Split long command lines by config Fixes: #22123 | 30 April 2021, 18:46:21 UTC |
1ad4501 | Brad King | 29 April 2021, 13:53:54 UTC | CMake 3.20.2 | 29 April 2021, 13:53:54 UTC |
402df64 | Brad King | 29 April 2021, 13:15:24 UTC | Merge topic 'intel-2021' into release-3.20 9c479c7c40 IntelLLVM: Add special case for ifx 2021.1 version extraction b7193ab18f Intel: Update Classic compiler version detection for 2021 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6052 | 29 April 2021, 13:15:32 UTC |
9c479c7 | Brad King | 27 April 2021, 16:58:24 UTC | IntelLLVM: Add special case for ifx 2021.1 version extraction The ifx beta versions forgot to define `__INTEL_LLVM_COMPILER`, and instead define `__INTEL_COMPILER == 201900`. Add a special case. Issue: #22120 | 28 April 2021, 14:21:27 UTC |
b7193ab | Brad King | 27 April 2021, 16:27:29 UTC | Intel: Update Classic compiler version detection for 2021 The value of the `__INTEL_COMPILER` macro changed convention starting in version 2021. Fixes: #22120 | 28 April 2021, 14:20:59 UTC |
21c4008 | Brad King | 26 April 2021, 15:27:11 UTC | Merge topic 'doc-compile-features-wcdh' into release-3.20 1f4ec3f4a7 Help: Do not recommend WCDH in cmake-compile-features(7) 1cc63f2cd5 Help: Fix typos in cmake-compile-features(7) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6037 | 26 April 2021, 15:27:17 UTC |
7108712 | Brad King | 26 April 2021, 15:25:38 UTC | Merge topic 'ninja-multi-custom-target-post-build' into release-3.20 f8e2a74712 Ninja Multi-Config: Correctly generate POST_BUILD custom targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6040 | 26 April 2021, 15:25:46 UTC |