summaryrefslogtreecommitdiffstats
path: root/Modules/FindLAPACK.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Find{BLAS,LAPACK}: Fix OpenBLAS ILP64 support with MSYS2 packagesMartin Köhler2023-11-131-1/+5
| | | | | Typically, ILP64 BLAS libraries are suffixed with `64`, but the MSYS2 package provides the ILP64 version of OpenBLAS with a `_64` suffix.
* Find{BLAS,LAPACK}: Add AOCL BLIS/libFLAMECordell Bloor2023-05-021-0/+23
| | | | | | | The AMD Optimizing CPU Libraries (AOCL) provide forks of BLIS and libFLAME that are optimized for AMD "Zen" core architectures. Closes: #23605
* Find{BLAS,LAPACK}: Prefer BLA_VENDOR cmake variable over env variableBrad King2023-04-031-4/+6
| | | | | | This is implied by the documentation, but was not implemented properly. Fixes: #24664
* Help: Fix some redirects reported with sphinx linkcheckAlex Turbov2022-11-071-1/+1
| | | | Mostly it's about replace `http:` with `https:` protocol.
* Merge topic 'FindLAPACK-nvhpc'Brad King2022-07-071-2/+7
|\ | | | | | | | | | | | | 28d52a43fc FindLAPACK: Add '-fortranlibs' flag only with NVHPC/PGI compilers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7452
| * FindLAPACK: Add '-fortranlibs' flag only with NVHPC/PGI compilersEisuke Kawashima2022-07-061-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 2c9e623e31 (Find{BLAS,LAPACK}: Add support for the NVHPC LAPACK library, 2021-05-05, v3.21.0-rc1~192^2) we try the `-fortranlibs` option as a dependency of the NVHPC LAPACK. That flag is specific to the NVHPC/PGI compilers, so use it conditionally with them. Without this modification, CMake fails to find LAPACK if - compiler ID is GNU - `BLA_STATIC` is `ON` - `BLA_VENDOR` is not defined or set to `All` Fixes: #23705, #22878
* | Modules/Find{BLAS,LAPACK}: allow choice of pkg-config packageDr. Thomas Orgis2022-06-171-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | The BLA_PREFER_PKGCONFIG switch is not that useful if you are not able to specify the pkg-config package to use. This adds BLA_PKGCONFIG_BLAS and BLA_PKGCONFIG_LAPACK to that effect, allowing user choice in environments that install differing variants of the BLAS libraries with distinct .pc file names. This is part of work to get more standardized installations of the BLAS libs with specific names, likely blas.pc and lapack.pc only for Netlib reference code, or maybe blas-netlib.pc and lapack-netlib.pc, in any case distinct from choices like openblas-openmp.pc.
* | FindLAPACK: Quiet pkg-config errorsnega2022-03-301-2/+2
|/ | | | Issue: #23314
* FindBLAS: Replace set(A val) with string(APPEND)Igor S. Gerasimov2021-10-071-1/+1
|
* FindLAPACK: Replace set(A val) with string(APPEND)Igor S. Gerasimov2021-10-071-5/+5
|
* FindLAPACK: Stop processing if LAPACK library does not have 64-bit integer APIIgor S. Gerasimov2021-10-051-33/+51
|
* FindLAPACK: Search 32/64-bit integer API via BLA_SIZEOF_INTEGER if possibleIgor S. Gerasimov2021-10-051-4/+82
|
* FindLAPACK: Update Generic LAPACKIgor S. Gerasimov2021-09-221-1/+4
|
* FindLAPACK: Update FlexiBLASIgor S. Gerasimov2021-09-221-1/+5
|
* FindLAPACK: Update OpenBLASIgor S. Gerasimov2021-09-221-1/+5
|
* FindLAPACK: Update NVHPCIgor S. Gerasimov2021-09-221-1/+6
|
* FindLAPACK: EML: LAPACK is in BLASIgor S. Gerasimov2021-09-221-18/+2
|
* FindLAPACK: IBMESSL: LAPACK is in BLASIgor S. Gerasimov2021-09-221-18/+2
|
* FindLAPACK: Fujitsu_SSL2: LAPACK is in BLASIgor S. Gerasimov2021-09-221-26/+3
|
* Merge topic 'SCS_mp'Brad King2021-07-291-0/+24
|\ | | | | | | | | | | | | | | 069a5c3188 FindLAPACK: SCSL also has LAPACK routines dbcc5eaa05 FindBLAS: Update SCSL library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6402
| * FindLAPACK: SCSL also has LAPACK routinesIgor S. Gerasimov2021-07-281-0/+24
| |
* | FindLAPACK: IBM ESSL 6.1 also has LAPACK routinesIgor S. Gerasimov2021-07-281-0/+24
|/
* Find{BLAS,LAPACK}: clean variablesSeth R Johnson2021-07-141-9/+12
|
* Find{BLAS,LAPACK}: improve found message on CraySeth R Johnson2021-07-141-1/+6
| | | | | | | | | | | | | | | | | | With Cray compiler wrappers (implicitly tested on OLCF Spock) the BLAS and LAPACK libraries are automatically linked as necessary through the wrapper script and programming environment. With this change, the configure output is: ``` -- Found BLAS: implicitly linked <snip> -- Found LAPACK: implicitly linked ``` rather than ``` -- Found BLAS: 1 <snip> -- Found LAPACK: LAPACK_LIBRARIES-PLACEHOLDER-FOR-EMPTY-LIBRARIES ```
* Find{BLAS,LAPACK}: Avoid clobbering results when no vendor is requestedBrad King2021-07-121-2/+2
| | | | | | | | | | | | Logic added by commit 4c74c86f40 (FindBLAS/LAPACK: Add support for the Fujitsu SSL2 library, 2021-01-27, v3.21.0-rc1~402^2~1) accidentally expressed a boolean condition without proper grouping. The pattern was then copied by commit 2c9e623e31 (Find{BLAS,LAPACK}: Add support for the NVHPC LAPACK library, 2021-05-05, v3.21.0-rc1~192^2). The resulting logic incorrectly tries Fujitsu and NVHPC vendors even after results are found from another vendor, and then erases those. Fix the grouping. Fixes: #22403
* Merge topic 'FindBLAS-LAPACK-docs'Brad King2021-06-141-66/+25
|\ | | | | | | | | | | | | | | | | | | | | | | 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-111-6/+13
| | | | | | | | Fixes: #22295
| * Find{BLAS,LAPACK}: Move enabled language requirement to top of documentationBrad King2021-06-111-1/+2
| |
| * Find{BLAS,LAPACK}: Revise formatting of intro docsBrad King2021-06-111-1/+3
| |
| * Find{BLAS,LAPACK}: Move implementation note from docs to commentsBrad King2021-06-111-4/+3
| |
| * Find{BLAS,LAPACK}: Revise imported targets documentation layoutBrad King2021-06-111-3/+3
| |
| * Find{BLAS,LAPACK}: Factor out vendor documentationBrad King2021-06-111-52/+2
| | | | | | | | | | 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-111-1/+3
|/ | | | | Add search paths for the Intel oneAPI MKL directory structure so that we do not rely on paths in `LD_LIBRARY_PATH`.
* Find{BLAS,LAPACK}: Add support for the NVHPC LAPACK libraryRobert Maynard2021-05-051-0/+20
|
* FindLAPACK: Fix finding generic LAPACK with BLA_STATICBrad King2021-04-211-1/+9
| | | | Fixes: #21071
* Find{BLAS,LAPACK}: Simplify search for static librariesBrad King2021-04-211-25/+13
| | | | | | | | Now that `CHECK_{BLAS,LAPACK}_LIBRARIES` are functions, we can set `CMAKE_FIND_LIBRARY_SUFFIXES` locally without affecting the global state. This avoids the need for local state switching that was added in commit 9ef82d95d8 (FindBLAS: Fix detection of OpenMP as dependency of BLA_STATIC, 2021-04-07, v3.20.1~3^2), so remove that.
* Find{BLAS,LAPACK}: Simplify check_function_exists state maintenanceBrad King2021-04-211-5/+1
| | | | | Now that `CHECK_{BLAS,LAPACK}_LIBRARIES` are functions, we can set `CMAKE_REQUIRED_QUIET` locally without affecting the global state.
* Find{BLAS,LAPACK}: Make library variable names more robustBrad King2021-04-141-5/+6
|
* Find{BLAS,LAPACK}: Generalize recognition of dependencies as link flagsBrad King2021-04-141-2/+2
|
* Find{BLAS,LAPACK}: Convert internal CHECK_*_LIBRARIES to functionsBrad King2021-04-141-26/+16
|
* Find{BLAS,LAPACK}: Clarify name of internal argument for dependenciesBrad King2021-04-141-5/+5
|
* Find{BLAS,LAPACK}: Simplify appending to list of librariesBrad King2021-04-141-3/+3
|
* Find{BLAS,LAPACK}: Revert bad refactoring of internal CHECK_*_LIBRARIESBrad King2021-04-141-7/+9
| | | | | | | | | | | | | | | | | | | Refactoring in commit 4c74c86f40 (FindBLAS/LAPACK: Add support for the Fujitsu SSL2 library, 2021-01-27) was done in order to support calling `find_library` on the dependencies as well as the candidate libraries. However, it broke a few things: * Intel MKL's BLAS/LAPACK are no longer found. We specify their dependencies using `-l...` flags, so we should not try to use `find_library` for them. * The dependencies are repeated because we accumulate them in the `find_library` search loop and then append them at the end too. Revert the incorrect part of the refactoring. Retain the flags part needed for the Fujitsu vendor. Fixes: #22056
* FindBLAS/LAPACK: Add support for the Fujitsu SSL2 libraryChuck Atkins2021-03-311-16/+67
| | | | | | | | 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>
* FindLAPACK: Add pkgconfig supportFlorent Pruvost2021-01-141-16/+42
| | | | | | - mimic FindBLAS Fixes: #21700
* Find{BLAS,LAPACK}: Add support for Elbrus Math LibraryIgor S. Gerasimov2020-12-091-0/+29
| | | | http://mossigplan.acm.org/EML_introduction_engl.pdf
* Help: Add `.. versionadded` directives to module docsNikita Nemkin2020-12-021-0/+21
| | | | Issue: #19715
* Find{BLAS,LAPACK}: Add support for FlexiBLASMattias Ellert2020-09-141-0/+17
| | | | http://www.mpi-magdeburg.mpg.de/mpcsc/software/FlexiBLAS/
* FindLAPACK: Use find_package_handle_standard_argsSeth R Johnson2020-08-071-296/+276
| | | | LAPACK previously used custom and verbose output messages.
* Merge topic 'find-blas-lapack-mklroot-win'Brad King2020-07-081-1/+1
|\ | | | | | | | | | | | | | | 196f042b58 FindLAPACK: Handle Windows Intel MKLROOT with backslash 96c19ecd55 FindBLAS: Handle Windows Intel MKLROOT with backslash Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4982