mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Strip lapacke.h to only the declarations used by Eigen
libeigen/eigen!2322 Closes #2851
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
cf508c096b
commit
90ca5bfd9a
@@ -185,6 +185,8 @@ using std::ptrdiff_t;
|
|||||||
#ifdef EIGEN_USE_LAPACKE
|
#ifdef EIGEN_USE_LAPACKE
|
||||||
#ifdef EIGEN_USE_MKL
|
#ifdef EIGEN_USE_MKL
|
||||||
#include "mkl_lapacke.h"
|
#include "mkl_lapacke.h"
|
||||||
|
#elif defined(EIGEN_LAPACKE_SYSTEM)
|
||||||
|
#include <lapacke.h>
|
||||||
#else
|
#else
|
||||||
#include "src/misc/lapacke.h"
|
#include "src/misc/lapacke.h"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -49,6 +49,8 @@
|
|||||||
#ifdef EIGEN_USE_LAPACKE
|
#ifdef EIGEN_USE_LAPACKE
|
||||||
#ifdef EIGEN_USE_MKL
|
#ifdef EIGEN_USE_MKL
|
||||||
#include "mkl_lapacke.h"
|
#include "mkl_lapacke.h"
|
||||||
|
#elif defined(EIGEN_LAPACKE_SYSTEM)
|
||||||
|
#include <lapacke.h>
|
||||||
#else
|
#else
|
||||||
#include "src/misc/lapacke.h"
|
#include "src/misc/lapacke.h"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -40,6 +40,8 @@
|
|||||||
#ifdef EIGEN_USE_LAPACKE
|
#ifdef EIGEN_USE_LAPACKE
|
||||||
#ifdef EIGEN_USE_MKL
|
#ifdef EIGEN_USE_MKL
|
||||||
#include "mkl_lapacke.h"
|
#include "mkl_lapacke.h"
|
||||||
|
#elif defined(EIGEN_LAPACKE_SYSTEM)
|
||||||
|
#include <lapacke.h>
|
||||||
#else
|
#else
|
||||||
#include "src/misc/lapacke.h"
|
#include "src/misc/lapacke.h"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -24,7 +24,7 @@ fi
|
|||||||
|
|
||||||
# External-dependency modules that require third-party headers we don't have,
|
# External-dependency modules that require third-party headers we don't have,
|
||||||
# and utility-only directories with no standalone module header.
|
# and utility-only directories with no standalone module header.
|
||||||
SKIP_MODULES="AccelerateSupport|CholmodSupport|KLUSupport|MetisSupport|PaStiXSupport|PardisoSupport|SPQRSupport|SuperLUSupport|UmfPackSupport|TensorUtil"
|
SKIP_MODULES="AccelerateSupport|CholmodSupport|KLUSupport|MetisSupport|PaStiXSupport|PardisoSupport|SPQRSupport|SuperLUSupport|UmfPackSupport|TensorUtil|misc"
|
||||||
|
|
||||||
# Get changed files (Added, Modified, Renamed).
|
# Get changed files (Added, Modified, Renamed).
|
||||||
CHANGED_FILES=$(git diff --name-only --diff-filter=AMR "${BASE_SHA}" HEAD)
|
CHANGED_FILES=$(git diff --name-only --diff-filter=AMR "${BASE_SHA}" HEAD)
|
||||||
|
|||||||
Reference in New Issue
Block a user