23de430 | Brad King | 14 December 2020, 14:46:24 UTC | Utilities/Release: Update macOS Qt 5.9 build for platform versioning Backport the upstream Qt patch [1] to link Qt binaries using the `-isysroot` flag instead of `-Wl,-syslibroot`. This is needed so that the binaries have a SDK version set, which is needed for runtime validation on modern macOS versions. [1] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=6387138a7991b4588639dc48847f175b5afaff84 | 14 December 2020, 16:33:30 UTC |
18ee6d7 | Thomas Bernard | 11 December 2020, 20:20:57 UTC | llvm-rc: Add CMAKE_VFS_OVERLAY to the preprocessing flags Issue: #20658 | 14 December 2020, 16:08:12 UTC |
6c34835 | Brad King | 14 December 2020, 15:11:01 UTC | Merge branch 'backport-ninja-no-cleandead' into release-3.18 Merge-request: !5614 | 14 December 2020, 15:22:16 UTC |
1144d25 | Brad King | 14 December 2020, 15:14:19 UTC | Merge branch 'backport-ninja-no-cleandead' into ninja-no-cleandead | 14 December 2020, 15:14:19 UTC |
73a961e | Brad King | 14 December 2020, 15:06:26 UTC | Ninja: Remove cleandead on regeneration Remove the `cleandead` tool invocation added by commit fb18215904 (Ninja: clean ninja metadata once generated, 2019-05-13, v3.17.0-rc1~207^2). The tool deletes files that were not previously deleted by regenerating the build system. Also, there are use cases where no-longer-generated files should not be removed, such as Qt's TS files. Fixes: #21549 | 14 December 2020, 15:08:14 UTC |
7f44760 | Marc Chevrier | 14 December 2020, 13:33:50 UTC | CMakePackageConfigHelpers: Relax restrictions on version range | 14 December 2020, 13:42:26 UTC |
6aff058 | Brad King | 14 December 2020, 12:10:29 UTC | Merge topic 'FindGLUT-macos-tbd' into release-3.19 d29d034e2e FindGLUT: Handle Mojave and Big Sur 'tbd' framework files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5601 | 14 December 2020, 12:11:07 UTC |
7be4b24 | Brad King | 14 December 2020, 12:09:58 UTC | Merge topic 'macos-homebrew-apple-silicon' into release-3.19 1a5c1a68b6 macOS: Add /opt/homebrew to CMAKE_SYSTEM_PREFIX_PATH on Apple Silicon Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Fons Rademakers <fons.rademakers@cern.ch> Merge-request: !5602 | 14 December 2020, 12:10:04 UTC |
4cdf951 | Brad King | 14 December 2020, 12:08:27 UTC | Merge topic 'install-properties' into release-3.19 63db7ae9c4 cmake: Clear INSTALL file properties between runs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5603 | 14 December 2020, 12:08:49 UTC |
04ed1e7 | Brad King | 14 December 2020, 12:07:39 UTC | Merge topic 'execute_process-command-error' into release-3.19 e5a4ffaad1 execute_process: Improve COMMAND_ERROR_IS_FATAL error capture scenarios Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5588 | 14 December 2020, 12:07:46 UTC |
1a5c1a6 | Brad King | 11 December 2020, 15:53:00 UTC | macOS: Add /opt/homebrew to CMAKE_SYSTEM_PREFIX_PATH on Apple Silicon According to https://brew.sh/2020/12/01/homebrew-2.6.0/ the `/opt/homebrew` directory is recommended for installing ARM architecture brew packages. Fixes: #21585 | 11 December 2020, 18:07:17 UTC |
23df57a | Brad King | 11 December 2020, 18:05:12 UTC | Merge topic 'apple-silicon-host-arch' into release-3.19 b7f0327dcd Tests: Cover macOS host architecture selection on Apple Silicon hosts 5f882f6ce5 macOS: Offer control over host architecture on Apple Silicon hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5589 | 11 December 2020, 18:05:34 UTC |
0a5a883 | Brad King | 11 December 2020, 18:04:31 UTC | Merge topic 'doc-3_19_release-fixes' into release-3.19 ff4d1d44f2 Help: Clarify scope details of deferred call ids for cmake_language() b4c02a0a1d Help: Re-sort indexes in the manuals 2c33949c64 Help: Mention how OPTIMIZE_DEPENDENCIES is initialized 0816482302 Help: xref variable that cmake_minimum_required() sets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5598 | 11 December 2020, 18:04:36 UTC |
63db7ae | Brad King | 11 December 2020, 17:27:42 UTC | cmake: Clear INSTALL file properties between runs Do not keep state across separate project configurations. This is particularly important in `cmake-gui` where those configurations can be for separate projects. Fixes: #21580 | 11 December 2020, 17:30:27 UTC |
d29d034 | Robert Maynard | 11 December 2020, 15:49:01 UTC | FindGLUT: Handle Mojave and Big Sur 'tbd' framework files | 11 December 2020, 16:01:30 UTC |
ff4d1d4 | Craig Scott | 11 December 2020, 07:25:42 UTC | Help: Clarify scope details of deferred call ids for cmake_language() Fixes: #21586 | 11 December 2020, 07:25:42 UTC |
b4c02a0 | Craig Scott | 11 December 2020, 00:17:08 UTC | Help: Re-sort indexes in the manuals | 11 December 2020, 00:19:04 UTC |
2c33949 | Craig Scott | 29 November 2020, 07:51:08 UTC | Help: Mention how OPTIMIZE_DEPENDENCIES is initialized | 11 December 2020, 00:19:04 UTC |
0816482 | Craig Scott | 11 December 2020, 00:11:29 UTC | Help: xref variable that cmake_minimum_required() sets The CMAKE_MINIMUM_REQUIRED_VERSION has long been set by the cmake_minimum_required() command, but the command docs never mentioned this. Only the variable's own docs stated this but the variable isn't very discoverable without it being mentioned in the command's docs as well. | 11 December 2020, 00:19:04 UTC |
b7f0327 | Brad King | 09 December 2020, 15:28:03 UTC | Tests: Cover macOS host architecture selection on Apple Silicon hosts Add test cases verifying that `CMAKE_APPLE_SILICON_PROCESSOR` set as either a cache or environment variable causes that to be selected as the host architecture. Also verify that sources compile using whatever is selected as the host architecture, even when the explicit setting is not used. Issue: #21554 | 10 December 2020, 17:08:15 UTC |
5f882f6 | Brad King | 08 December 2020, 20:20:01 UTC | macOS: Offer control over host architecture on Apple Silicon hosts Since commit b6c60f14b6 (macOS: Default to arm64 architecture on Apple Silicon hosts, 2020-09-28, v3.19.0-rc1~63^2) we use `sysctl` to detect that we are running on Apple Silicon in a way that pierces Rosetta. This always sets `CMAKE_HOST_SYSTEM_PROCESSOR` to be `arm64` on such hosts. However, macOS offers strong support for running processes under an emulated `x86_64` architecture. Teach CMake to select either `arm64` or `x86_64` as the host architecture on Apple Silicon based on the architecture of its own process. When CMake is built as a universal binary, macOS will select whichever slice (architecture) is appropriate under the user's shell, and `CMAKE_HOST_SYSTEM_PROCESSOR` will match. Also offer a `CMAKE_APPLE_SILICON_PROCESSOR` variable and environment variable to provide users with explicit control over the host architecture selection regardless of CMake's own architecture. Finally, if `CMAKE_OSX_ARCHITECTURES` is not set, pass explicit flags to the toolchain to use selected host architecture instead of letting the toolchain pick. Fixes: #21554 | 10 December 2020, 17:08:13 UTC |
0334a3c | Brad King | 10 December 2020, 17:05:11 UTC | Merge topic 'rel-macos-apple-silicon' into release-3.19 56a075eb5d ci: update macOS package to produce universal binaries b184cc256b ci: do not use sccache for macOS packaging 41bddf1028 ci: update to pre-built Qt 5.9.9 universal binaries for macOS packages b201dc0d42 Utilities/Release: Add script to build Qt 5.9.9 macOS universal binaries Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5595 | 10 December 2020, 17:05:16 UTC |
56a075e | Brad King | 10 December 2020, 15:17:27 UTC | ci: update macOS package to produce universal binaries Update our deployment target to macOS 10.10. This is required by Qt 5.9. Fixes: #21565 Issue: #20825 | 10 December 2020, 15:55:17 UTC |
b184cc2 | Brad King | 10 December 2020, 15:30:30 UTC | ci: do not use sccache for macOS packaging It is not compatible with building for multiple architectures. | 10 December 2020, 15:53:59 UTC |
41bddf1 | Brad King | 10 December 2020, 15:08:15 UTC | ci: update to pre-built Qt 5.9.9 universal binaries for macOS packages | 10 December 2020, 15:09:29 UTC |
b201dc0 | Brad King | 10 December 2020, 14:50:47 UTC | Utilities/Release: Add script to build Qt 5.9.9 macOS universal binaries These may be used to build a CMake universal binary for macOS that supports both architectures on Apple Silicon and is compatible with OS X 10.10. | 10 December 2020, 15:03:52 UTC |
020e1e2 | Brad King | 10 December 2020, 11:57:49 UTC | Merge topic 'test-macos-version' into release-3.19 55193c8013 ci: Hard-code XCTest deployment target to 10.15 40877903ac Tests: Remove outdated exclusion of tests on OS X 10.3 c404d7f221 Tests: Add cache entry to control XCTest deployment target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5593 | 10 December 2020, 11:57:53 UTC |
9f66eb7 | Brad King | 10 December 2020, 11:56:54 UTC | Merge topic 'ispc-system-includes' into release-3.19 8da25e4a3c ISPC: Treat system includes as '-I' includes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5591 | 10 December 2020, 11:57:04 UTC |
e5a4ffa | Asit Dhal | 08 December 2020, 08:51:00 UTC | execute_process: Improve COMMAND_ERROR_IS_FATAL error capture scenarios 1. COMMAND_ERROR_IS_FATAL ANY will capture errors if the exit code is non zero, there is a timeout or an abnormal exit. 2. COMMAND_ERROR_IS_FATAL LAST will capture if only the last process has an exit code non zero, there is a timeout or an abnormal exit. Fixes: #21562 | 10 December 2020, 11:09:59 UTC |
55193c8 | Brad King | 09 December 2020, 18:07:00 UTC | ci: Hard-code XCTest deployment target to 10.15 Avoid using the macOS version running on the CI job host that happens to run the build job. | 09 December 2020, 18:28:52 UTC |
4087790 | Brad King | 09 December 2020, 18:07:44 UTC | Tests: Remove outdated exclusion of tests on OS X 10.3 | 09 December 2020, 18:10:44 UTC |
c404d7f | Brad King | 09 December 2020, 18:06:25 UTC | Tests: Add cache entry to control XCTest deployment target | 09 December 2020, 18:10:17 UTC |
8da25e4 | Robert Maynard | 09 December 2020, 15:55:30 UTC | ISPC: Treat system includes as '-I' includes ISPC doesn't have specific syntax for system includes. | 09 December 2020, 16:33:44 UTC |
8a3ecb4 | Brad King | 08 December 2020, 15:19:54 UTC | Merge topic 'update_cmp112' into release-3.19 cf0c71dae3 Document CMP0112 covers $<TARGET_FILE_NAME,tgt> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5582 | 08 December 2020, 15:20:11 UTC |
61cd587 | Brad King | 08 December 2020, 15:17:54 UTC | Merge topic 'FindPython-python2-soabi-suffix-fix' into release-3.19 afb0ffcac7 FindPython2: avoid doubling the extension in CPython2 SOABI Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5574 | 08 December 2020, 15:18:28 UTC |
d00d5ac | Brad King | 08 December 2020, 15:16:43 UTC | Merge topic 'correct_ispc_path_computation' into release-3.19 9af93fef11 ISPC: Handle OBJECT sources in different directories 72ae15ebcb ISPC: Ninja properly compute ISPC_HEADER_DIRECTORY location Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5581 | 08 December 2020, 15:17:33 UTC |
6aa3c32 | Brad King | 08 December 2020, 15:16:11 UTC | Merge topic 'remove-partial-intel-compiler-support' into release-3.19 41b69348a5 Revert "Intel: Add Intel DPC++ compiler identification" f0babb53b3 Revert "Intel: Add Intel Clang compiler identification" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Merge-request: !5583 | 08 December 2020, 15:16:20 UTC |
41b6934 | Brad King | 04 December 2020, 13:40:57 UTC | Revert "Intel: Add Intel DPC++ compiler identification" Revert commit 887f3a88a6 (Intel: Add Intel DPC++ compiler identification, 2020-09-21, v3.19.0-rc1~124^2). The compiler has already been released, and is more usable with CMake by pretending to be upstream Clang than by identifying it as a compiler for which we have not implemented support. Fixes: #21551 | 07 December 2020, 15:46:27 UTC |
f0babb5 | Brad King | 04 December 2020, 13:40:48 UTC | Revert "Intel: Add Intel Clang compiler identification" Revert commit 5c3a93ab88 (Intel: Add Intel Clang compiler identification, 2020-09-29, v3.19.0-rc1~68^2). The compiler has already been released, and is more usable with CMake by pretending to be upstream Clang than by identifying it as a compiler for which we have not implemented support. Issue: #21551 | 07 December 2020, 15:46:22 UTC |
41ec2a4 | Brad King | 07 December 2020, 15:38:23 UTC | Merge branch 'FindPython-python2-soabi-suffix-fix' into release-3.18 Merge-request: !5574 | 07 December 2020, 15:38:23 UTC |
70c9a3e | Brad King | 07 December 2020, 15:28:11 UTC | Merge topic 'asm_arch' into release-3.19 fcabf4a47e macOS: Add architecture flags only for native ASM dialect Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5572 | 07 December 2020, 15:28:18 UTC |
cf0c71d | Robert Maynard | 07 December 2020, 14:50:39 UTC | Document CMP0112 covers $<TARGET_FILE_NAME,tgt> Fixes #21559 | 07 December 2020, 14:50:39 UTC |
9af93fe | Robert Maynard | 07 December 2020, 14:14:54 UTC | ISPC: Handle OBJECT sources in different directories | 07 December 2020, 14:14:54 UTC |
72ae15e | Robert Maynard | 07 December 2020, 14:14:13 UTC | ISPC: Ninja properly compute ISPC_HEADER_DIRECTORY location | 07 December 2020, 14:14:13 UTC |
afb0ffc | Ben Boeckel | 04 December 2020, 18:58:34 UTC | FindPython2: avoid doubling the extension in CPython2 SOABI Commit 951640f1f9 (FindPython: manage SOABI for all Python versions, 2020-08-11) extended support for Python2's SOABI variable in order to support the PyPy interpreter as well. This caused a regression in the way that the SOABI variable was built up for the CPython interpreter. This caused the variable to be set to `.so` which ended up causing a doubling of the resulting `SOABI` variable in the end. Co-Author: Marc Chevrier <marc.chevrier@gmail.com> Fixes: #21548 | 04 December 2020, 19:01:27 UTC |
fcabf4a | Raul Tambre | 04 December 2020, 15:17:02 UTC | macOS: Add architecture flags only for native ASM dialect ASM dialects like NASM have languages names such as ASM_NASM. However such ASM dialects don't support the architecture flags, so match only the full name. Fixes #21553. | 04 December 2020, 15:29:14 UTC |
1525385 | Brad King | 04 December 2020, 13:25:37 UTC | Merge topic 'compiler-id-extra-text' into release-3.19 f25ac39dee CMakeDetermineCompilerId: Tolerate stray text around INFO strings 5cb66f17ca CMakeDetermineCompilerId: Add whitespace to clarify logic 1ee99104f7 CMakeDetermineCompilerId: Filter IAR-AVR format INFO strings earlier Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5570 | 04 December 2020, 13:27:02 UTC |
22b4bea | Brad King | 04 December 2020, 13:25:34 UTC | Merge topic 'test-vs-windows-hosts' into release-3.19 dca8800cb5 Tests: Look for Visual Studio only on Windows hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5569 | 04 December 2020, 13:25:42 UTC |
f25ac39 | Brad King | 03 December 2020, 19:35:15 UTC | CMakeDetermineCompilerId: Tolerate stray text around INFO strings When cross-compiling with Xcode our compiler id test binary may be compiled with multiple architectures. The INFO strings should be identical and therefore de-duplicated. However, this can be broken by stray text that happens to sit immediately before or after an INFO string. Filter out such text so we can match clean INFO strings. Fixes: #21526 | 03 December 2020, 19:37:21 UTC |
5cb66f1 | Brad King | 03 December 2020, 19:36:19 UTC | CMakeDetermineCompilerId: Add whitespace to clarify logic Also initialize a variable closer to its use. | 03 December 2020, 19:37:08 UTC |
1ee9910 | Brad King | 03 December 2020, 19:33:11 UTC | CMakeDetermineCompilerId: Filter IAR-AVR format INFO strings earlier Remove the bytes between characters from the entire list at once. | 03 December 2020, 19:34:04 UTC |
dca8800 | Brad King | 03 December 2020, 15:21:56 UTC | Tests: Look for Visual Studio only on Windows hosts Update logic added by commit 6051a49c78 (Visual Studio: Add Android support, 2020-06-12, v3.19.0-rc1~619^2) to only look for VS installations using `cmake_host_system_information` on Windows hosts. Otherwise the `VS_*_DIR` keys are not available. Fixes: #21547 | 03 December 2020, 15:21:56 UTC |
6cf8873 | Brad King | 03 December 2020, 13:36:56 UTC | Merge topic 'llvm-rc-preprocess-as-c' into release-3.19 f7ff0d34f0 llvm-rc: Force C language for the clang gnu frontend Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5564 | 03 December 2020, 13:37:21 UTC |
79077df | Brad King | 02 December 2020, 14:21:53 UTC | Merge topic 'FindHDF5-hdf5hl_fortran-variable' into release-3.19 175beadd4c FindHDF5: support the hdf5hl_fortran-based variable names adf108441e FindHDF5: improve error messages when a location variable isn't known Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5563 | 02 December 2020, 14:22:52 UTC |
859ecbe | Brad King | 02 December 2020, 14:18:03 UTC | Merge topic 'ti-c-only-standard' into release-3.19 8eeddb1f0a Compiler/TI: Fix C standard flags in C-only project Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5558 | 02 December 2020, 14:21:30 UTC |
c14d1f1 | Brad King | 02 December 2020, 14:17:54 UTC | Merge topic 'cray-compiler-detection' into release-3.19 9ee4a42813 Cray: Fix Cray compiler detection on new platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5561 | 02 December 2020, 14:20:07 UTC |
dd1f26e | Brad King | 02 December 2020, 14:17:40 UTC | Merge topic 'export-namelink' into release-3.19 38bcb5c0a3 export: Do not fail generation for separate namelink only case Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5556 | 02 December 2020, 14:17:50 UTC |
f7ff0d3 | Thomas Bernard | 29 November 2020, 10:46:00 UTC | llvm-rc: Force C language for the clang gnu frontend When preprocessing the rc file using the clang gnu front end we need to force the source file type to a c file for the preprocessing to take place. Fixes: #21472 | 02 December 2020, 13:19:44 UTC |
175bead | Ben Boeckel | 01 December 2020, 20:31:47 UTC | FindHDF5: support the hdf5hl_fortran-based variable names Fixes: #21537 | 01 December 2020, 20:31:47 UTC |
adf1084 | Ben Boeckel | 01 December 2020, 20:31:21 UTC | FindHDF5: improve error messages when a location variable isn't known | 01 December 2020, 20:31:21 UTC |
9ee4a42 | Justin LaPolla | 01 December 2020, 16:42:06 UTC | Cray: Fix Cray compiler detection on new platforms Customer reported problems detecting the Cray compiler on their Apollo80 system. We were checking for the __CRAYXC and __CRAYXE predefined macros. These macros reflect the platform that the compiler is running on, i.e. Cray XC and Cray XE machines. Naturally, this didn't work on Apollo80. This commit uses the official Cray compiler identification macros which are defined on every platform: CCE Version C Macro C++ Macro Fortran Macro ============ ======== ========= ============= version < 9 _CRAYC _CRAYC _CRAYFTN version >= 9 __cray__ __cray__ _CRAYFTN | 01 December 2020, 17:20:47 UTC |
8eeddb1 | Adam Weisi | 01 December 2020, 14:56:21 UTC | Compiler/TI: Fix C standard flags in C-only project Use our compiler architecture variable for C rather than CXX. | 01 December 2020, 17:14:38 UTC |
f264f1d | Brad King | 01 December 2020, 14:26:36 UTC | Merge topic 'windows-clang-LINKER-prefix' into release-3.19 9ac9876757 Clang on Windows: 'LINKER:' prefix must be honored Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5551 | 01 December 2020, 14:32:07 UTC |
b76013b | Brad King | 01 December 2020, 14:26:39 UTC | Merge topic 'ninja-regen-metadata' into release-3.19 73d1c78bf4 ci: update to use ninja 1.10.2 11f4259362 Ninja: Clean metadata after regen during build on Windows with 1.10.2+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5555 | 01 December 2020, 14:29:11 UTC |
9b0c727 | Brad King | 01 December 2020, 14:26:38 UTC | Merge topic 'pch-ios-multi-arch-nmc' into release-3.19 35432aabda PCH: Fix compiler errors on iOS multi-arch using Ninja Multi-Config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5544 | 01 December 2020, 14:26:57 UTC |
38bcb5c | Deniz Bahadir | 30 November 2020, 23:25:39 UTC | export: Do not fail generation for separate namelink only case Update the change from commit 64690f6df0 (export: Do not fail generation for namelink-only case, 2020-10-09, v3.19.0-rc1~7^2) to also handle separate namelink-only and namelink-skip calls. Fixes: #21529 | 01 December 2020, 12:35:17 UTC |
73d1c78 | Brad King | 30 November 2020, 20:02:10 UTC | ci: update to use ninja 1.10.2 | 30 November 2020, 20:02:10 UTC |
11f4259 | Brad King | 30 November 2020, 19:54:45 UTC | Ninja: Clean metadata after regen during build on Windows with 1.10.2+ Ninja 1.10.2 fixes support for `generator = 1` rules that run metadata update commands during regeneration while a build is running. Update the condition added by commit ccaa0bccc4 (Ninja: Do not clean metadata when re-generating inside a running build, 2020-01-27, v3.17.0-rc1~73^2) to remove our workaround when Ninja is new enough. Fixes: #20274 | 30 November 2020, 19:57:48 UTC |
35432aa | Cristian Adam | 27 November 2020, 17:39:02 UTC | PCH: Fix compiler errors on iOS multi-arch using Ninja Multi-Config Fixes: #21401 | 30 November 2020, 18:31:51 UTC |
5ef2364 | Brad King | 30 November 2020, 17:34:30 UTC | Merge topic 'correct_check_compiler_flag_regression' into release-3.19 72f6b4bfbe Modules: Rename Internal/CMake{CheckCompiler => TryCompilerOrLinker}Flag Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kumar Gala <kumar.gala@gmail.com> Merge-request: !5540 | 30 November 2020, 17:37:14 UTC |
36c304d | Brad King | 30 November 2020, 17:34:33 UTC | Merge topic 'enable-extensions-on-qnx' into release-3.19 34f6d76755 QNX: Do not disable compiler extensions for CMake itself Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5537 | 30 November 2020, 17:36:12 UTC |
2e1eaf1 | Brad King | 30 November 2020, 17:34:24 UTC | Merge topic 'check-lang-conditions' into release-3.19 f3d4254b3d Check*: Tolerate variables set with names of languages 01d91ae5f2 Tests: Fix RunCMake.Check* conditions for enabling Fortran Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !5536 | 30 November 2020, 17:34:31 UTC |
9ac9876 | Marc Chevrier | 30 November 2020, 14:31:45 UTC | Clang on Windows: 'LINKER:' prefix must be honored Fixes: #21094 | 30 November 2020, 14:31:45 UTC |
419ef63 | Craig Scott | 29 November 2020, 21:01:48 UTC | Merge topic 'presets-docs-bug' into release-3.19 ca289abea5 Help: Fix presets typo (longDescription to displayName) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5541 | 29 November 2020, 21:01:59 UTC |
72ede02 | Marc Chevrier | 28 November 2020, 14:02:43 UTC | Merge topic 'FPHSA-usable-outside-find_package' into release-3.19 14ecf9c2f6 FPHSA: ensure it can be used outside 'find_package' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5539 | 28 November 2020, 14:02:54 UTC |
ca289ab | Sam Freed | 25 November 2020, 17:58:31 UTC | Help: Fix presets typo (longDescription to displayName) | 28 November 2020, 05:32:31 UTC |
72f6b4b | Robert Maynard | 25 November 2020, 15:45:12 UTC | Modules: Rename Internal/CMake{CheckCompiler => TryCompilerOrLinker}Flag Rename the `CheckPIESupported` helper functions so that they don't clobber other internal functions. Also rename them to document they can't be unified with `CheckCompilerFlag`. Fixes: #21497 | 25 November 2020, 16:06:15 UTC |
14ecf9c | Marc Chevrier | 25 November 2020, 15:36:12 UTC | FPHSA: ensure it can be used outside 'find_package' Fixes: #21505 | 25 November 2020, 15:36:12 UTC |
34f6d76 | Stephen Kelly | 25 November 2020, 14:49:41 UTC | QNX: Do not disable compiler extensions for CMake itself The `set(CMAKE_CXX_EXTENSIONS FALSE)` option has the effect of passing compile option `-std=c++NN` instead of `-std=gnu++NN`. On some platforms, the latter form (or the secondary effects that it has, such as setting _XOPEN_SOURCE) is required. This typically affects platforms such as mingw, cygwin and QNX. The GNU-like compiers default to `-std=gnu++NN`, which means that users can typically build source code on those platforms by default. While the `set(CMAKE_CXX_EXTENSIONS FALSE)` option was set here in commit f034b0f6 (CMake compilation: do not use compiler extensions, 2020-03-14), the other changes in that commit added `#defines` which become required in the absense of use of `-std=gnu++NN`. However, only platforms regularly tested in the cmake dashboard were ported, as is reasonable. That made CMake fail to compile on QNX and perhaps other platforms which for which no one is submitting regular testing to the cmake dashboard. Make the `set(CMAKE_CXX_EXTENSIONS FALSE)` option conditional on non-QNX to restore the QNX build. Issue: #21503 | 25 November 2020, 15:17:29 UTC |
f3d4254 | Brad King | 25 November 2020, 12:52:53 UTC | Check*: Tolerate variables set with names of languages Fix the language checks added by commit 90dead024c (CheckCompilerFlag: unified way to check compiler flags per language, 2020-09-25, v3.19.0-rc1~88^2), commit 10ae907de0 (CheckSoureCompiles: Add a unified way to check if a source compiles, 2020-09-14, v3.19.0-rc1~118^2~1), and commit 357e2ef429 (CheckSoureRuns: Add a unified way to check if a source runs, 2020-09-14, v3.19.0-rc1~118^2) to work when variables of the language names are set. Fixes: #21500 | 25 November 2020, 14:11:21 UTC |
01d91ae | Brad King | 25 November 2020, 13:12:25 UTC | Tests: Fix RunCMake.Check* conditions for enabling Fortran | 25 November 2020, 13:49:38 UTC |
9e83e77 | Brad King | 25 November 2020, 13:38:05 UTC | Merge topic 'ci-xcode-12.2' into release-3.19 5213328008 gitlab-ci: update macOS jobs to use Xcode 12.2 928ca50b6f Tests: Teach RunCMake to ignore Xcode install_name_tool signature warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5534 | 25 November 2020, 13:38:56 UTC |
90648f2 | Brad King | 25 November 2020, 13:38:01 UTC | Merge topic 'test-java-default' into release-3.19 1af2d1d0ea Tests: Add CMake_TEST_Java option to control Java tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5532 | 25 November 2020, 13:38:06 UTC |
035a0c4 | Brad King | 25 November 2020, 13:35:13 UTC | Merge branch 'cuda_detect_vs_codegen' into release-3.18 Merge-request: !5531 | 25 November 2020, 13:35:13 UTC |
37add87 | Brad King | 25 November 2020, 13:34:59 UTC | Merge topic 'cuda_detect_vs_codegen' into release-3.19 20807a1882 CUDA: Fix user-set architectures during detection with Visual Studio Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5531 | 25 November 2020, 13:35:08 UTC |
20807a1 | Raul Tambre | 24 November 2020, 16:50:32 UTC | CUDA: Fix user-set architectures during detection with Visual Studio If the user specifies CMAKE_CUDA_ARCHITECTURES we use those during detection and error out if they don't work. For Visual Studio a dummy project file is used instead of invoking the compiler directly. NVCC would thus use its default and we'd fail if CMAKE_CUDA_ARCHITECTURES was anything other than NVCC's default. Use the necessary project file variable in CMakeDetermineCompilerId.cmake to match other generators. Fixes #21492. | 25 November 2020, 13:27:40 UTC |
5213328 | Brad King | 24 November 2020, 18:18:05 UTC | gitlab-ci: update macOS jobs to use Xcode 12.2 | 24 November 2020, 19:36:20 UTC |
928ca50 | Brad King | 24 November 2020, 19:27:43 UTC | Tests: Teach RunCMake to ignore Xcode install_name_tool signature warnings The `install_name_tool` may warn: install_name_tool: warning: changes being made to the file will invalidate the code signature in: ... Teach RunCMake to drop such incidental lines before matching against expected output. | 24 November 2020, 19:33:59 UTC |
1af2d1d | Brad King | 24 November 2020, 17:19:38 UTC | Tests: Add CMake_TEST_Java option to control Java tests | 24 November 2020, 18:29:30 UTC |
64fb825 | Brad King | 24 November 2020, 13:50:26 UTC | CMake 3.19.1 | 24 November 2020, 13:50:26 UTC |
1f1d705 | Brad King | 24 November 2020, 13:43:10 UTC | Merge topic 'policy-cmp0111-iface' into release-3.19 54ef732b0c cmVisualStudio10TargetGenerator: Avoid GetFullPath on INTERFACE library f06f4b517c cmTarget: Do not enforce CMP0111 on imported INTERFACE libraries 43c95df8fb Tests: Match RunCMake.CMP0111 stderr more strictly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5530 | 24 November 2020, 13:43:22 UTC |
aeb0e40 | Brad King | 24 November 2020, 13:40:10 UTC | Merge topic 'fix-find-make-program' into release-3.19 ef91fb02f3 cmGlobalGenerator: FindMakeProgram() at a generator-specific time Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Frank Dana <ferdnyc@gmail.com> Merge-request: !5529 | 24 November 2020, 13:42:32 UTC |
6b4bb3b | Brad King | 24 November 2020, 13:40:04 UTC | Merge topic 'xcode-cc-work-dir' into release-3.19 36921d2d23 Xcode: Fix custom command work-dir placeholders in "new build system" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5527 | 24 November 2020, 13:41:23 UTC |
2ca9016 | Brad King | 24 November 2020, 13:39:59 UTC | Merge topic 'cmFileTime-fix-overflow' into release-3.19 b4c994f69c cmFileTime: Fix overflow on time computation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5526 | 24 November 2020, 13:40:08 UTC |
54ef732 | Brad King | 23 November 2020, 20:25:57 UTC | cmVisualStudio10TargetGenerator: Avoid GetFullPath on INTERFACE library Issue: #21470 | 23 November 2020, 20:57:05 UTC |
f06f4b5 | Brad King | 23 November 2020, 20:00:27 UTC | cmTarget: Do not enforce CMP0111 on imported INTERFACE libraries Fix logic added by commit 359c500a24 (cmTarget: Raise error if imported target location is not set, 2020-08-08, v3.19.0-rc1~273^2) to exclude INTERFACE libraries from the policy. They have no location. Fixes: #21470 | 23 November 2020, 20:56:28 UTC |
43c95df | Brad King | 23 November 2020, 20:50:58 UTC | Tests: Match RunCMake.CMP0111 stderr more strictly | 23 November 2020, 20:50:58 UTC |
ef91fb0 | Kyle Edwards | 23 November 2020, 19:20:08 UTC | cmGlobalGenerator: FindMakeProgram() at a generator-specific time d5b5c192 moved FindMakeProgram() to an earlier time, which resulted in CMAKE_MAKE_PROGRAM not being read from the toolchain file. Change it to only call FindMakeProgram() early in the specific cases of Visual Studio and Xcode, and restore the old behavior for all other generators. Fixes: #21486 | 23 November 2020, 19:20:08 UTC |
d1b6879 | Brad King | 23 November 2020, 16:24:17 UTC | Merge topic 'ctest_custom_versions' into release-3.19 6e7625989c Help: Fix `.. versionadded` directives for CTEST_CUSTOM_* variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5524 | 23 November 2020, 16:24:22 UTC |
92d21ea | Brad King | 23 November 2020, 16:19:57 UTC | Merge topic 'cuda_11' into release-3.19 046e454fdd CUDA: Error if can't determine toolkit library root 440dc98b07 CUDA: Clang CUDA 11.1 support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5525 | 23 November 2020, 16:23:02 UTC |