summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* FindThreads: Drop IRIX-specific options and resultsBrad King2018-12-075-79/+44
| | | | | | | | | We do not need to support IRIX anymore, so drop relevant parts. In particular, the `CMAKE_THREAD_PREFER_PTHREAD` is frequently confused with `THREADS_PREFER_PTHREAD_FLAG`. Also remove references to the IRIX-specific options and results from other modules and tests.
* Merge topic 'gnu-octave'Brad King2018-12-071-0/+167
|\ | | | | | | | | | | | | 170bcb6fdc FindOctave: Add module to find GNU octave Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2630
| * FindOctave: Add module to find GNU octaveMichael Hirsch, Ph.D2018-12-061-0/+167
| |
* | Merge topic 'submit-method'Brad King2018-12-072-8/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9501a6145d CTest: Remove special case for Dart version <= 1 e184603378 CTest: Add release note about removed submission methods 8c25aa2feb CTest: Remove submission trigger a688c6b928 CTest: Remove submit method 'ftp' c339b64cf2 CTest: Remove submit method 'scp' aebdad399e CTest: Remove submit method 'cp' c2f6872c4e CTest: Remove submit method 'xmlrpc' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2672
| * | CTest: Remove special case for Dart version <= 1Regina Pfeifer2018-11-281-3/+0
| | |
| * | CTest: Remove submission triggerRegina Pfeifer2018-11-281-1/+0
| | |
| * | CTest: Remove submit method 'scp'Regina Pfeifer2018-11-282-4/+0
| | |
* | | Merge topic 'FindCURL-components'Brad King2018-12-071-4/+73
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5085a984e1 Help: Add notes for topic 'FindCURL-components' 8e5db11fd9 FindCURL: add test for component fc5afbe970 FindCURL: support COMPONENTS to check features Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2677
| * | | FindCURL: support COMPONENTS to check featuresHiroshi Miura2018-12-061-4/+73
| | |/ | |/| | | | | | | | | | | | | | | | | | | - Use pkg-config or curl-config to retrieve version, supported features and protocols. - Support optional COMPONENTS to check supported features Signed-off-by: Hiroshi Miura <miurahr@linux.com>
* | | Merge topic 'FindHDF5-static-hl'Brad King2018-12-071-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 4e174e0960 FindHDF5: Fix search for static hdf5_hl on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2700
| * | | FindHDF5: Fix search for static hdf5_hl on WindowsMouginot B2018-12-061-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | The change in commit v3.10.0-rc1~411^2~1 (FindHDF5: Add support for HDF5_USE_STATIC_LIBRARIES on Windows, 2017-07-03) accidentally left out a `lib` prefix on the static library name of `hdf5_hl`. It was done correctly already for the main `hdf5` library.
* | | Merge topic 'qnx_compiler_detection'Brad King2018-12-076-4/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 243b7c40d4 QNX: Compiler and feature detection fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: MvdHurk <maikelvandenhurk@hotmail.com> Merge-request: !2699
| * | | QNX: Compiler and feature detection fixesCristian Adam2018-12-036-4/+12
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested compiler detection with the QNX 7.0 list of compiler targets: * gcc_ntoaarch64le * gcc_ntoaarch64le_cxx * gcc_ntoarmv7le * gcc_ntoarmv7le_cxx * gcc_ntox86_cxx * gcc_ntoaarch64le_gpp * gcc_ntox86_64_gpp * gcc_ntoarmv7le_gpp * gcc_ntox86_64_cxx * gcc_ntox86 * gcc_ntox86_gpp * gcc_ntox86_64 This commit fixes some of the problems described in: https://cristianadam.eu/20181202/a-better-qnx-cmake-toolchain-file/
* | | Merge topic 'UseEcos-append-flags'Brad King2018-12-071-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 620e4e5e21 UseEcos: Append C and CXX flags instead of overwriting them Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2684
| * | | UseEcos: Append C and CXX flags instead of overwriting themantmak2018-12-061-2/+2
| |/ /
* | | Merge topic 'FindThreads-asan'Brad King2018-12-071-4/+12
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | e9a1ddc594 FindThreads: Replace the pthread symbol checking in libc. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2629
| * | FindThreads: Replace the pthread symbol checking in libc.JerryShih2018-12-031-4/+12
| | | | | | | | | | | | | | | | | | | | | With asan build, we will have the pthread_create() symbol in libc. However, libasan doesn't have full pthread implementation. We can't assume that we have the pthread implementation in libc using pthread_create() symbol. Replace the pthread_create() with pthread_kill() as a quick fix.
* | | Merge topic 'try-compile'Brad King2018-12-0618-162/+343
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | f266182aec Check* functions family: add support for LINK_OPTIONS 29f9db5c63 try_compile/try_run: Add support for LINK_OPTIONS option. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2661
| * | | Check* functions family: add support for LINK_OPTIONSMarc Chevrier2018-12-0118-162/+343
| | |/ | |/| | | | | | | Fixes: #18521
* | | Merge topic 'arch-independent-version-file-creation'Brad King2018-12-066-2/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb973f935f CMakePackageConfigHelpers: Add ARCH_INDEPENDENT option Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Silvio Traversaro <pegua1@gmail.com> Merge-request: !2666
| * | | CMakePackageConfigHelpers: Add ARCH_INDEPENDENT optionJustin Bassett2018-12-016-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow skipping the architecture check in the package version file generated from calling write_basic_package_version_file. Document said architecture check. Fixes: #16184
* | | | CPack/Deb: Remove paxr as a supported tar format for a .debGuillem Jover2018-11-281-3/+6
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | The only format supported from the ones available within cpack is gnutar, which supports large numbers encoded in base-256, and long filenames and linknames. PAX is not and has never been a supported format by dpkg. Fixes: #18620
* | | Merge topic 'FindDoxygen-win-glob'Brad King2018-11-271-7/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 85a035bf00 FindDoxygen: Avoid Windows-specific GLOB on other platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2660
| * | | FindDoxygen: Avoid Windows-specific GLOB on other platformsNoel Eck2018-11-261-7/+12
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | When `$ENV{ProgramFiles}` is empty, GLOB takes `/Graphviz*/bin` as a path cusing the implementation to look at every directory in `/`. If the system has a slow(er) path mounted on '/' then `stat` call can take some time. There *may* be a better fix for this elsewhere, but for now simply do this GLOB only on Windows. Signed-off-by: Noel Eck <noel.eck@intel.com>
* | | Merge topic 'ctest-updates'Brad King2018-11-271-1/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d9195ab081 Tests: Teach run_ctest to handle removal of CTestConfig.cmake 1ca53f5ef1 Remove unnecessary CTEST_PROJECT_NAME variables 15ac4aae0e Remove warning when no CTestConfig.cmake file exists 3125c47d27 ctest_build: Do not require unnecessary [CTEST_]PROJECT_NAME value 36bbd07a76 CDashUpload: Use the query part of the submit url as field e1dfe8cee6 CTest: Don't require 'submit.php?' in submit location Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2640
| * | | Remove unnecessary CTEST_PROJECT_NAME variablesRegina Pfeifer2018-11-201-1/+0
| | | |
* | | | Merge topic 'blaslapack_mkl_gfortran'Brad King2018-11-272-119/+144
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c259912b14 FindBLAS: Do not look for BLAS once BLAS95 has been found d5f691be0b FindLAPACK: Additional libraries for MKL+gfortran combination 8b63265ea5 FindLAPACK: Unify internal variables related to MKL ede1715c1d FindLAPACK: Remove MKL components already provided by MKL BLAS 03879b11af FindLAPACK: Prioritize Intel MKL b4edf7b5d2 FindBLAS: Support 32bit Intel MKL 10.3+ fc149a72f7 FindBLAS: Support combination of gfortran and Intel MKL f0d52f55f1 FindBLAS: Consolidate duplicated code related to MKL on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2633
| * | | | FindBLAS: Do not look for BLAS once BLAS95 has been foundJakub Benda2018-11-241-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When BLA_F95 is ON, FindBLAS looks for BLAS95_LIBRARIES (in Intel MKL). As this is a superset of BLAS_LIBRARIES, if they are found, no further search in other vendors is necessary.
| * | | | FindLAPACK: Additional libraries for MKL+gfortran combinationJakub Benda2018-11-181-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per Intel MKL command line advisor, "libdl" is added to the list of libraries that provide LAPACK functionality. Furthermore, the implicit link directories are added to the searched libraries to allow finding of "libgomp".
| * | | | FindLAPACK: Unify internal variables related to MKLJakub Benda2018-11-181-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Auxiliary internal variables related to MKL are now consistently prefixed with LAPACK_mkl_ and unset at the end of the MKL section.
| * | | | FindLAPACK: Remove MKL components already provided by MKL BLASJakub Benda2018-11-181-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A surplus library libmkl_gf_... has been removed from the LAPACK libraries serach path (when relevant, it is already provided by BLAS). Similarly, the thread libraries do not need to be explicitly added to the implicit LAPACK libraries, as they are already included in the list (via BLAS libraries provided by FindBLAS).
| * | | | FindLAPACK: Prioritize Intel MKLJakub Benda2018-11-181-75/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As in FindBLAS, the Intel Math Kernel Library is now the preferred LAPACK vendor. (The corresponding section of the code has been moved upwards.)
| * | | | FindBLAS: Support 32bit Intel MKL 10.3+Jakub Benda2018-11-181-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The module FindBLAS now correctly finds Intel MKL distributions that do not have the (long deprecated) library "libguide", but use "libiomp5" instead.
| * | | | FindBLAS: Support combination of gfortran and Intel MKLJakub Benda2018-11-181-24/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The module FindBLAS now correctly chooses MKL BLAS libraries to search, based on the compiler ID. The MKL libraries needed for BLAS functionality are the following: libmkl_{gf|intel}_{lp64|ilp64}.{a|so} libmkl_{gnu|intel}_thread.{a|so} (or libmkl_sequential.{a|so}) libmkl_core.{a|so} libm libdl lib{gomp|iomp5}.{a|so} (only with libmkl_*_thread.*) To achieve the goal, the following internal variables are defined and used: BLAS_mkl_INTFACE = "gf" or "intel" (based on compiler ID) BLAS_mkl_THREADING = "gnu" or "intel" (based on compiler ID) BLAS_mkl_OMP = "gomp" or "iomp5" (based on compiler ID) BLAS_mkl_LM = "-lm" (not set on Windows) BLAS_mkl_DL = "-ldl" (not set on Windows) The default values for the first three of them are "intel" and "iomp5", unless a Fortran compiler is loaded with CMAKE_Fortran_COMPILER_ID equal to "GNU"; in such case the "gf", "gnu" and "gomp" values are used. In non-Windows systems, the thread library as well as libm and libdl are now added to the linker line to allow static linking of libgomp.
| * | | | FindBLAS: Consolidate duplicated code related to MKL on WindowsJakub Benda2018-11-181-12/+7
| | |_|/ | |/| | | | | | | | | | | | | | The code that decides which library suffix to use for MKL libraries in Windows was in two places. This commit consolidates it in one place.
* | | | Merge topic 'FindBoost-no-cxx'Brad King2018-11-271-6/+3
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 0369362132 FindBoost: Restore finding without CXX language enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2663
| * | | FindBoost: Restore finding without CXX language enabledBrad King2018-11-261-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.13.0~7^2 (FindBoost: Improve compiler prefix detection for GCC 5+ and clang 4+, 2018-11-07) we run the internal `_Boost_COMPILER_DUMPVERSION` macro on all UNIX platforms. Teach the macro to tolerate missing `CMAKE_CXX_COMPILER_VERSION`, which occurs when the CXX language is not enabled. Fixes: #18624
| * | | Merge branch 'blas-pkgcfg' into release-3.13Brad King2018-11-191-0/+1
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !2631
| * \ \ \ Merge branch 'FindPython-lib-arch' into release-3.13Brad King2018-11-191-0/+17
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !2624
| * \ \ \ \ Merge branch 'irsl-ucrt-version' into release-3.13Brad King2018-11-191-3/+19
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !2637
| * \ \ \ \ \ Merge branch 'FindBoost-1.69' into release-3.13Brad King2018-11-131-3/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2601
| * \ \ \ \ \ \ Merge branch 'FindBoost-compiler-guess-update' into release-3.13Brad King2018-11-091-7/+26
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2579
| * \ \ \ \ \ \ \ Merge branch 'asm-compiler-id-clang' into release-3.13Brad King2018-11-091-0/+8
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2584
* | \ \ \ \ \ \ \ \ Merge topic 'FindGIF-modernize'Brad King2018-11-211-13/+47
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 74cc42e937 Help: Add notes for topic 'FindGIF-modernize' 6962a41e6b FindGIF: Add test 5bc64fe6c2 FindGIF: Modernize Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2632
| * | | | | | | | | | FindGIF: ModernizeMaximilian Heinzler2018-11-201-13/+47
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings the module up to the current find module standards by adding the GIF_INCLUDE_DIRS variable and the target GIF::GIF. It also updates the documentation style to that of similar modules.
* | | | | | | | | | Merge topic 'find-boost-test-version'Brad King2018-11-211-0/+2
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 19d92d5e6e FindBoost: provide the version in x.y.z format 186f69cf26 FindBoost: test version variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2638
| * | | | | | | | | FindBoost: provide the version in x.y.z formatBen Boeckel2018-11-201-0/+2
| | | | | | | | | |
* | | | | | | | | | Merge topic 'blas-pkgcfg'Brad King2018-11-201-0/+1
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a3c31effed FindBLAS: Restore BLAS_FOUND when found using pkgconfig Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2631
| * | | | | | | | | FindBLAS: Restore BLAS_FOUND when found using pkgconfigMartin von Gagern2018-11-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.12.0-rc1~92^2 (FindPkgConfig: export the list of found libraries also as variable, 2018-05-11) dropped use of FPHSA to set `BLAS_FOUND`. Set it explicitly instead.
* | | | | | | | | | Merge topic 'FindPython-lib-arch'Brad King2018-11-201-0/+17
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c24f29c664 FindPython: Ensure config tool matches library architecture Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Eric Noulard <eric.noulard@gmail.com> Merge-request: !2624