[GRASS-git] [OSGeo/grass] d5bb44: lib/gmath: use C interface to BLAS and LAPACK libr...
Nicklas Larsson
noreply at github.com
Thu Sep 19 00:03:48 PDT 2024
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: d5bb442d7b121861928a37842e05e5265a980427
https://github.com/OSGeo/grass/commit/d5bb442d7b121861928a37842e05e5265a980427
Author: Nicklas Larsson <n_larsson at yahoo.com>
Date: 2024-09-19 (Thu, 19 Sep 2024)
Changed paths:
M .github/workflows/apt.txt
M .github/workflows/macos_dependencies.txt
M .github/workflows/macos_install.sh
M .github/workflows/osgeo4w.yml
M configure
M configure.ac
R include/grass/blas.h
M include/grass/config.h.in
M include/grass/la.h
R include/grass/lapack.h
M lib/gmath/ATLAS_wrapper_blas_level_1.c
M lib/gmath/Makefile
M lib/gmath/la.c
M mswindows/osgeo4w/build_osgeo4w.sh
Log Message:
-----------
lib/gmath: use C interface to BLAS and LAPACK libraries (#4247)
Replace outdated direct use of Fortran libraries via g2c.h, f2c.h
or private prototypes, with the C interface API and libraries
CBLAS and LAPACKE. This simplifies our own code and makes
it easier to maintain and expand.
Configure is simplified to use pkg-config to retrieve INC and
LIB info. `--with-blas` defaults to `--with-blas=cblas` where "cblas"
is the pkg-config package name; `---with-lapack` defaults to
`--with-lapack=lapacke`.
If the default fails the test a list of package names are tested:
- BLAS package names tested: cblas blas-netlib openblas blas-atlas
- LAPACKE package name tested: lapacke openblas
- CI(Linux): replace libopenblas-dev with liblapacke-dev dependency
- CI(macOS): replace blas and lapack with openblas dependency
- CI(Windows): replace lapack with openblas dependency
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list