diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
commit | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (patch) | |
tree | 3cb05783d73b2c33589ba305144a31c718e123cd /dev-cpp/eigen/files | |
parent | 16449a80e28af2209916cc66d19c9a44ca2b90d9 (diff) |
gentoo resync : 03.03.2019
Diffstat (limited to 'dev-cpp/eigen/files')
-rw-r--r-- | dev-cpp/eigen/files/eigen-3.2.7-adaolc-backport.patch | 40 | ||||
-rw-r--r-- | dev-cpp/eigen/files/eigen-3.2.7-pastix-5.2-backport.patch | 42 | ||||
-rw-r--r-- | dev-cpp/eigen/files/eigen-3.3.5-fix-prototype.patch | 19 |
3 files changed, 0 insertions, 101 deletions
diff --git a/dev-cpp/eigen/files/eigen-3.2.7-adaolc-backport.patch b/dev-cpp/eigen/files/eigen-3.2.7-adaolc-backport.patch deleted file mode 100644 index 82547e11951a..000000000000 --- a/dev-cpp/eigen/files/eigen-3.2.7-adaolc-backport.patch +++ /dev/null @@ -1,40 +0,0 @@ -# HG changeset patch -# User Gael Guennebaud <g.gael@free.fr> -# Date 1448895622 -3600 -# Node ID e515e2706d00294a5749db7832d10ea366b9389f -# Parent eb4bf011a2ea5fc4ddb0aa5332d6e616198ed886 -Update ADOL-C support. - -diff --git a/unsupported/Eigen/AdolcForward b/unsupported/Eigen/AdolcForward ---- a/unsupported/Eigen/AdolcForward -+++ b/unsupported/Eigen/AdolcForward -@@ -25,7 +25,7 @@ - #ifndef NUMBER_DIRECTIONS - # define NUMBER_DIRECTIONS 2 - #endif --#include <adolc/adouble.h> -+#include <adolc/adtl.h> - - // adolc defines some very stupid macros: - #if defined(malloc) -diff --git a/unsupported/test/forward_adolc.cpp b/unsupported/test/forward_adolc.cpp ---- a/unsupported/test/forward_adolc.cpp -+++ b/unsupported/test/forward_adolc.cpp -@@ -13,8 +13,6 @@ - #define NUMBER_DIRECTIONS 16 - #include <unsupported/Eigen/AdolcForward> - --int adtl::ADOLC_numDir; -- - template<typename Vector> - EIGEN_DONT_INLINE typename Vector::Scalar foo(const Vector& p) - { -@@ -123,7 +121,7 @@ - - void test_forward_adolc() - { -- adtl::ADOLC_numDir = NUMBER_DIRECTIONS; -+ adtl::setNumDir(NUMBER_DIRECTIONS); - - for(int i = 0; i < g_repeat; i++) { - CALL_SUBTEST(( adolc_forward_jacobian(TestFunc1<double,2,2>()) )); diff --git a/dev-cpp/eigen/files/eigen-3.2.7-pastix-5.2-backport.patch b/dev-cpp/eigen/files/eigen-3.2.7-pastix-5.2-backport.patch deleted file mode 100644 index fafaf3a68629..000000000000 --- a/dev-cpp/eigen/files/eigen-3.2.7-pastix-5.2-backport.patch +++ /dev/null @@ -1,42 +0,0 @@ -# HG changeset patch -# User Gael Guennebaud <g.gael@free.fr> -# Date 1393589499 -3600 -# Node ID b88efb384b160880131ad17e39bb690719112bfa -# Parent 576120ad694efe29b70999576964d3816288fb4e -Fix PaStiX support for Pastix 5.2 - -diff --git a/Eigen/src/PaStiXSupport/PaStiXSupport.h b/Eigen/src/PaStiXSupport/PaStiXSupport.h ---- a/Eigen/src/PaStiXSupport/PaStiXSupport.h -+++ b/Eigen/src/PaStiXSupport/PaStiXSupport.h -@@ -12,6 +12,14 @@ - - namespace Eigen { - -+#if defined(DCOMPLEX) -+ #define PASTIX_COMPLEX COMPLEX -+ #define PASTIX_DCOMPLEX DCOMPLEX -+#else -+ #define PASTIX_COMPLEX std::complex<float> -+ #define PASTIX_DCOMPLEX std::complex<double> -+#endif -+ - /** \ingroup PaStiXSupport_Module - * \brief Interface to the PaStix solver - * -@@ -74,14 +82,14 @@ - { - if (n == 0) { ptr = NULL; idx = NULL; vals = NULL; } - if (nbrhs == 0) {x = NULL; nbrhs=1;} -- c_pastix(pastix_data, pastix_comm, n, ptr, idx, reinterpret_cast<COMPLEX*>(vals), perm, invp, reinterpret_cast<COMPLEX*>(x), nbrhs, iparm, dparm); -+ c_pastix(pastix_data, pastix_comm, n, ptr, idx, reinterpret_cast<PASTIX_COMPLEX*>(vals), perm, invp, reinterpret_cast<PASTIX_COMPLEX*>(x), nbrhs, iparm, dparm); - } - - void eigen_pastix(pastix_data_t **pastix_data, int pastix_comm, int n, int *ptr, int *idx, std::complex<double> *vals, int *perm, int * invp, std::complex<double> *x, int nbrhs, int *iparm, double *dparm) - { - if (n == 0) { ptr = NULL; idx = NULL; vals = NULL; } - if (nbrhs == 0) {x = NULL; nbrhs=1;} -- z_pastix(pastix_data, pastix_comm, n, ptr, idx, reinterpret_cast<DCOMPLEX*>(vals), perm, invp, reinterpret_cast<DCOMPLEX*>(x), nbrhs, iparm, dparm); -+ z_pastix(pastix_data, pastix_comm, n, ptr, idx, reinterpret_cast<PASTIX_DCOMPLEX*>(vals), perm, invp, reinterpret_cast<PASTIX_DCOMPLEX*>(x), nbrhs, iparm, dparm); - } - - // Convert the matrix to Fortran-style Numbering diff --git a/dev-cpp/eigen/files/eigen-3.3.5-fix-prototype.patch b/dev-cpp/eigen/files/eigen-3.3.5-fix-prototype.patch deleted file mode 100644 index e4d128f502e3..000000000000 --- a/dev-cpp/eigen/files/eigen-3.3.5-fix-prototype.patch +++ /dev/null @@ -1,19 +0,0 @@ -# HG changeset patch -# User Gael Guennebaud <g.gael@free.fr> -# Date 1528444561 -7200 -# Node ID 27cac8430247a65739fcd0b83ef984d0a9c010c7 -# Parent d4cbff8d06baf95045869ed7d0c012d641c88fcf -fix prototype - -diff --git a/unsupported/Eigen/src/IterativeSolvers/DGMRES.h b/unsupported/Eigen/src/IterativeSolvers/DGMRES.h ---- a/unsupported/Eigen/src/IterativeSolvers/DGMRES.h -+++ b/unsupported/Eigen/src/IterativeSolvers/DGMRES.h -@@ -173,7 +173,7 @@ - /** - * Set the restart value (default is 30) - */ -- Index set_restart(const Index restart) { m_restart=restart; } -+ void set_restart(const Index restart) { m_restart=restart; } - - /** - * Set the number of eigenvalues to deflate at each restart
\ No newline at end of file |