pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/eigen3 Update to 3.3.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1141a0cc9c82
branches:  trunk
changeset: 320740:1141a0cc9c82
user:      wen <wen%pkgsrc.org@localhost>
date:      Sat Mar 09 14:14:39 2019 +0000

description:
Update to 3.3.7

Upstream changes:
Eigen 3.3.7

Released on December 11, 2018.

Changes since 3.3.6:

    Bug 1643: Fix compilation with GCC>=6 and compiler optimization turned off.

Eigen 3.3.6

Released on December 10, 2018.

Changes since 3.3.5:

    Bug 1617: Fix triangular solve crashing for empty matrix.
    Bug 785: Make dense Cholesky decomposition work for empty matrices.
    Bug 1634: Remove double copy in move-ctor of non movable Matrix/Array.
    Changeset 588e1eb34eff: Workaround weird MSVC bug.
    Bug 1637 Workaround performance regression in matrix products with gcc>=6 and clang>=6.0.
    Changeset bf0f100339c1: Fix some implicit 0 to Scalar conversions.
    Bug 1605: Workaround ABI issue with vector types (aka __m128) versus scalar types (aka float).
    Changeset d1421c479baa: Fix for gcc<4.6 regarding usage of #pragma GCC diagnostic push/pop.
    Changeset c20b83b9d736: Fix conjugate-gradient for right-hand-sides with a very small magnitude.
    Changeset 281a877a3bf7: Fix product of empty arrays (returned 0 instead of 1).
    Bug 1590: Fix collision with some system headers defining the macro FP32.
    Bug 1584: Fix possible undefined behavior in random generation.
    Changeset d632d18db8ca: Fix fallback to BLAS for rankUpdate.
    Fixes for NVCC 9.
    Fix matrix-market IO.
    Various fixes in the doc.
    Various minor warning fixes/workarounds.

Eigen 3.3.5

Released on July 23, 2018.

