summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'fujitsu-compiler-4.0-support'Brad King2021-04-0122-42/+369
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ef55dec29 Help: Add release notes for Fujitsu compiler support 4c74c86f40 FindBLAS/LAPACK: Add support for the Fujitsu SSL2 library 376c300b25 FindOpenMP: Add support for Fujitsu compilers 9e0a1cf03e FindMPI: Add support for the Fujitsu compiler wrappers a237450948 Tests: Update for the FujitsuClang compiler 27579e9cf1 FujitsuClang: Add support for the Fujitsu compiler in Clang mode a55feff69c Tests: Update for the Fujitsu compiler 3c867cff4a Fujitsu: Add support for the Fujitsu compiler in Trad mode Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Acked-by: Gilles Gouaillardet <gilles@rist.or.jp> Merge-request: !5954
| * FindBLAS/LAPACK: Add support for the Fujitsu SSL2 libraryChuck Atkins2021-03-312-36/+122
| | | | | | | | | | | | | | | | This also does some additional work to fix issues with libraries provided only via compiler options and no explicit library names. Co-Author: Yuichiro Utsumi <utsumi.yuichiro@jp.fujitsu.com>
| * FindOpenMP: Add support for Fujitsu compilersChuck Atkins2021-03-311-0/+2
| | | | | | | | Co-Author: Yuichiro Utsumi <utsumi.yuichiro@jp.fujitsu.com>
| * FindMPI: Add support for the Fujitsu compiler wrappersChuck Atkins2021-03-311-1/+6
| | | | | | | | Co-Author: Yuichiro Utsumi <utsumi.yuichiro@jp.fujitsu.com>
| * FujitsuClang: Add support for the Fujitsu compiler in Clang modeChuck Atkins2021-03-319-9/+38
| | | | | | | | | | | | This should be front end compatible with vanilla clang but giving it a unique identifier allows a project to pass additional options unique to Fujitsu and outside the scope of a CMake builtin.
| * Fujitsu: Add support for the Fujitsu compiler in Trad modeChuck Atkins2021-03-3012-5/+210
| | | | | | | | Co-Author: Yuichiro Utsumi <utsumi.yuichiro@jp.fujitsu.com>
* | Merge topic 'cpackrpm-debuginfo-single-package-install-erase-scripts'Brad King2021-04-011-0/+19
|\ \ | | | | | | | | | | | | | | | | | | 31c184ad69 CPackRPM: handle scripts in debuginfo single package mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5953
| * | CPackRPM: handle scripts in debuginfo single package modeDomen Vrankar2021-03-301-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | Enabling CPACK_RPM_DEBUGINFO_SINGLE_PACKAGE while using rpm install or erase scripts resulted in resulted missing scripts for non default components. Fixes: #21974
* | | Merge topic 'cray-version-patch'Brad King2021-03-311-0/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 258faaeef6 Cray: Detect Fortran compiler version patch level if available Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5957
| * | | Cray: Detect Fortran compiler version patch level if availableJustin LaPolla2021-03-311-0/+3
| | | | | | | | | | | | | | | | Fixes: #21969
* | | | Merge topic 'cpackrpm-single-package-handling-empty-dir'Brad King2021-03-311-2/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0adb2386a CPackRPM: correctly handle empty dir in single package mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5951
| * | | | CPackRPM: correctly handle empty dir in single package modeDomen Vrankar2021-03-281-2/+8
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enabling CPACK_RPM_DEBUGINFO_SINGLE_PACKAGE while having an empty directory in non main component resulted in packaging error that the directory does not exist. Fixes: #21951
* | | | Merge topic 'android-binutils'Brad King2021-03-313-50/+52
|\ \ \ \ | | |/ / | |/| / | |_|/ |/| | | | | | | | 61e6fc26bc Android: Fix search for binutils Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5958
| * | Android: Fix search for binutilsHaibo Huang2021-03-303-50/+52
| | | | | | | | | | | | | | | | | | | | | | | | Set `CMAKE_SYSTEM_PROGRAM_PATH` in `Platform/Android-Initialize` instead of `Platform/Android` so it can be used in `CMakeFindBinUtils`. Also add the names `llvm-strip` and `llvm-ranlib` for the corresponding tools.
| * | Merge topic 'GNUInstallDirs-doc' into release-3.20Brad King2021-03-301-1/+4
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 06171fd7aa GNUInstallDirs: Clarify that CMAKE_INSTALL_<dir> may be absolute Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5947
| * | | FindIntl: Fix detection of intl built in to C libraryBrad King2021-03-261-39/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit c30d06b7e6 (FindIntl: Add imported target, 2020-10-06, v3.20.0-rc1~687^2) we use `check_symbol_exists` to check whether the `intl` library is built in to the C library. On some platforms the tested symbols are provided as macros so the check passes without linking any symbol. Instead, check whether a sample source file both compiles and links. Fixes: #21979
* | | | Merge topic 'ifw-depends-name-version-parsing'Brad King2021-03-301-0/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a43783a08d CPackIFW: Fix parsing of name and version in component DEPENDS f536e6f3fb CPackIFW: Remove redundant variable assignment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5929
| * | | | CPackIFW: Fix parsing of name and version in component DEPENDSCraig Scott2021-03-261-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DEPENDS or DEPENDENCIES arguments in a call to cpack_ifw_configure_component() or cpack_ifw_configure_component_group() specify a name and optionally a version constraint as a single string. QtIFW also allows a colon (requires QtIFW 3.1 or later) or a hyphen to separate the name and version. The version may optionally contain a leading operator, with = being assumed when no operator is present. The previous code was not handling : as a separator at all and was erroneously dropping the version part when no operator was given. Fix both of those non-conforming behaviors and also warn if trying to use a hyphen in a name with a QtIFW version that isn't recent enough to support it. Fixes: #21697
* | | | | Merge topic 'GNUInstallDirs-doc'Brad King2021-03-301-1/+4
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | 06171fd7aa GNUInstallDirs: Clarify that CMAKE_INSTALL_<dir> may be absolute Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5947
| * | | | GNUInstallDirs: Clarify that CMAKE_INSTALL_<dir> may be absoluteBrad King2021-03-291-1/+4
| | | | | | | | | | | | | | | | | | | | Fixes: #21991
* | | | | Merge topic 'SWIG'Brad King2021-03-291-1/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1d8e3a1e77 UseSWIG: Use standard library name conventions for csharp language Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5949
| * | | | | UseSWIG: Use standard library name conventions for csharp languageMarc Chevrier2021-03-261-1/+18
| | |_|_|/ | |/| | | | | | | | | | | | | Fixes: #21542
* | | | | Merge topic 'FindDoxygen-clarify-cmake-variable-naming'Brad King2021-03-291-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 739446a9a1 FindDoxygen: clarify the CMake variable naming scheme Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Mateusz Mania <kajtkowo@gmail.com> Merge-request: !5943
| * | | | | FindDoxygen: clarify the CMake variable naming schemeBen Boeckel2021-03-251-1/+2
| | |_|/ / | |/| | |
* | | | | FindIntl: Fix detection of intl built in to C libraryBrad King2021-03-261-44/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit c30d06b7e6 (FindIntl: Add imported target, 2020-10-06, v3.20.0-rc1~687^2) we use `check_symbol_exists` to check whether the `intl` library is built in to the C library. On some platforms the tested symbols are provided as macros so the check passes without linking any symbol. Instead, check whether a sample source file both compiles and links. Fixes: #21979
* | | | | Merge branch 'backport-FindIntl-builtin' into FindIntl-builtinBrad King2021-03-261-3/+0
|\ \ \ \ \ | |_|/ / / |/| | | / | | |_|/ | |/| |
| * | | FindIntl: Improve documentation formattingSibi Siddharthan2021-03-261-17/+38
| | |/ | |/| | | | | | | Backport from commit a9b11a06f5 (FindIntl: Add version support, 2021-02-23).
| * | Merge topic 'FindPkgConfig-NAMES_PER_DIR' into release-3.20Brad King2021-03-171-1/+4
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | c7bd2d0d97 FindPkgConfig: Restore preference for first pkg-config in PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5914
| * \ \ Merge topic 'FindOpenMP-IntelLLVM-Windows' into release-3.20Brad King2021-03-171-1/+6
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6fd014a4b6 FindOpenMP: Use -Qiopenmp instead of -fiopenmp for IntelLLVM on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5904
* | | | | FindRuby: Consider ruby names with full nodot version suffixesPedro Luis Castedo Cepeda2021-03-251-1/+1
| |_|_|/ |/| | |
* | | | Treat '.ixx' and '.cppm' files as C++ sourcesAndrew Gilewsky2021-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | These extensions are used by convention for C++ modules and interface units with MSVC.
* | | | Merge topic 'update_cuda_custom_toolkit_location_folder_structure'Brad King2021-03-191-3/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c73b847b03 VS: switch to new folder structure while keeping the old one working Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Merge-request: !5911
| * | | | VS: switch to new folder structure while keeping the old one workingMarcel Ritzschke2021-03-181-3/+13
| | | | | | | | | | | | | | | | | | | | Fixes: #21170
* | | | | FindDevIL: add imported targets and testsAlex2021-03-181-0/+57
| | | | | | | | | | | | | | | | | | | | Fixes: #21900
* | | | | FindDevIL: Format documentation of provided variablesBrad King2021-03-181-18/+25
|/ / / /
* | | | Merge topic 'lang_win32_console'Brad King2021-03-189-17/+24
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 56c759b000 Per-language Win32/Console flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5906
| * | | | Per-language Win32/Console flagsRaul Tambre2021-03-179-17/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows using different compilers with different flags for different languages. For example Clang with GNU-like commandline for CXX and MSVC as host compiler for CUDA. Should help with #21914.
* | | | | Merge topic 'FindPkgConfig-NAMES_PER_DIR'Brad King2021-03-171-1/+4
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | c7bd2d0d97 FindPkgConfig: Restore preference for first pkg-config in PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5914
| * | | | FindPkgConfig: Restore preference for first pkg-config in PATHBrad King2021-03-161-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit ab8bd48352 (FindPkgConfig: Search for pkg-config.bat file on a Windows host, 2020-09-25, v3.19.0-rc1~98^2) we prefer `pkg-config.bat` over `pkg-config` regardless of the order they appear in the `PATH`. Tell `find_program` to consider all names in each directory so that the first one in `PATH` of any name wins. Issue: #21239
* | | | | Merge topic 'fix_ninja_windows_cuda'Brad King2021-03-172-0/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 55233eee42 CUDA: Add support for finding nvcc in CUDA_PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Tested-by: Raul Tambre <raul@tambre.ee> Merge-request: !5908
| * | | | | CUDA: Add support for finding nvcc in CUDA_PATHTobias Ribizel2021-03-152-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, nvcc needed to be present in PATH or specified by CUDACXX. On Windows with vcpkg, the PATH is heavily modified, which lead to nvcc not being found with the Ninja generator.
* | | | | | Merge topic 'FindOpenMP-IntelLLVM-Windows'Brad King2021-03-171-1/+6
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 6fd014a4b6 FindOpenMP: Use -Qiopenmp instead of -fiopenmp for IntelLLVM on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5904
| * | | | | FindOpenMP: Use -Qiopenmp instead of -fiopenmp for IntelLLVM on WindowsWilliam R. Dieter2021-03-151-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Windows driver does not like the `-f` form of this option. Note that we prefer `-Qiopenmp/-fiopenmp` over `-Qopenmp/-fopenmp` in order to generate LLVM IR with parallelization information, which the backend uses to generate parallelized code. Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
* | | | | | Merge topic 'cmake-presets-host-system-name'Brad King2021-03-161-31/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d497e159b CMakePresets.json: Add ${hostSystemName} macro 79d03ab505 Help: Fix version numbers in CMakePresets.json documentation 69527a1979 Refactor: Pass CMakePresets.json version to ExpandMacros() functions ad19da011d Refactor: Add cmSystemTools::GetSystemName() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5902
| * | | | | | Refactor: Add cmSystemTools::GetSystemName()Kyle Edwards2021-03-151-31/+8
| | |/ / / / | |/| | | | | | | | | | | | | | | | And use it for CMAKE_HOST_SYSTEM_NAME and CMAKE_SYSTEM_NAME.
* | | | | | Merge topic 'ExternalData-stop-forking-to-cmake'Brad King2021-03-161-2/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b6c022eaa2 ExternalData: use `file(CREATE_LINK)` 01cc8bf930 ExternalData: use `file(COPY_FILE)` instead of forking CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5875
| * | | | | | ExternalData: use `file(CREATE_LINK)`Ben Boeckel2021-03-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids spawning a new CMake command which isn't necessary.
| * | | | | | ExternalData: use `file(COPY_FILE)` instead of forking CMakeBen Boeckel2021-03-111-1/+1
| | |_|_|/ / | |/| | | |
* | | | | | Merge topic 'FindMatlab-r2021a'Brad King2021-03-161-0/+1
|\ \ \ \ \ \ | |_|/ / / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | 427f5f2fa9 FindMatlab: R2021a version map Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5907
| * | | | FindMatlab: R2021a version mapMichael Hirsch2021-03-151-0/+1
| | |/ / | |/| |