pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/eigen3



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Tue Sep 13 14:57:39 UTC 2016

Modified Files:
        pkgsrc/math/eigen3: Makefile distinfo
        pkgsrc/math/eigen3/patches: patch-CMakeLists.txt
Removed Files:
        pkgsrc/math/eigen3/patches: patch-eigen3.pc.in

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/eigen3/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/math/eigen3/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/eigen3/patches/patch-CMakeLists.txt
cvs rdiff -u -r1.1 -r0 pkgsrc/math/eigen3/patches/patch-eigen3.pc.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/eigen3/Makefile
diff -u pkgsrc/math/eigen3/Makefile:1.7 pkgsrc/math/eigen3/Makefile:1.8
--- pkgsrc/math/eigen3/Makefile:1.7     Fri Sep  2 16:58:13 2016
+++ pkgsrc/math/eigen3/Makefile Tue Sep 13 14:57:39 2016
@@ -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

Index: pkgsrc/math/eigen3/distinfo
diff -u pkgsrc/math/eigen3/distinfo:1.8 pkgsrc/math/eigen3/distinfo:1.9
--- pkgsrc/math/eigen3/distinfo:1.8     Fri Sep  2 09:37:25 2016
+++ pkgsrc/math/eigen3/distinfo Tue Sep 13 14:57:39 2016
@@ -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

Index: pkgsrc/math/eigen3/patches/patch-CMakeLists.txt
diff -u pkgsrc/math/eigen3/patches/patch-CMakeLists.txt:1.2 pkgsrc/math/eigen3/patches/patch-CMakeLists.txt:1.3
--- pkgsrc/math/eigen3/patches/patch-CMakeLists.txt:1.2 Wed May 29 22:58:25 2013
+++ pkgsrc/math/eigen3/patches/patch-CMakeLists.txt     Tue Sep 13 14:57:39 2016
@@ -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"
+     )
  



Home | Main Index | Thread Index | Old Index