[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / math / eigen3

File: [cvs.NetBSD.org] / pkgsrc / math / eigen3 / Makefile (download)

Revision 1.9, Thu Sep 14 11:21:03 2017 UTC (4 years, 2 months ago) by prlw1
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.8: +6 -3 lines

Update eigen3 to 3.3.4

Changes that might impact existing code

   Eigen 3.3 fixes a few shortcomings that might impact existing code:
     * Eigen 3.3 clarifies the usage of the Index type in SparseMatrix,
       PermutationMatrix, Transpositions, as detailed below.
     * The normalize and normalized methods will now leave their input
       unchanged if its norm is 0 or too close to 0. Previously this
       resulted in a vector containing NaNs or infinities.
     * internal::significant_decimals_impl is deprecated and users of
       custom scalar types are encouraged to overload
       NumTraits<>::digits10().

In Eigen 3.3, the evaluation mechanism of expressions has been
completely rewritten.  c.f. http://eigen.tuxfamily.org/index.php?title=3.3

Looks as though C++11 support was added and Eigen 2 support removed.

Detailed changelog:
http://eigen.tuxfamily.org/index.php?title=ChangeLog#Eigen_3.3.4

# $NetBSD: Makefile,v 1.9 2017/09/14 11:21:03 prlw1 Exp $

DISTNAME=	3.3.4
PKGNAME=	eigen3-${DISTNAME}
CATEGORIES=	math
MASTER_SITES=   http://bitbucket.org/eigen/eigen/get/
DIST_SUBDIR=	eigen3
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://eigen.tuxfamily.org/
COMMENT=	C++ template library for linear algebra
LICENSE=	mpl-2.0

USE_LANGUAGES+= c c++
USE_CMAKE= yes
CMAKE_ARG_PATH= ..
CONFIGURE_DIRS= _build
WRKSRC=		${WRKDIR}/eigen-eigen-5a0156e40feb

CMAKE_ARGS+=	-DCMAKEPACKAGE_INSTALL_DIR=${PREFIX}/lib/cmake/eigen3
CMAKE_ARGS+=	-DPKGCONFIG_INSTALL_DIR=${PREFIX}/lib/pkgconfig

PKGCONFIG_OVERRIDE+=    eigen.pc.in

pre-configure:
	${MKDIR} ${WRKSRC}/_build

.include "../../mk/bsd.pkg.mk"