Strip lapacke.h to only the declarations used by Eigen

libeigen/eigen!2322

Closes #2851
This commit is contained in:
Pavel Guzenfeld
2026-03-28 03:16:46 +00:00
committed by Rasmus Munk Larsen
parent cf508c096b
commit 90ca5bfd9a
5 changed files with 30 additions and 9890 deletions

View File

@@ -185,6 +185,8 @@ using std::ptrdiff_t;
#ifdef EIGEN_USE_LAPACKE
#ifdef EIGEN_USE_MKL
#include "mkl_lapacke.h"
#elif defined(EIGEN_LAPACKE_SYSTEM)
#include <lapacke.h>
#else
#include "src/misc/lapacke.h"
#endif