summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* CMakeDependentOption: Allow parentheses in the depends stringDaniel Schürmann2021-06-141-1/+4
| | | | | | | `if()` takes the condition as a list of arguments. Parentheses need to be separated as well. Fixes: #22303
* Merge topic 'objc-std-17-23'Brad King2021-06-144-1/+33
|\ | | | | | | | | | | | | | | e8dc95ae1e ObjectiveC: Add C17 and C23 support Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6219
| * ObjectiveC: Add C17 and C23 supportGregor Jasny2021-06-114-1/+33
| | | | | | | | Issue: #22297
* | Merge topic 'FindBLAS-LAPACK-docs'Brad King2021-06-142-151/+186
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5bf1651452 Find{BLAS,LAPACK}: Revise and extend Intel MKL usage documentation 8585a12bd9 Find{BLAS,LAPACK}: Move enabled language requirement to top of documentation 6a7c055f96 Find{BLAS,LAPACK}: Revise formatting of intro docs 43b581367d Find{BLAS,LAPACK}: Move implementation note from docs to comments 3beac78a13 Find{BLAS,LAPACK}: Revise imported targets documentation layout 6f305cd5fd Find{BLAS,LAPACK}: Factor out vendor documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6218
| * | Find{BLAS,LAPACK}: Revise and extend Intel MKL usage documentationBrad King2021-06-112-25/+71
| | | | | | | | | | | | Fixes: #22295
| * | Find{BLAS,LAPACK}: Move enabled language requirement to top of documentationBrad King2021-06-112-2/+4
| | |
| * | Find{BLAS,LAPACK}: Revise formatting of intro docsBrad King2021-06-112-2/+6
| | |
| * | Find{BLAS,LAPACK}: Move implementation note from docs to commentsBrad King2021-06-112-8/+6
| | |
| * | Find{BLAS,LAPACK}: Revise imported targets documentation layoutBrad King2021-06-112-7/+6
| | |
| * | Find{BLAS,LAPACK}: Factor out vendor documentationBrad King2021-06-112-114/+100
| | | | | | | | | | | | | | | Move the list of vendors to a dedicated section shared by both modules. Format it as a definition list.
* | | Find{BLAS,LAPACK}: Update for Intel oneAPI structure under MKLROOTPeter Knowles2021-06-112-2/+6
|/ / | | | | | | | | Add search paths for the Intel oneAPI MKL directory structure so that we do not rely on paths in `LD_LIBRARY_PATH`.
* | Merge topic 'FindBLAS-mkl-gnu'Brad King2021-06-111-16/+7
|\ \ | |/ |/| | | | | | | | | | | daa0a1f877 Find{BLAS,LAPACK}: Add tests covering Intel MKL with GNU compiler 624110b90d FindBLAS: Revert "Do not statically link against iomp5 ... Intel MKL" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6213
| * FindBLAS: Revert "Do not statically link against iomp5 ... Intel MKL"Brad King2021-06-101-16/+7
| | | | | | | | | | | | | | | | | | | | Since commit 20ab504591 (FindBLAS: Do not statically link against iomp5 in the case of Intel MKL, 2021-04-11), we no longer find MKL's BLAS when using the GNU compiler because FindOpenMP chooses libgomp instead of libiomp5, and mkl_intel_thread depends on the latter. Revert the change for now. A new approach will be needed to solve the original problem. Issue: #21811
* | Merge topic 'irsl-intel-oneapi-windows'Brad King2021-06-091-1/+3
|\ \ | | | | | | | | | | | | | | | | | | 6d4c51c29e IRSL: Add Intel oneAPI redist location on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6199
| * | IRSL: Add Intel oneAPI redist location on WindowsBrad King2021-06-081-1/+3
| | | | | | | | | | | | Fixes: #22283
| * | Merge topic 'FindBoost-json-header' into release-3.20Brad King2021-06-071-0/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | \ \ Merge topic 'add_hip_language'Brad King2021-06-0929-0/+889
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8514ee9b31 HIP: analyze output of `hipcc` to determine default GPU architecture 20d086f1a2 HIP: All HIP tests now run on CMake's current AMD hardware 2e86e50c2f HIP: Add HIP to all the Check* modules 947dbed0aa HIP: Automatically inject the `hip::device` runtime target b50bfc8913 HIP: Add language to CMake ff0d2858e1 HIP: Extract clang compiler details from hipcc bd844387df ROCMClang: Add the ROCm toolkit derived clang compiler to CMake 590553f322 Compilers: protect use of __has_include ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Merge-request: !6121
| * | | HIP: analyze output of `hipcc` to determine default GPU architectureZack Galbreath2021-06-071-1/+6
| | | |
| * | | HIP: Add HIP to all the Check* modulesRobert Maynard2021-06-074-0/+11
| | | |
| * | | HIP: Automatically inject the `hip::device` runtime targetRobert Maynard2021-06-076-3/+137
| | | | | | | | | | | | | | | | | | | | Any target that might need to link to hip code needs the `hip::device` target
| * | | HIP: Add language to CMakeRobert Maynard2021-06-0711-0/+602
| | | |
| * | | HIP: Extract clang compiler details from hipccRobert Maynard2021-06-071-0/+35
| | | |
| * | | ROCMClang: Add the ROCm toolkit derived clang compiler to CMakeRobert Maynard2021-06-0711-1/+91
| | | |
| * | | Compilers: protect use of __has_includeZack Galbreath2021-06-072-0/+12
| | | | | | | | | | | | | | | | If the compiler does not have __has_include, pretend the answer is always no
* | | | Merge topic 'openssl-static'Brad King2021-06-081-0/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 98fa09d5be FindOpenSSL: Link with ws2_32 and crypt32 on Windows/static Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6197
| * | | | FindOpenSSL: Link with ws2_32 and crypt32 on Windows/staticOrgad Shaneh2021-06-071-0/+4
| |/ / /
* | | | Merge topic 'cpack-deb-minor-fixes'Brad King2021-06-081-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ed1f3a5fa5 CPackDeb: output the error message when no description can be made ece24b343a Help/cpack_gen/freebsd: improve wording for Debian fallbacks Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !6196
| * | | | CPackDeb: output the error message when no description can be madeBen Boeckel2021-06-071-1/+1
| |/ / / | | | | | | | | | | | | The `message` command does not support automatic dereferencing.
* | | | Merge topic 'FindPkgConfigAlwaysAddTarget'Brad King2021-06-081-3/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6f14205e08 FindPkgConfig: Always create the imported target 07d6390728 Tests: Add case covering FindPkgConfig creation of empty targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6113
| * | | | FindPkgConfig: Always create the imported targetAdam Badura2021-06-041-3/+1
| |/ / / | | | | | | | | | | | | Fixes: #22180
* | | | Merge topic 'FindBoost-json-header'Brad King2021-06-071-0/+1
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | 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
| * | FindBoost: Add check for json component header in Boost 1.75+John Drouhard2021-06-041-0/+1
| | | | | | | | | | | | | | | | | | 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.
* | | CMakeParseImplicitLinkInfo: Honor GNU static runtime library flagsBrad King2021-06-031-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | With flags like `-static-libstdc++` or `-static-libgfortran`, the GNU compiler driver adds `-Bstatic ... -Bdynamic` around its language runtime library. Convert the libraries in between these to absolute paths so that mixed-language linking honors the static runtime libraries.
* | | Merge topic 'msvc_cxx20_23'Brad King2021-06-022-4/+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
| * | Clang/MSVC: C++20 final flag, C++23 supportRaul Tambre2021-05-291-3/+12
| | | | | | | | | | | | | | | Added in LLVM commit a8f75d497daa2684a03909d7c31d5bce11b427e1, will be released in 13.0.
| * | MSVC: C++20 final flag, C++23 supportRaul Tambre2021-05-291-1/+8
| |/ | | | | | | | | | | | | 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.
* | Merge topic 'link-objects-first'Brad King2021-06-011-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3941555d93 target_link_libraries: Place $<TARGET_OBJECTS> before libraries f530b3a267 OpenWatcom: Add infrastructure to link to object files 8a4ca110e4 cmComputeLinkInformation: Improve type safety of item IsPath member 83ad066ed1 cmComputeTargetDepends: Factor out helper to add object library dependency 7f506b95a7 cmGeneratorTarget: Refactor link item lookup 96809a8541 cmGeneratorTarget: Give temporary link impl item an explicit name ddffbb8adb cmMakefile: Register explicit object sources more efficiently 18e42d3e63 cmGeneratorExpressionNode: Constify local variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6166
| * | OpenWatcom: Add infrastructure to link to object filesBrad King2021-05-291-0/+1
| | |
* | | Merge topic 'binutils-consistency'Brad King2021-06-011-1/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 9411766c35 BinUtils: Avoid llvm-objdump versions older than Clang 9 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6175
| * | | BinUtils: Avoid llvm-objdump versions older than Clang 9Brad King2021-05-291-1/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | Since commit cf82300a63 (BinUtils: Clarify search logic and make it more consistent, 2021-05-27) we correctly prefer the more-specific name `llvm-objdump` over `objdump` when using Clang. However, this breaks `file(GET_RUNTIME_DEPENDENCIES)` with `llvm-objdump` from Clang 8 and below. Avoid those older versions of `llvm-objdump`.
* | | UseJava: Add version for RESOURCES optionMarc Chevrier2021-05-301-4/+8
| | |
* | | Launchers: Support setting linker launchersBobby D Reynolds2021-05-284-0/+20
|/ / | | | | | | Fixes: #18316
* | Merge topic 'binutils-consistency'Brad King2021-05-283-43/+54
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 047585edc6 BinUtils: Find linker and librarian for Intel compilers on Windows 995f5b4e7b BinUtils: Find linker and librarian for OpenWatcom cf82300a63 BinUtils: Clarify search logic and make it more consistent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6164
| * | BinUtils: Find linker and librarian for Intel compilers on WindowsBrad King2021-05-272-4/+3
| | | | | | | | | | | | | | | Update our Intel linker and archiver rules to use the `<CMAKE_LINKER>` and `<CMAKE_AR>` placeholders instead of hard-coding the tool names.
| * | BinUtils: Find linker and librarian for OpenWatcomBrad King2021-05-272-5/+10
| | | | | | | | | | | | | | | | | | Update our OpenWatcom linker and archiver rules to use the `<CMAKE_LINKER>` and `<CMAKE_AR>` placeholders instead of hard-coding the tool names.
| * | BinUtils: Clarify search logic and make it more consistentBrad King2021-05-271-34/+41
| | | | | | | | | | | | Consistently consider more-specific names before less-specific names.
* | | WriteBasicConfigVersion supports version strings such as 21.07.04Robert Maynard2021-05-273-4/+50
|/ / | | | | | | Fixes #22207
* | Merge topic 'compiler-ti-linker-response-file'Brad King2021-05-261-5/+4
|\ \ | | | | | | | | | | | | | | | | | | 74a2a7a477 Compiler/TI: Restore response file usage for linker Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6159
| * | Compiler/TI: Restore response file usage for linkerJosef Angstenberger2021-05-251-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | The commit 98fea8205e (Compiler/TI: Avoid response file usage for linker, 2020-07-11, v3.19.0-rc1~495^2) disabled linker file usage by default. The previous settings were working, even if not for all cases. Restore them and add an explanation in a comment. Issue: #22233
* | | Merge topic 'find_cuda_deprecation'Brad King2021-05-251-6/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 15fda9384a FindCUDA: Improve deprecation guidance wording e16b06f4b9 FindCUDA: Make the deprecation notice more prominent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6153