summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'nvhpc-ninja-depfile'Brad King2021-05-192-0/+18
|\ | | | | | | | | | | | | | | 364f6af1d7 NVHPC: Support Ninja dependency scanning 521cfc38a3 NVHPC: Support explicit language flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6136
| * NVHPC: Support Ninja dependency scanningRobert Maynard2021-05-182-0/+10
| | | | | | | | Fixes: #22168
| * NVHPC: Support explicit language flagsRobert Maynard2021-05-182-0/+8
| |
* | Merge topic 'doc-ep-configure-build-passthrough'Brad King2021-05-171-3/+20
|\ \ | | | | | | | | | | | | | | | | | | cf3bc271d1 Help: Clarify details passed to ExternalProject configure and build Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6135
| * | Help: Clarify details passed to ExternalProject configure and buildCraig Scott2021-05-161-3/+20
| | | | | | | | | Fixes: #22116
* | | Merge topic 'IncludeInfo-var-expand'Brad King2021-05-171-25/+25
|\ \ \ | |/ / |/| | | | | | | | | | | | | | caea48eec9 CMakeParseImplicitIncludeInfo: remove needless variable expansions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6125
| * | CMakeParseImplicitIncludeInfo: remove needless variable expansionsRolf Eike Beer2021-05-131-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They seem to actually cause trouble, like an error reported on IRC where some but not all CMake invocations may end up with an error like this: CMake Warning (dev) at /usr/share/cmake/Modules/CMakeParseImplicitIncludeInfo.cmake:74 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted keywords like ")" will no longer be interpreted as keywords when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): /usr/share/cmake/Modules/CMakeParseImplicitIncludeInfo.cmake:179 (cmake_parse_implicit_include_line) /usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:119 (cmake_parse_implicit_include_info) /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI) CMakeLists.txt:24 (project) This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at /usr/share/cmake/Modules/CMakeParseImplicitIncludeInfo.cmake:74 (if): if given arguments: "GNU" "STREQUAL" "SunPro" "AND" "(" ")" "MATCHES" "-D__SUNPRO_C" "OR" ")" "MATCHES" "-D__SUNPRO_F" ")" I suspect that the line ends up being just ")", which then causes this error.
* | | FetchContent: Use private local variables in FetchContent_MakeAvailableArcturus Arcturus2021-05-131-15/+21
|/ /
* | UseJava: Avoid non-word "compilability" in documentationBrad King2021-05-121-1/+1
| | | | | | | | | | Also fix spelling in the release note from commit 3e03f359a7 (UseJava: Add RESOURCES with NAMESPACE to add_jar(), 2021-04-27).
* | Merge topic 'UseJava-add_jar-resource-namespace'Brad King2021-05-111-7/+96
|\ \ | | | | | | | | | | | | | | | | | | | | | 3e03f359a7 UseJava: Add RESOURCES with NAMESPACE to add_jar() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Smit-tay <damnedyankee@gmail.com> Merge-request: !6071
| * | UseJava: Add RESOURCES with NAMESPACE to add_jar()Smit tay2021-05-101-7/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add_jar() currently requires (undocumented) that resources be supplied as relative paths. The resources *may* then end up in a path which does not reflect the original path particularly when performing out-of-source builds. This change adds a RESOURCE (and NAMESPACE) parameter and a function to add the names resources into the named namespace within the jar- and thus address both of these problems. Fixes: #22101
* | | Merge topic 'findlapack_support_nvhpc'Brad King2021-05-112-1/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 2c9e623e31 Find{BLAS,LAPACK}: Add support for the NVHPC LAPACK library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6089
| * | | Find{BLAS,LAPACK}: Add support for the NVHPC LAPACK libraryRobert Maynard2021-05-052-1/+27
| | | |
* | | | Merge topic 'cpp23_gcc'Brad King2021-05-111-2/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | GNU: C++23 supportRaul Tambre2021-05-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added in GCC commit 78739c2df788ee5c868d998a6333d453317d8711, released in 11.1. No lettered variant beforehand this time around. Implements #22139.
| * | | | GNU: Final C++20 flagsRaul Tambre2021-05-101-1/+4
| | | | | | | | | | | | | | | | | | | | Added in GCC commit fb26050409473f5be54465beca114b7e48de43aa, released in 11.1.
| * | | | GNU: C++17 default versionRaul Tambre2021-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | Changed in GCC commit 0801f419440c14f6772b28f763ad7d40f7f7a580, released in 11.1.
| * | | | Merge topic 'FindBoost-1.76' into release-3.20Brad King2021-05-101-2/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 79be37b94e FindBoost: Add support for Boost 1.76 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6100
* | \ \ \ \ Merge topic 'codespell'Brad King2021-05-1012-23/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fd02f10103 Xcode: Fix typos and spelling in error message 5950e54325 Source: Fix typos and spelling in comments 7072d83772 Help: Fix typos and spelling in documentation 03b1140ddc CONTRIBUTING: Fix typos and spelling 87f8843d8b FindMatlab: Fix spelling in warning and documentation 15cc39ed7f Modules: Fix typos and spelling in documentation f015c36c5a Modules: Fix typos and spelling in comments of generated code dad5b9d845 Modules: Fix typos and spelling in comments ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6099
| * | | | | | FindMatlab: Fix spelling in warning and documentationJosef Angstenberger2021-05-071-8/+8
| | | | | | |
| * | | | | | Modules: Fix typos and spelling in documentationJosef Angstenberger2021-05-074-6/+6
| | | | | | |
| * | | | | | Modules: Fix typos and spelling in comments of generated codeJosef Angstenberger2021-05-072-2/+2
| | | | | | |
| * | | | | | Modules: Fix typos and spelling in commentsJosef Angstenberger2021-05-077-7/+7
| | | | | | |
* | | | | | | Merge topic 'FindBoost-1.76'Brad King2021-05-101-2/+2
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 79be37b94e FindBoost: Add support for Boost 1.76 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6100
| * | | | | | FindBoost: Add support for Boost 1.76Brad King2021-05-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Merge topic 'ep-update-git-hash-missing'Brad King2021-05-101-1/+1
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | / / / / | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | ExternalProject: Ensure git fetch if updating to hash we don't have yetCraig Scott2021-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | Merge topic 'improve_cuda_toolkit_extraction_regex' into release-3.20Brad King2021-05-073-3/+3
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | Merge topic 'FindProtobuf-grpc-plugin'Brad King2021-05-071-2/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f2a4b879b1 FindProtobuf: Add PLUGIN parameter to protobuf_generate Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6068
| * | | | | | FindProtobuf: Add PLUGIN parameter to protobuf_generateFrank Lange2021-05-061-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for example reusing the function for generating gRPC code by specifying which grpc plugin to use.
* | | | | | | Merge topic 'Fujitsu-Fortran-Ninja'Brad King2021-05-071-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 284d12a426 Fujitsu: Make explicit Fortran preprocessing under Ninja more robust Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6080
| * | | | | | | Fujitsu: Make explicit Fortran preprocessing under Ninja more robustEisuke Kawashima2021-05-061-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tell the Fortran compiler to write preprocessor output directly to a file, as we do for the GNU compiler. The previous "redirect stdout" approach could break checks using flags that add information to stdout when called with `-###`. Fixes: #22156
* | | | | | | Merge topic 'improve_cuda_toolkit_extraction_regex'Brad King2021-05-073-3/+3
|\ \ \ \ \ \ \ | |/ / / / / / |/| | / / / / | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | CUDA: improve regex for CUDA Toolkit root from nvcc verbose outputRobert Maynard2021-05-063-3/+3
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Merge topic 'doc-tls'Brad King2021-05-051-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7398993f5b Help: Document CMAKE_TLS_VERIFY variable explicitly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6064
| * | | | | Help: Document CMAKE_TLS_VERIFY variable explicitlyMichael Hirsch2021-05-041-1/+1
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | Previously it was mentioned only in the `file` and `ExternalProject` documentation.
* | | | | Merge topic 'clang-ipo-support'Brad King2021-05-051-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3dd776ccfd Windows-Clang: Support duplicate object names in LTO archives Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6082
| * | | | | Windows-Clang: Support duplicate object names in LTO archivesBrad King2021-05-031-2/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the archive rules added by commit 6e3655db2c (Clang: add LTO support for GNU-command line clang on windows, 2019-07-08, v3.16.0-rc1~161^2~3) to match the `ar` convention we use for normal archives. Issue: #21988
* | | | | Merge topic 'binutils-var-private'Brad King2021-05-051-10/+12
|\ \ \ \ \ | | |_|/ / | |/| | / | |_|_|/ |/| | | | | | | | | | | c33fb2e664 BinUtils: Use more-private temporary variable names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6085
| * | | BinUtils: Use more-private temporary variable namesBrad King2021-05-041-10/+12
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge topic 'mingw-archive-no-replace'Brad King2021-05-041-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e8f0b75ff9 Windows-GNU: Support duplicate object names when linking shared libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6081
| * | | Windows-GNU: Support duplicate object names when linking shared librariesBrad King2021-05-031-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Extend the change from commit 39d0ade07e (Windows-GNU: Support duplicate object names in large archives (#14874), 2014-04-14, v3.1.0-rc1~629^2~1) to apply to the temporary archive we create for linking shared libraries with MinGW tools. Issue: #21988
* | | Merge topic 'findswig-clean'Brad King2021-05-041-39/+55
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 229dd42158 Change find_path scope and add quotes ff6f7b232f FindSWIG: reduce calls to SWIG exe, and clean up variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6075
| * | | Change find_path scope and add quotesSeth R Johnson2021-05-031-8/+8
| | | |
| * | | FindSWIG: reduce calls to SWIG exe, and clean up variablesSeth R Johnson2021-05-021-38/+54
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If all SWIG cache variables (EXECUTABLE, DIR, VERSION) are set, there should be no need to invoke the SWIG exe on a reconfigure. This changeset reduces the number of calls to the SWIG executable, and additonially prevents temporary `SWIG_xxx` values from propagating outside the `find_package` call. I also refactored the conditionals to be less nested (and thus more predictable), including changing theh definition of SWIG_USE_FILE to reflect that it's if and only if SWIG_FOUND is trure.
* | | Merge topic 'useswig-includes'Brad King2021-05-041-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d2296cdaab UseSWIG: remove duplicate target includes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6074
| * | | UseSWIG: remove duplicate target includesSeth R Johnson2021-05-021-1/+1
| |/ /
* | | Merge topic 'FindBLAS-mkl-omp'Brad King2021-05-041-7/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 20ab504591 FindBLAS: Do not statically link against iomp5 in the case of Intel MKL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6001
| * | | FindBLAS: Do not statically link against iomp5 in the case of Intel MKLEisuke Kawashima2021-04-291-7/+16
| |/ / | | | | | | | | | fix #21811
* | | Merge topic 'compile-features-lang-vars'Brad King2021-05-042-4/+4
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | bd16a985fc CompilerId/Features: Tolerate variables named for languages Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Timothy Brackett <brackett.tc@gmail.com> Merge-request: !6060