Changes since 3.3.4:

    General bug fixes:
        Fix GeneralizedEigenSolver when requesting for eigenvalues only (0d15855abb30)
        Bug 1560 fix product with a 1x1 diagonal matrix (90d7654f4a59)
        Bug 1543: fix linear indexing in generic block evaluation
        Fix compilation of product with inverse transpositions (e.g., mat * Transpositions().inverse()) (14a13748d761)
        Bug 1509: fix computeInverseWithCheck for complexes (8be258ef0b6d)
        Bug 1521: avoid signalling NaN in hypot and make it std::complex<> friendly (a9c06b854991).
        Bug 1517: fix triangular product with unit diagonal and nested scaling factor: (s*A).triangularView<UpperUnit>()*B (a546d43bdd4f)
        Fix compilation of stableNorm for some odd expressions as input (499e982b9281)
        Bug 1485: fix linking issue of non template functions (ae28c2aaeeda)
        Fix overflow issues in BDCSVD (92060f82e1de)
        Bug 1468 : add missing std:: to memcpy (4565282592ae)
        Bug 1453: fix Map with non-default inner-stride but no outer-stride (af00212cf3a4)
        Fix mixing types in sparse matrix products (7e5fcd0008bd)
        Bug 1544: Generate correct Q matrix in complex case (c0c410b508a1)
        Bug 1461: fix compilation of Map<const Quaternion>::x() (69652a06967d)

    Backends:
        Fix MKL backend for symmetric eigenvalues on row-major matrices (4726d6a24f69)
        Bug 1527: fix support for MKL's VML (972424860545)
        Fix incorrect ldvt in LAPACKE call from JacobiSVD (88c4604601b9)
        Fix support for MKL's BLAS when using MKL_DIRECT_CALL (205731b87e19, b88c70c6ced7, 46e2367262e1)
        Use MKL's lapacke.h header when using MKL (19bc9df6b726)

    Diagnostics:
        Bug 1516: add assertion for out-of-range diagonal index in MatrixBase::diagonal(i) (783d38b3c78c)
        Add static assertion for fixed sizes Ref<> (e1203d5ceb8e)
        Add static assertion on selfadjoint-view's UpLo parameter. (b84db94c677e, 0ffe8a819801)
        Bug 1479: fix failure detection in LDLT (67719139abc3)

    Compiler support:
        Bug 1555: compilation fix with XLC
        Workaround MSVC 2013 ambiguous calls (1c7b59b0b5f4)
        Adds missing EIGEN_STRONG_INLINE to help MSVC properly inlining small vector calculations (1ba3f10b91f2)
        Several minor warning fixes: 3c87fc0f1042, ad6bcf0e8efc, "used uninitialized" (20efc44c5500), Wint-in-bool-context (131da2cbc695, b4f969795d1b)
        Bug 1428: make NEON vectorization compilable by MSVC. (* 3d1b3dbe5927, 4e1b7350182a)
        Fix compilation and SSE support with PGI compiler (faabf000855d 90d33b09040f)
        Bug 1555: compilation fix with XLC (23eb37691f14)
        Bug 1520: workaround some -Wfloat-equal warnings by calling std::equal_to (7d9a9456ed7c)
        Make the TensorStorage class compile with clang 3.9 (eff7001e1f0a)
        Misc: some old compiler fixes (493691b29be1)
        Fix MSVC warning C4290: C++ exception specification ignored except to indicate a function is not __declspec(nothrow) (524918622506)

    Architecture support:
        Several AVX512 fixes for log, sqrt, rsqrt, non AVX512ER CPUs, apply_rotation_in_the_plane b64275e912ba cab3d626a59e 7ce234652ab9, d89b9a754371.
        AltiVec fixes: 9450038e380d
        NEON fixes: const-cast (e8a69835ccda), compilation of Jacobi rotations (c06cfd545b15,bug 1436).
        Changeset d0658cc9d4a2: Define pcast<> for SSE types even when AVX is enabled. (otherwise float are silently reinterpreted as int instead of being converted)
        Bug 1494: makes pmin/pmax behave on Altivec/VSX as on x86 regarding NaNs (d0af83f82b19)

    Documentation:
        Update manual pages regarding BDCSVD (bug 1538)
        Add aliasing in common pitfaffs (2a5a8408fdc5)
        Update aligned_allocator (21e03aef9f2b)
        Bug 1456: add perf recommendation for LLT and storage format (c8c154ebf130, 9aef1e23dbe0)
        Bug 1455: Cholesky module depends on Jacobi for rank-updates (2e6e26b851a8)
        Bug 1458: fix documentation of LLT and LDLT info() method (2a4cf4f473dd)
        Warn about constness in LLT::solveInPlace (518f97b69bdf)
        Fix lazyness of operator* with CUDA (c4dbb556bd36)
        Bug 336: improve doc for PlainObjectBase::Map (13dc446545fe)

    Other general improvements:
        Enable linear indexing in generic block evaluation (31537598bf83, 5967bc3c2cdb, bug 1543).
        Fix packet and alignment propagation logic of Block<Xpr> expressions. In particular, (A+B).col(j) now preserve vectorisation. (b323cc9c2c7f)
        Several fixes regarding custom scalar type support: hypot (f8d6c791791d), boost-multiprec (acb8ef9b2478), literal casts (6bbd97f17534, 39f65d65894f),
        LLT: avoid making a copy when decomposing in place (2f7e28920f4e), const the arg to solveInPlace() to allow passing .transpose(), .block(), etc. (c31c0090e998).
        Add possibility to overwrite EIGEN_STRONG_INLINE (7094bbdf3f4d)
        Bug 1528: use numeric_limits::min() instead of 1/highest() that might underflow (dd823c64ade7)
        Bug 1532: disable stl::*_negate in C++17 (they are deprecated) (88e9452099d5)
        Add C++11 max_digits10 for half (faf74dde8ed1)
        Make sparse QR result sizes consistent with dense QR (4638bc4d0f96)

    Unsupported/unit-tests/cmake/unvisible internals/etc.
        Bug 1484: restore deleted line for 128 bits long doubles, and improve dispatching logic. (dffc0f957f19)
        Bug 1462: remove all occurences of the deprecated __CUDACC_VER__ macro by introducing EIGEN_CUDACC_VER (a201b8438d36)
        Changeset 2722aa8eb93f: Fix oversharding bug in parallelFor.
        Changeset ea1db80eab46: commit 45e9c9996da790b55ed9c4b0dfeae49492ac5c46 (HEAD -> memory_fix)
        Changeset 350957be012c: Fix int versus Index
        Changeset 424038431015: fix linking issue
        Changeset 3f938790b7e0: Fix short vs long
        Changeset ba14974d054a: Fix cmake scripts with no fortran compiler
        Changeset 2ac088501976: add cmake-option to enable/disable creation of tests
        Changeset 56996c54158b: Use col method for column-major matrix
        Changeset 762373ca9793: Bug 1449: fix redux_3 unit test
        Changeset eda96fd2fa30: Fix uninitialized output argument.
        Changeset 75a12dff8ca4: Handle min/max/inf/etc issue in cuda_fp16.h directly in test/main.h
        Changeset 568614bf79b8: Add tests for sparseQR results (value and size) covering bugs 1522 and 1544
        Changeset 12c9ece47d14: SelfAdjointView<...,Mode> causes a static assert since commit c73a77e47db8
        Changeset 899fd2ef704f: weird compilation issue in mapped_matrix.cpp

