Skip to content

Commit

Permalink
Handle the possibility of OpenBLAS not including LAPACK APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
rgommers committed Jan 8, 2023
1 parent e213fb4 commit 484833b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/markdown/Dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ These dependencies can never be found for non-OSX hosts.

## BLAS and LAPACK

*(added 0.64.0)*
*(added 1.1.0)*

Enables compiling and linking against BLAS and LAPACK libraries. BLAS and
LAPACK are generic APIs, which can be provided by a number of different
Expand Down Expand Up @@ -374,6 +374,7 @@ openblas_dep = dependency('openblas',
'interface: ilp64', # can be lp64 or ilp64 (or auto?)
'symbol-suffix: 64_', # check/auto-detect? default to 64_ or no suffix?
'cblas',
'lapack', # OpenBLAS can be built without LAPACK support
]
)
Expand Down
2 changes: 2 additions & 0 deletions mesonbuild/dependencies/blas_lapack.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
Other Notes:
- OpenBLAS can be built with NOFORTRAN, in that case it's CBLAS + f2c'd LAPACK
- OpenBLAS can be built without LAPACK support, Arch Linux currently does this
(see https://github.com/scipy/scipy/issues/17465)
- OpenBLAS library can be renamed with an option in its Makefile
- Build options:
- conda-forge: https://github.com/conda-forge/openblas-feedstock/blob/49ca08fc9d1ff220804aa9b894b9a6fe5db45057/recipe/conda_build_config.yaml
Expand Down

0 comments on commit 484833b

Please sign in to comment.