Skip to content

Commit 90d6ae2

Browse files
authored
Metapackage for BLAS (#161)
1 parent 596d6db commit 90d6ae2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pages/spec/metapackages.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,3 +153,16 @@ The `netcdf` metapackage will automatically link against the NetCDF Fortran and
153153
It exposes the `netcdf` module for Fortran90, `netcdf_f03` and `netcdf4_f03` for
154154
Fortran 2003, as well as the underlying lower-level modules. Similar to HDF5, `fpm`
155155
uses `pkg-config` to find a valid local NetCDF installation.
156+
157+
158+
## BLAS
159+
160+
```{code-block} toml
161+
:emphasize-lines: 2
162+
name = "my_linear_algebra_app"
163+
dependencies.blas = "*"
164+
```
165+
166+
The `blas` metapackage will automatically discover and link against BLAS libraries.
167+
The search order is `Apple Accelerate`, `Intel MKL`, `OpenBLAS` and finally usual `BLAS`.
168+
=======

0 commit comments

Comments
 (0)