1 |
commit: c4285942fd5e0f74ae69501606560d50222ee7aa |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 6 18:19:40 2015 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 6 18:19:40 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=c4285942 |
7 |
|
8 |
[dev-cpp/eigen] Newer version in main tree. |
9 |
|
10 |
Package-Manager: portage-2.2.14 |
11 |
|
12 |
--- |
13 |
dev-cpp/eigen/eigen-3.2.0.ebuild | 70 ----------------------------- |
14 |
dev-cpp/eigen/files/eigen-3.0.0-gcc46.patch | 16 ------- |
15 |
2 files changed, 86 deletions(-) |
16 |
|
17 |
diff --git a/dev-cpp/eigen/eigen-3.2.0.ebuild b/dev-cpp/eigen/eigen-3.2.0.ebuild |
18 |
deleted file mode 100644 |
19 |
index 248ebc6..0000000 |
20 |
--- a/dev-cpp/eigen/eigen-3.2.0.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,70 +0,0 @@ |
23 |
-# Copyright 1999-2015 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: $ |
26 |
- |
27 |
-EAPI=5 |
28 |
- |
29 |
-inherit cmake-utils |
30 |
- |
31 |
-DESCRIPTION="C++ template library for linear algebra: vectors, matrices, and related algorithms" |
32 |
-HOMEPAGE="http://eigen.tuxfamily.org/" |
33 |
-SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2" |
34 |
- |
35 |
-LICENSE="LGPL-2 GPL-3" |
36 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
37 |
-SLOT="3" |
38 |
-IUSE="debug doc" |
39 |
- |
40 |
-DEPEND="doc? ( app-doc/doxygen[dot,latex] )" |
41 |
-RDEPEND="!dev-cpp/eigen:0" |
42 |
- |
43 |
-src_unpack() { |
44 |
- default |
45 |
- mv ${PN}* ${P} || die |
46 |
-} |
47 |
- |
48 |
-src_prepare() { |
49 |
- epatch "${FILESDIR}"/${PN}-3.0.0-gcc46.patch |
50 |
- |
51 |
- sed -i CMakeLists.txt \ |
52 |
- -e "/add_subdirectory(demos/d" \ |
53 |
- -e "/add_subdirectory(blas/d" \ |
54 |
- -e "/add_subdirectory(lapack/d" \ |
55 |
- || die "sed disable unused bundles failed" |
56 |
-} |
57 |
- |
58 |
-src_configure() { |
59 |
- # benchmarks (BTL) brings up damn load of external deps including fortran |
60 |
- # compiler |
61 |
- CMAKE_BUILD_TYPE="release" |
62 |
- local mycmakeargs=( |
63 |
- -DEIGEN_BUILD_BTL=OFF |
64 |
- ) |
65 |
- cmake-utils_src_configure |
66 |
-} |
67 |
- |
68 |
-src_compile() { |
69 |
- cmake-utils_src_compile |
70 |
- if use doc; then |
71 |
- cmake-utils_src_compile doc |
72 |
- fi |
73 |
-} |
74 |
- |
75 |
-src_test() { |
76 |
- local mycmakeargs=( |
77 |
- -DEIGEN_BUILD_TESTS=ON |
78 |
- -DEIGEN_TEST_NO_FORTRAN=ON |
79 |
- -DEIGEN_TEST_NO_OPENGL=ON |
80 |
- ) |
81 |
- cmake-utils_src_configure |
82 |
- cmake-utils_src_compile buildtests |
83 |
- cmake-utils_src_test |
84 |
-} |
85 |
- |
86 |
-src_install() { |
87 |
- cmake-utils_src_install |
88 |
- if use doc; then |
89 |
- cd "${CMAKE_BUILD_DIR}"/doc |
90 |
- dohtml -r html/* |
91 |
- fi |
92 |
-} |
93 |
|
94 |
diff --git a/dev-cpp/eigen/files/eigen-3.0.0-gcc46.patch b/dev-cpp/eigen/files/eigen-3.0.0-gcc46.patch |
95 |
deleted file mode 100644 |
96 |
index ca4410b..0000000 |
97 |
--- a/dev-cpp/eigen/files/eigen-3.0.0-gcc46.patch |
98 |
+++ /dev/null |
99 |
@@ -1,16 +0,0 @@ |
100 |
- Eigen/src/StlSupport/details.h | 2 ++ |
101 |
- 1 files changed, 2 insertions(+), 0 deletions(-) |
102 |
- |
103 |
-diff --git a/Eigen/src/StlSupport/details.h b/Eigen/src/StlSupport/details.h |
104 |
-index 397c8ef..c1ac745 100644 |
105 |
---- a/Eigen/src/StlSupport/details.h |
106 |
-+++ b/Eigen/src/StlSupport/details.h |
107 |
-@@ -30,6 +30,8 @@ |
108 |
- #define EIGEN_ALIGNED_ALLOCATOR Eigen::aligned_allocator |
109 |
- #endif |
110 |
- |
111 |
-+#include <cstddef> |
112 |
-+ |
113 |
- namespace Eigen { |
114 |
- |
115 |
- // This one is needed to prevent reimplementing the whole std::vector. |