Eigen 3.3.4

Released on June 15, 2017.

Changes since 3.3.3:

    General:
        Improve speed of Jacobi rotation when mixing complex and real types.
        Bug 1405: enable StrictlyLower/StrictlyUpper triangularView as the destination of matrix*matrix products.
        UmfPack support: enable changes in the control settings and add report functions.
        Bug 1423: fix LSCG's Jacobi preconditioner for row-major matrices.
        Bug 1424: fix compilation issue with abs and unsigned integers as scalar type.
        Bug 1410: fix lvalue propagation of Array/Matrix-Wrapper with a const nested expression.
        Bug 1403: fix several implicit scalar type conversion making SVD decompositions compatible with ceres::Jet.
        Fix some real-to-scalar-to-real useless conversions in ColPivHouseholderQR.
    Regressions:
        Fix dense * sparse-selfadjoint-view product.
        Bug 1417: make LinSpace compatible with std::complex.
        Bug 1400: fix stableNorm alignment issue with EIGEN_DONT_ALIGN_STATICALLY.
        Bug 1411: fix alignment issue in Quaternion.
        Fix compilation of operations between nested Arrays.
        Bug 1435: fix aliasing issue in expressions like: A = C - B*A.
    Others:
        Fix compilation with gcc 4.3 and ARM NEON.
        Fix prefetches on ARM64 and ARM32.
        Fix out-of-bounds check in COLAMD.
        Few minor fixes regarding nvcc/CUDA support, including bug 1396.
        Improve cmake scripts for Pastix and BLAS detection.
        Bug 1401: fix compilation of "cond ? x : -x" with x an AutoDiffScalar
        Fix compilation of matrix log with Map as input.
        Add specializations of std::numeric_limits for Eigen::half and and AutoDiffScalar
        Fix compilation of streaming nested Array, i.e., cout << Array<Array<>>

diffstat:

 math/eigen3/Makefile                                   |   6 +++---
 math/eigen3/PLIST                                      |   3 ++-
 math/eigen3/distinfo                                   |  10 +++++-----
 math/eigen3/patches/patch-bench_spbench_CMakeLists.txt |  15 ---------------
 4 files changed, 10 insertions(+), 24 deletions(-)

diffs (73 lines):

diff -r f797de8778ba -r 1141a0cc9c82 math/eigen3/Makefile
--- a/math/eigen3/Makefile      Sat Mar 09 14:12:06 2019 +0000
+++ b/math/eigen3/Makefile      Sat Mar 09 14:14:39 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2017/09/14 11:21:03 prlw1 Exp $
+# $NetBSD: Makefile,v 1.10 2019/03/09 14:14:39 wen Exp $
 
-DISTNAME=      3.3.4
+DISTNAME=      3.3.7
 PKGNAME=       eigen3-${DISTNAME}
 CATEGORIES=    math
 MASTER_SITES=   http://bitbucket.org/eigen/eigen/get/
@@ -16,7 +16,7 @@
 USE_CMAKE= yes
 CMAKE_ARG_PATH= ..
 CONFIGURE_DIRS= _build
-WRKSRC=                ${WRKDIR}/eigen-eigen-5a0156e40feb
+WRKSRC=                ${WRKDIR}/eigen-eigen-323c052e1731
 
 CMAKE_ARGS+=   -DCMAKEPACKAGE_INSTALL_DIR=${PREFIX}/lib/cmake/eigen3
 CMAKE_ARGS+=   -DPKGCONFIG_INSTALL_DIR=${PREFIX}/lib/pkgconfig
