1 |
commit: c3a9f292a4891ba7ccdfae201e4c6d91f504ed27 |
2 |
Author: Jens-Malte Gottfried <jmgottfried <AT> web <DOT> de> |
3 |
AuthorDate: Sun Mar 4 15:18:52 2012 +0000 |
4 |
Commit: Jens-Malte Gottfried <jmg <AT> godefridus <DOT> de> |
5 |
CommitDate: Sun Mar 4 15:18:52 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c3a9f292 |
7 |
|
8 |
got sparse flag working |
9 |
|
10 |
--- |
11 |
sci-mathematics/petsc/metadata.xml | 2 +- |
12 |
sci-mathematics/petsc/petsc-3.2_p6.ebuild | 8 ++++---- |
13 |
2 files changed, 5 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/sci-mathematics/petsc/metadata.xml b/sci-mathematics/petsc/metadata.xml |
16 |
index dea22b9..9bbff56 100644 |
17 |
--- a/sci-mathematics/petsc/metadata.xml |
18 |
+++ b/sci-mathematics/petsc/metadata.xml |
19 |
@@ -7,9 +7,9 @@ |
20 |
<flag name="hypre">Use HYPRE (sci-mathematics/hypre) for preconditioning</flag> |
21 |
<flag name="metis">Use METIS (sci-libs/parmetis) for partitioning</flag> |
22 |
<flag name="complex-scalars">Make scalars complex</flag> |
23 |
+ <flag name="sparse">Use cholmod and suitesparse for sparse factorization</flag> |
24 |
<!-- Disabled: |
25 |
<flag name="boost">Use boost (dev-libs/boost)</flag> |
26 |
- <flag name="sparse">Use cholmod (sci-libs/cholmod) for sparse factorization</flag> |
27 |
--> |
28 |
</use> |
29 |
</pkgmetadata> |
30 |
|
31 |
diff --git a/sci-mathematics/petsc/petsc-3.2_p6.ebuild b/sci-mathematics/petsc/petsc-3.2_p6.ebuild |
32 |
index f91d6de..46a2344 100644 |
33 |
--- a/sci-mathematics/petsc/petsc-3.2_p6.ebuild |
34 |
+++ b/sci-mathematics/petsc/petsc-3.2_p6.ebuild |
35 |
@@ -16,8 +16,8 @@ LICENSE="petsc" |
36 |
SLOT="0" |
37 |
KEYWORDS="~x86 ~amd64" |
38 |
IUSE="afterimage complex-scalars cxx debug doc \ |
39 |
- fortran hdf5 hypre metis mpi threads X" |
40 |
-# Failed: boost imagemagick sparse |
41 |
+ fortran hdf5 hypre metis mpi sparse threads X" |
42 |
+# Failed: boost imagemagick |
43 |
|
44 |
REQUIRED_USE=" |
45 |
hypre? ( cxx mpi ) |
46 |
@@ -34,10 +34,10 @@ RDEPEND="mpi? ( virtual/mpi[cxx?,fortran?] ) |
47 |
metis? ( sci-libs/parmetis ) |
48 |
hdf5? ( sci-libs/hdf5 ) |
49 |
afterimage? ( media-libs/libafterimage ) |
50 |
+ sparse? ( sci-libs/suitesparse sci-libs/cholmod ) |
51 |
" |
52 |
# boost? ( dev-libs/boost ) |
53 |
# imagemagick? ( media-gfx/imagemagick ) |
54 |
-# sparse? ( sci-libs/cholmod ) |
55 |
|
56 |
DEPEND="${RDEPEND} |
57 |
sys-devel/gcc[-nocxx,fortran?] |
58 |
@@ -130,6 +130,7 @@ src_configure(){ |
59 |
$(petsc_with hdf5) \ |
60 |
$(petsc_with hypre hypre /usr/$(get_libdir)/libHYPRE.so /usr/include/hypre) \ |
61 |
$(petsc_with metis parmetis) \ |
62 |
+ $(petsc_with sparse cholmod) \ |
63 |
$(petsc_with X x) \ |
64 |
$(petsc_with X x11) \ |
65 |
--with-scotch=0 \ |
66 |
@@ -138,7 +139,6 @@ src_configure(){ |
67 |
# failed dependencies, perhaps fixed in upstream: |
68 |
# $(petsc_with boost) \ |
69 |
# $(petsc_with imagemagick imagemagick /usr/$(get_libdir)/libMagickCore.so /usr/include/ImageMagick) \ |
70 |
-# $(petsc_with sparse cholmod) \ |
71 |
} |
72 |
|
73 |
src_install(){ |