summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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 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 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
* | Merge topic 'cuda-rules-override'Brad King2021-06-231-0/+19
|\ \ | |/ | | | | | | | | | | 1d9009c27a CUDA: Implement CMAKE_USER_MAKE_RULES_OVERRIDE[_CUDA] Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6253
| * CUDA: Implement CMAKE_USER_MAKE_RULES_OVERRIDE[_CUDA]Seth R Johnson2021-06-221-0/+19
| | | | | | | | | | This is implemented by other languages, and is documented for all languages. This was accidentally left out of CUDA.
| * Merge topic 'ep-git-update-commit-ref' into release-3.21Brad King2021-06-211-1/+1
| |\ | | | | | | | | | | | | | | | | | | 360ff17dc6 ExternalProject: Use ${ref}^0 to avoid MSYS/Cygwin shell substitutions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6249
| * \ Merge topic 'GNUInstallDirs-alpine' into release-3.21Brad King2021-06-211-0/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 37b24e0bed GNUInstallDirs: don't use lib64 on Alpine Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6244
* | \ \ Merge topic 'ep-git-update-commit-ref'Brad King2021-06-211-1/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | 360ff17dc6 ExternalProject: Use ${ref}^0 to avoid MSYS/Cygwin shell substitutions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6249
| * | | ExternalProject: Use ${ref}^0 to avoid MSYS/Cygwin shell substitutionsCraig Scott2021-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge topic 'GNUInstallDirs-alpine'Brad King2021-06-211-0/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | 37b24e0bed GNUInstallDirs: don't use lib64 on Alpine Linux Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6244
| * | | GNUInstallDirs: don't use lib64 on Alpine LinuxNatanael Copa2021-06-181-0/+1
| | | | | | | | | | | | | | | | Fixes: #22318
* | | | Merge topic 'FindPkgConfig-PKG_CONFIG-args'Brad King2021-06-211-5/+34
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 35d3e00e4e FindPkgConfig: split args if loaded from environment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6222
| * | | | FindPkgConfig: split args if loaded from environmentChristopher Degawa2021-06-181-5/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's common for some people to use the PKG_CONFIG environment variable to not only load a custom pkg-config/pkgconf but also to load some default arguments such as `--static` or `--keep-system-libs` which often worked since shell scripts would call `$PKG_CONFIG --libs pkg` without quotes, but this breaks FindPkgConfig since it uses the full string as `argv[0]` and might try looking for a binary called `pkgconf --static`, instead of looking for `pkgconf` and adding `--static` as the `argv[1]` Additionally adds RunCMake.FindPkgConfig ARGN test case Fixes: #22305 Signed-off-by: Christopher Degawa <ccom@randomderp.com>
* | | | | Merge topic 'msvc-isystem'Brad King2021-06-212-0/+12
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f29e1874ad Compiler/MSVC: use the `-external:I` flag for system includes 5a5c85dffd Tests/IncludeDirectories: support MSVC in system include tests 399a3204bb Tests/IncludeDirectories: align sibling predicates 20ab49193b Tests/IncludeDirectories: factor out applying flags to targets 809f7b0c3a Tests/IncludeDirectories: fix copy pasta for otherlib b094324948 Tests/IncludeDirectories: Include system headers via angle brackets 8f63f3b04e cmVisualStudio10TargetGenerator: remove unused variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Julien Waechter <greenjava@gmail.com> Acked-by: DE-VS wenglor <devs.wenglor@gmail.com> Merge-request: !4766
| * | | | Compiler/MSVC: use the `-external:I` flag for system includesBen Boeckel2021-06-182-0/+12
| |/ / / | | | | | | | | | | | | See: #17904
* | | | CompilerId: Tolerate variables named for languagesPhilippe Canal2021-06-181-6/+6
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a project or user sets a variable or cache entry named `C`, `CXX`, `CUDA`, `Fortran`, `CSharp`, or `ISPC`, we were previously comparing each enabled language name to the value of that variable, rather than the name itself. Double-quote the string to take advantage of policy `CMP0054`, but also add "x" prefixes to support projects that do not set the policy. This extends a similar fix in commit bd16a985fc (CompilerId/Features: Tolerate variables named for languages, 2021-04-28) in more places. In particular, ensure that we consider the proper list of compiler ids. Issue: #22125
* | | CheckCompilerFlag: Handle -Werror= for GCC 11Marc Aldorasi2021-06-171-2/+4
|/ /
* | AppleClang: Add flags for C17 and C23Brad King2021-06-161-1/+11
| | | | | | | | Follow up commit 72f4984cdc (Clang: C23 support, 2021-02-07).
* | FindLATEX: Search user-local MiKTeX locationsSteven A White2021-06-161-0/+4
| | | | | | | | | | | | I've noticed the default installer for MikTex does not prompt for escalation. So, many installations I find do not have registry entries. This should cover finding it in the current defaults.
* | 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.