diff -r f797de8778ba -r 1141a0cc9c82 math/eigen3/PLIST
--- a/math/eigen3/PLIST Sat Mar 09 14:12:06 2019 +0000
+++ b/math/eigen3/PLIST Sat Mar 09 14:14:39 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2017/09/14 11:21:03 prlw1 Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/03/09 14:14:39 wen Exp $
 include/eigen3/Eigen/Cholesky
 include/eigen3/Eigen/CholmodSupport
 include/eigen3/Eigen/Core
@@ -114,6 +114,7 @@
 include/eigen3/Eigen/src/Core/arch/CUDA/PacketMath.h
 include/eigen3/Eigen/src/Core/arch/CUDA/PacketMathHalf.h
 include/eigen3/Eigen/src/Core/arch/CUDA/TypeCasting.h
+include/eigen3/Eigen/src/Core/arch/Default/ConjHelper.h
 include/eigen3/Eigen/src/Core/arch/Default/Settings.h
 include/eigen3/Eigen/src/Core/arch/NEON/Complex.h
 include/eigen3/Eigen/src/Core/arch/NEON/MathFunctions.h
diff -r f797de8778ba -r 1141a0cc9c82 math/eigen3/distinfo
--- a/math/eigen3/distinfo      Sat Mar 09 14:12:06 2019 +0000
+++ b/math/eigen3/distinfo      Sat Mar 09 14:14:39 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2017/09/14 11:21:03 prlw1 Exp $
+$NetBSD: distinfo,v 1.11 2019/03/09 14:14:39 wen Exp $
 
-SHA1 (eigen3/3.3.4.tar.bz2) = e52d7d7a8c81f5ee0699e63ae3b78fe8214380a5
-RMD160 (eigen3/3.3.4.tar.bz2) = ba7687fbb66abae7ae68769877554d1a6a4004de
-SHA512 (eigen3/3.3.4.tar.bz2) = d67a3fd8f7ce811af65fc1d43ec347dadf9c643a49135f7e455fc303773bad09e80a125282c7dfca7a1993b79e1f66576ac92418119fbb0fa50c1a581b957c0d
-Size (eigen3/3.3.4.tar.bz2) = 1657543 bytes
+SHA1 (eigen3/3.3.7.tar.bz2) = a06faa6f358d5d1ca0da7cddb95da39e436dc9e8
+RMD160 (eigen3/3.3.7.tar.bz2) = 3330627708f54055a282ccfbae395f2b2f0885e9
+SHA512 (eigen3/3.3.7.tar.bz2) = c12bfd034d0a1112bf2df3f773ad98f36b2b53fbbfceac5f143ee1793322746fb8a6546d7db7da2a1000da6a535bd8cea0c4125b549afc90a6570743b02dcf3d
+Size (eigen3/3.3.7.tar.bz2) = 1665168 bytes
 SHA1 (patch-bench_spbench_CMakeLists.txt) = f6380b35d01e744782f0e7e749b5573226f224a2
diff -r f797de8778ba -r 1141a0cc9c82 math/eigen3/patches/patch-bench_spbench_CMakeLists.txt
--- a/math/eigen3/patches/patch-bench_spbench_CMakeLists.txt    Sat Mar 09 14:12:06 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-bench_spbench_CMakeLists.txt,v 1.1 2017/09/14 11:21:03 prlw1 Exp $
-
-Make logical black arguments match.
-
---- bench/spbench/CMakeLists.txt.orig  2017-06-15 07:10:20.000000000 +0000
-+++ bench/spbench/CMakeLists.txt
-@@ -60,7 +60,7 @@ if(PASTIX_FOUND AND PASTIX_pastix_nompi.
-   endif(SCOTCH_FOUND)
-   set(SPARSE_LIBS ${SPARSE_LIBS} ${PASTIX_LIBRARIES_DEP} ${ORDERING_LIBRARIES})
-   set(PASTIX_ALL_LIBS ${PASTIX_LIBRARIES_DEP})
--endif(PASTIX_FOUND AND BLAS_FOUND)
-+endif(PASTIX_FOUND AND PASTIX_pastix_nompi.h_INCLUDE_DIRS AND BLAS_FOUND)
- 
- if(METIS_FOUND)
-   include_directories(${METIS_INCLUDE_DIRS})



Home | Main Index | Thread Index | Old Index