diff options
author | prlw1 <prlw1> | 2016-09-13 14:57:39 +0000 |
---|---|---|
committer | prlw1 <prlw1> | 2016-09-13 14:57:39 +0000 |
commit | 5c2e12dba88b038ed2f74f465f32fe4788db1342 (patch) | |
tree | a26bfa7b5bfaecefce5e44020c2493fcc02a83b8 | |
parent | 397ec8211a7c4535a8be187ee2d34c0dcfb3de08 (diff) | |
download | pkgsrc-5c2e12dba88b038ed2f74f465f32fe4788db1342.tar.gz |
Update eigen3 to 3.2.9
Eigen 3.2.9
Released on July 18, 2016
Changes since 3.2.8:
* Main fixes and improvements:
+ Improve numerical robustness of JacobiSVD (backported from 3.3)
+ Bug 1017: prevents underflows in makeHouseholder
+ Fix numerical accuracy issue in the extraction of complex
eigenvalue pairs in real generalized eigenvalue problems.
+ Fix support for vector.homogeneous().asDiagonal()
+ Bug 1238: fix SparseMatrix::sum() overload for un-compressed mode
+ Bug 1213: workaround gcc linking issue with anonymous enums.
+ Bug 1236: fix possible integer overflow in sparse-sparse product
+ Improve detection of identical matrices when applying a
permutation (e.g., mat = perm * mat)
+ Fix usage of nesting type in blas_traits. In practice, this
fixes compilation of expressions such as A*(A*A)^T
+ CMake: fixes support of Ninja generator
+ Add a StorageIndex typedef to sparse matrices and expressions
to ease porting code to 3.3 (see
http://eigen.tuxfamily.org/index.php?title=3.3#Index_typedef)
+ Bug 1200: make aligned_allocator c++11 compatible (backported from 3.3)
+ Bug 1182: improve generality of abs2 (backported from 3.3)
+ Bug 537: fix compilation of Quaternion with Apples's compiler
+ Bug 1176: allow products between compatible scalar types
+ Bug 1172: make valuePtr and innerIndexPtr properly return null
for empty sparse matrices.
+ Bug 1170: skip calls to memcpy/memmove for empty inputs.
* Others:
+ Bug 1242: fix comma initializer with empty matrices.
+ Improves support for MKL's PARDISO solver.
+ Fix a compilation issue with Pastix solver.
+ Add some missing explicit scalar conversions
+ Fix a compilation issue with matrix exponential (unsupported
MatrixFunctions module).
+ Bug 734: fix a storage order issue in unsupported Spline module
+ Bug 1222: fix a compilation issue in AutoDiffScalar
+ Bug 1221: shutdown some GCC6's warnings.
+ Bug 1175: fix index type conversion warnings in sparse to
dense conversion.
Eigen 3.2.8
Released on February 16, 2016
Changes since 3.2.7:
* Main fixes and improvements:
+ Make FullPivLU::solve use rank() instead of nonzeroPivots().
+ Add EIGEN_MAPBASE_PLUGIN
+ Bug 1166: fix issue in matrix-vector products when the
destination is not a vector at compile-time.
+ Bug 1100: Improve cmake/pkg-config support.
+ Bug 1113: fix name conflict with C99's "I".
+ Add missing delete operator overloads in
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
+ Fix (A*B).maxCoeff(i) and similar.
+ Workaround an ICE with VC2015 Update1 x64.
+ Bug 1156: fix several function declarations whose arguments
were passed by value instead of being passed by reference
+ Bug 1164: fix std::list and std::deque specializations such
that our aligned allocator is automatically activatived only
when the user did not specified an allocator (or specified the
default std::allocator).
* Others:
+ Fix BLAS backend (aka MKL) for empty matrix products.
+ Bug 1134: fix JacobiSVD pre-allocation.
+ Bug 1111: fix infinite recursion in
sparse-column-major.row(i).nonZeros() (it now produces a
compilation error)
+ Bug 1106: workaround a compilation issue in Sparse module for
msvc-icc combo
+ Bug 1153: remove the usage of __GXX_EXPERIMENTAL_CXX0X__ to
detect C++11 support
+ Bug 1143: work-around gcc bug in COLAMD
+ Improve support for matrix products with empty factors.
+ Fix and clarify documentation of Transform wrt
operator*(MatrixBase)
+ Add a matrix-free conjugate gradient example.
+ Fix cost computation in CwiseUnaryView (internal)
+ Remove custom unaligned loads for SSE.
+ Some warning fixes.
+ Several other documentation clarifications.
-rw-r--r-- | math/eigen3/Makefile | 11 | ||||
-rw-r--r-- | math/eigen3/distinfo | 13 | ||||
-rw-r--r-- | math/eigen3/patches/patch-CMakeLists.txt | 37 | ||||
-rw-r--r-- | math/eigen3/patches/patch-eigen3.pc.in | 10 |
4 files changed, 22 insertions, 49 deletions
diff --git a/math/eigen3/Makefile b/math/eigen3/Makefile index 34a2ec914f1..01ad5f78ac5 100644 --- a/math/eigen3/Makefile +++ b/math/eigen3/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2016/09/02 16:58:13 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2016/09/13 14:57:39 prlw1 Exp $ -DISTNAME= 3.2.7 -PKGNAME= eigen3-3.2.7 -PKGREVISION= 1 +DISTNAME= 3.2.9 +PKGNAME= eigen3-${DISTNAME} CATEGORIES= math MASTER_SITES= http://bitbucket.org/eigen/eigen/get/ DIST_SUBDIR= eigen3 @@ -17,7 +16,9 @@ USE_LANGUAGES+= c c++ USE_CMAKE= yes CMAKE_ARG_PATH= .. CONFIGURE_DIRS= _build -WRKSRC= ${WRKDIR}/eigen-eigen-b30b87236a1b +WRKSRC= ${WRKDIR}/eigen-eigen-dc6cfdf9bcec + +PKGCONFIG_OVERRIDE+= eigen.pc.in pre-configure: ${MKDIR} ${WRKSRC}/_build diff --git a/math/eigen3/distinfo b/math/eigen3/distinfo index e940b7451f1..295b8f2645d 100644 --- a/math/eigen3/distinfo +++ b/math/eigen3/distinfo @@ -1,8 +1,7 @@ -$NetBSD: distinfo,v 1.8 2016/09/02 09:37:25 plunky Exp $ +$NetBSD: distinfo,v 1.9 2016/09/13 14:57:39 prlw1 Exp $ -SHA1 (eigen3/3.2.7.tar.bz2) = 6e22013ada087bc8ac07bcc0805c3dbb55f8e544 -RMD160 (eigen3/3.2.7.tar.bz2) = 5b44530da8a636f0295c926c5520303f111e3386 -SHA512 (eigen3/3.2.7.tar.bz2) = 6e9beb4fdd69d96a1bb305ea9463547c19cac0072ce908c19bf952d2b7a254c0d674d19a7797a3ba5e8617e1c1bca74dfb7c01971301cb152e467f13eaaed6cc -Size (eigen3/3.2.7.tar.bz2) = 1155162 bytes -SHA1 (patch-CMakeLists.txt) = aea4fd4e0043eb23e700dd72d0f6d80d125120e4 -SHA1 (patch-eigen3.pc.in) = 04c5137b8482e021d0e53e2e6cadf831a96cdfd4 +SHA1 (eigen3/3.2.9.tar.bz2) = 59ab81212f8eb2534b1545a9b42c38bf618a0d71 +RMD160 (eigen3/3.2.9.tar.bz2) = 0cbbc6c41414f0170d50ba40dc7b959f92587cef +SHA512 (eigen3/3.2.9.tar.bz2) = 2734ce70e0b04dc5839715a3cc9b8f90e05b341cfca42a7d586df213a9a14fe5642c76ccf36c16d020ae167c0d6e4d5cc306f0b3bf1f519c58372b0736ca7e63 +Size (eigen3/3.2.9.tar.bz2) = 1163762 bytes +SHA1 (patch-CMakeLists.txt) = a07ced9defd1fc059b2553c3d615dbdb5ac84bfd diff --git a/math/eigen3/patches/patch-CMakeLists.txt b/math/eigen3/patches/patch-CMakeLists.txt index 932e3b84b75..b40ed6e7c74 100644 --- a/math/eigen3/patches/patch-CMakeLists.txt +++ b/math/eigen3/patches/patch-CMakeLists.txt @@ -1,32 +1,15 @@ -$NetBSD: patch-CMakeLists.txt,v 1.2 2013/05/29 22:58:25 wiz Exp $ +$NetBSD: patch-CMakeLists.txt,v 1.3 2016/09/13 14:57:39 prlw1 Exp $ Use pkgsrc default path for pkg-config files. ---- CMakeLists.txt.orig 2013-03-31 22:44:57.000000000 +0000 +--- CMakeLists.txt.orig 2016-09-13 14:40:36.668263202 +0000 +++ CMakeLists.txt -@@ -284,24 +284,10 @@ install(FILES - DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel - ) - --if(EIGEN_BUILD_PKGCONFIG) -- SET(path_separator ":") -- STRING(REPLACE ${path_separator} ";" pkg_config_libdir_search "$ENV{PKG_CONFIG_LIBDIR}") -- message(STATUS "searching for 'pkgconfig' directory in PKG_CONFIG_LIBDIR ( $ENV{PKG_CONFIG_LIBDIR} ), ${CMAKE_INSTALL_PREFIX}/share, and ${CMAKE_INSTALL_PREFIX}/lib") -- FIND_PATH(pkg_config_libdir pkgconfig ${pkg_config_libdir_search} ${CMAKE_INSTALL_PREFIX}/share ${CMAKE_INSTALL_PREFIX}/lib ${pkg_config_libdir_search}) -- if(pkg_config_libdir) -- SET(pkg_config_install_dir ${pkg_config_libdir}) -- message(STATUS "found ${pkg_config_libdir}/pkgconfig" ) -- else(pkg_config_libdir) -- SET(pkg_config_install_dir ${CMAKE_INSTALL_PREFIX}/share) -- message(STATUS "pkgconfig not found; installing in ${pkg_config_install_dir}" ) -- endif(pkg_config_libdir) -- - configure_file(eigen3.pc.in eigen3.pc) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/eigen3.pc -- DESTINATION ${pkg_config_install_dir}/pkgconfig -+ DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" - ) --endif(EIGEN_BUILD_PKGCONFIG) - - add_subdirectory(Eigen) +@@ -304,7 +304,7 @@ set(CMAKEPACKAGE_INSTALL_DIR + CACHE PATH "The directory relative to CMAKE_PREFIX_PATH where Eigen3Config.cmake is installed" + ) + set(PKGCONFIG_INSTALL_DIR +- "${CMAKE_INSTALL_DATADIR}/pkgconfig" ++ "lib/pkgconfig" + CACHE PATH "The directory relative to CMAKE_PREFIX_PATH where eigen3.pc is installed" + ) diff --git a/math/eigen3/patches/patch-eigen3.pc.in b/math/eigen3/patches/patch-eigen3.pc.in deleted file mode 100644 index d951caa0dfa..00000000000 --- a/math/eigen3/patches/patch-eigen3.pc.in +++ /dev/null @@ -1,10 +0,0 @@ -$NetBSD: patch-eigen3.pc.in,v 1.1 2016/09/02 09:37:25 plunky Exp $ - ---- eigen3.pc.in.orig 2015-11-05 14:56:09.000000000 +0000 -+++ eigen3.pc.in -@@ -3,4 +3,4 @@ Description: A C++ template library for - Requires: - Version: ${EIGEN_VERSION_NUMBER} - Libs: --Cflags: -I${INCLUDE_INSTALL_DIR} -+Cflags: -I${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR} |