diff options
| author | David Seifert <soap@gentoo.org> | 2020-12-14 22:04:14 +0100 |
|---|---|---|
| committer | David Seifert <soap@gentoo.org> | 2020-12-14 22:04:14 +0100 |
| commit | 9f6c2af0a63c4da5f8a78a628dbd15fe9038c281 (patch) | |
| tree | 0e1375a6a8153001dcb952b24c2afe2c150bf4a4 /dev-cpp/eigen/files | |
| parent | 9ff0405de628c9a266896b1d562af904d3099b27 (diff) | |
| download | gentoo-9f6c2af0a63c4da5f8a78a628dbd15fe9038c281.tar.gz gentoo-9f6c2af0a63c4da5f8a78a628dbd15fe9038c281.tar.bz2 gentoo-9f6c2af0a63c4da5f8a78a628dbd15fe9038c281.zip | |
dev-cpp/eigen: Version bump to 3.3.9
Bug: https://bugs.gentoo.org/712808
Bug: https://bugs.gentoo.org/754327
Closes: https://bugs.gentoo.org/759961
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-cpp/eigen/files')
| -rw-r--r-- | dev-cpp/eigen/files/eigen-3.3.9-disable-cholmod_support.patch | 20 | ||||
| -rw-r--r-- | dev-cpp/eigen/files/eigen-3.3.9-max-macro.patch | 17 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-cpp/eigen/files/eigen-3.3.9-disable-cholmod_support.patch b/dev-cpp/eigen/files/eigen-3.3.9-disable-cholmod_support.patch new file mode 100644 index 000000000000..e3b9db5a1707 --- /dev/null +++ b/dev-cpp/eigen/files/eigen-3.3.9-disable-cholmod_support.patch @@ -0,0 +1,20 @@ +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -46,16 +46,7 @@ + + set(SPARSE_LIBS " ") + +-find_package(Cholmod) +-if(CHOLMOD_FOUND) +- add_definitions("-DEIGEN_CHOLMOD_SUPPORT") +- include_directories(${CHOLMOD_INCLUDES}) +- set(SPARSE_LIBS ${SPARSE_LIBS} ${CHOLMOD_LIBRARIES} ${EIGEN_BLAS_LIBRARIES} ${EIGEN_LAPACK_LIBRARIES}) +- set(CHOLMOD_ALL_LIBS ${CHOLMOD_LIBRARIES} ${EIGEN_BLAS_LIBRARIES} ${EIGEN_LAPACK_LIBRARIES}) +- ei_add_property(EIGEN_TESTED_BACKENDS "Cholmod, ") +-else() +- ei_add_property(EIGEN_MISSING_BACKENDS "Cholmod, ") +-endif() ++ei_add_property(EIGEN_MISSING_BACKENDS "Cholmod, ") + + find_package(Umfpack) + if(UMFPACK_FOUND) diff --git a/dev-cpp/eigen/files/eigen-3.3.9-max-macro.patch b/dev-cpp/eigen/files/eigen-3.3.9-max-macro.patch new file mode 100644 index 000000000000..c5fdc2ed582c --- /dev/null +++ b/dev-cpp/eigen/files/eigen-3.3.9-max-macro.patch @@ -0,0 +1,17 @@ +--- a/unsupported/test/forward_adolc.cpp ++++ b/unsupported/test/forward_adolc.cpp +@@ -7,12 +7,13 @@ + // Public License v. 2.0. If a copy of the MPL was not distributed + // with this file, You can obtain one at http://mozilla.org/MPL/2.0/. + +-#include "main.h" + #include <Eigen/Dense> + + #define NUMBER_DIRECTIONS 16 + #include <unsupported/Eigen/AdolcForward> + ++#include "main.h" ++ + template<typename Vector> + EIGEN_DONT_INLINE typename Vector::Scalar foo(const Vector& p) + { |
