summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'p1689r4-updates'Brad King2021-06-281-8/+2
|\ | | | | | | | | | | | | cf22263531 Help/dev/experimental: Link to published P1689R4 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6278
| * Help/dev/experimental: Link to published P1689R4Brad King2021-06-281-8/+2
| |
* | Merge topic 'target_compile_features-only-apply-to-enabled-languages'Brad King2021-06-288-60/+11
|\ \ | | | | | | | | | | | | | | | | | | a3cafa4237 compile_features: Ignore features that map to languages that aren't enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6255
| * | compile_features: Ignore features that map to languages that aren't enabledRobert Maynard2021-06-258-60/+11
| | | | | | | | | | | | | | | Remove the Cuda/ConsumeCompileFeatures test as it only existed to validate that using `cxx_std_XY` would cause the paired language (CUDA) to also build in mode XY.
* | | Merge topic 'Fortran-abi-f90'Brad King2021-06-282-1/+56
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 97e2828d14 Fortran: Subsume F90 check into ABI check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6250
| * | | Fortran: Subsume F90 check into ABI checkMichael Hirsch2021-06-252-1/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow the approach from commit 1d21dd0f7c (enable_language: Assume compiler works if ABI detection compiles, 2020-05-25, v3.18.0-rc1~93^2) to avoid a redundant check for F90 support. Almost all maintained Fortran compilers support F90 these days. Fixes: #22222
* | | | Merge branch 'release-3.21'Brad King2021-06-280-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge topic 'vs2022' into release-3.21Brad King2021-06-2824-28/+252
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93c718791e VS: Use 64-bit MSBuild in VS 2022 c46b265839 VS: Add Visual Studio 17 2022 generator b610b7a35c VS: Update v142 CL flag table for VS 17.0 Preview 1 43375c6418 Help: Remove unnecessary Sphinx versionadded markup in VS toolset selection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6268
* | \ \ \ Merge topic 'vs2022'Brad King2021-06-2824-28/+252
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93c718791e VS: Use 64-bit MSBuild in VS 2022 c46b265839 VS: Add Visual Studio 17 2022 generator b610b7a35c VS: Update v142 CL flag table for VS 17.0 Preview 1 43375c6418 Help: Remove unnecessary Sphinx versionadded markup in VS toolset selection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6268
| * | | | VS: Use 64-bit MSBuild in VS 2022Brad King2021-06-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio 17 2022 is now a 64-bit native application. It places the 64-bit `MSBuild.exe` in the `PATH` of VS command prompts, so prefer it for this version and above. This was previously attempted for older VS versions, but reverted by commit f3cedf381e (VS: Revert "Use MSBuild matching toolset host architecture", 2019-03-12, v3.14.0~1^2). For now, do not use the 64-bit MSBuild for VS 16 and below. Fixes: #18219
| * | | | VS: Add Visual Studio 17 2022 generatorBrad King2021-06-2518-14/+218
| | | | | | | | | | | | | | | | | | | | Fixes: #22339
| * | | | VS: Update v142 CL flag table for VS 17.0 Preview 1Brad King2021-06-251-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run the command python3 Source/cmConvertMSBuildXMLToJSON.py -t v142 \ 'c:/.../MSBuild/Microsoft/VC/v160/1033/cl.xml' To generate `v142_CL.json` locally. Manually move new and updated settings over to `Templates/MSBuild/FlagTables/v142_CL.json`.
| * | | | Help: Remove unnecessary Sphinx versionadded markup in VS toolset selectionBrad King2021-06-255-14/+21
| | | | | | | | | | | | | | | | | | | | | | | | | In a document that says "New in version 3.14", we do not need any blocks that say "New in version 3.8".
* | | | | Merge branch 'release-3.21'Brad King2021-06-280-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'test-RunCMake.GenEx-names' into release-3.21Brad King2021-06-28221-176/+176
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a95cbf3890 Tests: Shorten RunCMake.GenEx-* case names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6269
* | \ \ \ \ Merge topic 'test-RunCMake.GenEx-names'Brad King2021-06-28221-176/+176
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | a95cbf3890 Tests: Shorten RunCMake.GenEx-* case names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6269
| * | | | | Tests: Shorten RunCMake.GenEx-* case namesBrad King2021-06-25221-176/+176
| | |/ / / | |/| | | | | | | | | | | | | Reduce the length of the longest path on disk needed by the tests.
* | | | | Merge branch 'release-3.21'Brad King2021-06-280-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'ninja-lwyu-flag-order' into release-3.21Brad King2021-06-281-6/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d7159f9591 Ninja: Fix LINK_WHAT_YOU_USE link flag placement Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6263
* | \ \ \ \ Merge topic 'ninja-lwyu-flag-order'Brad King2021-06-281-6/+3
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | d7159f9591 Ninja: Fix LINK_WHAT_YOU_USE link flag placement Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6263
| * | | | | Ninja: Fix LINK_WHAT_YOU_USE link flag placementĐoàn Trần Công Danh2021-06-251-6/+3
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Move `-Wl,--no-as-needed` from the `<FLAGS>` placeholder to `<LINK_FLAGS>`, as it is in the Makefile generators. Fixes: #22342
* | | | | Merge branch 'release-3.21'Brad King2021-06-280-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'yasm-no-deps' into release-3.21Brad King2021-06-281-7/+9
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | f03d54bfc1 ASM_NASM: Do not generate depfiles with YASM Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6265
* | | | | Merge topic 'yasm-no-deps'Brad King2021-06-281-7/+9
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | f03d54bfc1 ASM_NASM: Do not generate depfiles with YASM Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6265
| * | | | ASM_NASM: Do not generate depfiles with YASMGregor Jasny2021-06-251-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 3aec26660a (Merge topic 'nasm_add_deps', 2021-03-03) the ASM_NASM language enabled the generation of GCC compatible depfiles for NASM. Unfortunatly, those are not supported by YASM. Fixes: #22341
* | | | | CMake Nightly Date StampKitware Robot2021-06-281-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2021-06-271-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2021-06-261-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'import-elf'Brad King2021-06-2515-160/+2092
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 115ff6a347 cmELF: Include the ELF parsing code unconditionally 5dfa3ddbe5 cmELF: Allow building without system ELF headers 0da1540aaa cmELF: Fix check for TagMipsRldMapRel e21188df8b cmELF: Open file explicitly in binary mode 70cdb36d25 Merge branch 'upstream-elf' into import-elf 7a0a37ca41 elf 2021-06-23 (f13da247) 18038042ed cmelf: Add script to import the FreeBSD ELF headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6240
| * | | | cmELF: Include the ELF parsing code unconditionallyAlex Richardson2021-06-249-73/+16
| | | | | | | | | | | | | | | | | | | | | | | | | Now that the ELF definitions are provided on all platforms there is no need to keep the CMake_USE_ELF_PARSER option.
| * | | | cmELF: Allow building without system ELF headersAlex Richardson2021-06-244-93/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use ELF headers vendored in `Utilities/cmelf` to get the ELF constants and types. Using the same ELF definition header for all compilation targets allows removing some #ifdefs depending on the host OS since we know all required ELF constants will always be present. To reduce the size of this commit, the CMake_USE_ELF_PARSER definite will be removed in a separate commit. This allows me to use CMAKE_BUILD_WITH_INSTALL_RPATH=False and the Ninja generator on macOS, whereas before it would always give me the following error message (despite cross-compiling for an ELF-based platform): ``` The install of the <name> target requires changing an RPATH from the build tree, but this is not supported with the Ninja generator unless on an ELF-based platform. The CMAKE_BUILD_WITH_INSTALL_RPATH variable may be set to avoid this relinking step. ```
| * | | | cmELF: Fix check for TagMipsRldMapRelAlex Richardson2021-06-243-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DT_MIPS_RLD_MAP_REL is a machine-speicific dynamic tag, so other architectures could re-use the value of 0x70000035 to mean something else. Before using DT_MIPS_RLD_MAP_REL, we have to check that the ELF file is actually has a e_machine of EM_MIPS.
| * | | | cmELF: Open file explicitly in binary modeBrad King2021-06-241-1/+1
| | | | | | | | | | | | | | | | | | | | ELF is a binary format.
| * | | | Merge branch 'upstream-elf' into import-elfBrad King2021-06-234-0/+2027
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By FreeBSD Upstream * upstream-elf: elf 2021-06-23 (f13da247)
| | * | | | elf 2021-06-23 (f13da247)FreeBSD Upstream2021-06-234-0/+2027
| | / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/freebsd/freebsd-src.git at commit f13da24715a75ce0fdac31062866877d980aa908 (main).
| * | | | cmelf: Add script to import the FreeBSD ELF headersBrad King2021-06-231-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These headers will be used to provide the ELF parsing code on all host operating systems (including those that don't have an ELF header, e.g. macOS). This will also allow removing various OS-dependent #ifdefs from the cmELF code. Add a script that was used to automate this import. Co-authored-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
* | | | | Merge branch 'release-3.21'Brad King2021-06-250-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge topic 'Help-UseJava-reorganization' into release-3.21Brad King2021-06-251-351/+454
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | af9bd6c53f Help: UseJava reorganization Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6262
* | \ \ \ \ Merge topic 'Help-UseJava-reorganization'Brad King2021-06-251-351/+454
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | af9bd6c53f Help: UseJava reorganization Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6262
| * | | | | Help: UseJava reorganizationMarc Chevrier2021-06-241-351/+454
| | |_|/ / | |/| | | | | | | | | | | | | Fixes: #22155
* | | | | Merge branch 'release-3.21'Brad King2021-06-250-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'fujitsu-ipo' into release-3.21Brad King2021-06-251-0/+10
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 96e362fdc9 Fujitsu: Add IPO support for Fortran Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6261
* | \ \ \ \ Merge topic 'fujitsu-ipo'Brad King2021-06-251-0/+10
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 96e362fdc9 Fujitsu: Add IPO support for Fortran Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6261
| * | | | | Fujitsu: Add IPO support for FortranPaul Zehner2021-06-241-0/+10
| | |/ / / | |/| | |
* | | | | Merge branch 'release-3.21'Brad King2021-06-250-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge topic 'FindOpenMP-fujitsu' into release-3.21Brad King2021-06-251-0/+4
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | b3bf33539b FindOpenMP: Link with OpenMP flags on Fujitsu Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6260
* | | | | Merge topic 'FindOpenMP-fujitsu'Brad King2021-06-251-0/+4
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | b3bf33539b FindOpenMP: Link with OpenMP flags on Fujitsu Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6260
| * | | | FindOpenMP: Link with OpenMP flags on FujitsuEisuke Kawashima2021-06-241-0/+4
| |/ / / | | | | | | | | | | | | Fixes: #22332
* | | | CMake Nightly Date StampKitware Robot2021-06-251-1/+1
| | | |
* | | | Merge topic 'fortran-compiler-intrinsics'Brad King2021-06-2411-41/+110
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe3f846e1b Makefiles: Add support for building Fortran intrinsics Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5518