2013-09-05 15:53:27 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# eigen
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-03-22 00:00:10 +01:00
|
|
|
EIGEN_VERSION = 3.3.7
|
2020-06-15 20:49:11 +02:00
|
|
|
EIGEN_SOURCE = eigen-$(EIGEN_VERSION).tar.bz2
|
2021-03-28 21:13:51 +02:00
|
|
|
EIGEN_SITE = $(call gitlab,libeigen,eigen,$(EIGEN_VERSION))
|
2017-03-30 15:43:38 +02:00
|
|
|
EIGEN_LICENSE = MPL2, BSD-3-Clause, LGPL-2.1
|
2013-09-05 15:53:27 +02:00
|
|
|
EIGEN_LICENSE_FILES = COPYING.MPL2 COPYING.BSD COPYING.LGPL COPYING.README
|
|
|
|
EIGEN_INSTALL_STAGING = YES
|
|
|
|
EIGEN_INSTALL_TARGET = NO
|
2020-06-15 20:49:11 +02:00
|
|
|
EIGEN_SUPPORTS_IN_SOURCE_BUILD = NO
|
2013-09-05 15:53:27 +02:00
|
|
|
|
2020-06-15 20:49:11 +02:00
|
|
|
# Default Eigen CMake installs .pc file in /usr/share/pkgconfig
|
|
|
|
# change it to /usr/lib/pkgconfig, to be consistent with other packages.
|
2021-08-19 16:25:58 +02:00
|
|
|
EIGEN_CONF_OPTS = -DPKGCONFIG_INSTALL_DIR=/usr/lib/pkgconfig \
|
|
|
|
-DCMAKE_Fortran_COMPILER=$(TARGET_FC)
|
2014-03-31 00:30:30 +02:00
|
|
|
|
2020-06-15 20:49:11 +02:00
|
|
|
$(eval $(cmake-package))
|