From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S3rPi-0004CG-GI for garchives@archives.gentoo.org; Sat, 03 Mar 2012 16:02:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B94F9E0642; Sat, 3 Mar 2012 16:02:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7CBE6E0642 for ; Sat, 3 Mar 2012 16:02:23 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 786701B403C for ; Sat, 3 Mar 2012 16:02:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 3FB6FE542C for ; Sat, 3 Mar 2012 16:02:21 +0000 (UTC) From: "Jens-Malte Gottfried" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jens-Malte Gottfried" Message-ID: <1330790509.161478d0cdf388cd31c2db5c7c639998def50a39.jmg@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/petsc/ X-VCS-Repository: proj/sci X-VCS-Files: sci-mathematics/petsc/metadata.xml sci-mathematics/petsc/petsc-3.2_p6.ebuild X-VCS-Directories: sci-mathematics/petsc/ X-VCS-Committer: jmg X-VCS-Committer-Name: Jens-Malte Gottfried X-VCS-Revision: 161478d0cdf388cd31c2db5c7c639998def50a39 X-VCS-Branch: master Date: Sat, 3 Mar 2012 16:02:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 70e2e798-e29f-41c4-929b-da4f2bd3c3b2 X-Archives-Hash: 9eec251f5d4a988f66bfd7aebedd4fd8 commit: 161478d0cdf388cd31c2db5c7c639998def50a39 Author: Jens-Malte Gottfried web de> AuthorDate: Sat Mar 3 16:01:49 2012 +0000 Commit: Jens-Malte Gottfried godefridus de> CommitDate: Sat Mar 3 16:01:49 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D161478d0 added optional boost and afterimage dep --- sci-mathematics/petsc/metadata.xml | 2 ++ sci-mathematics/petsc/petsc-3.2_p6.ebuild | 23 ++++++++++++++++------- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/sci-mathematics/petsc/metadata.xml b/sci-mathematics/petsc/m= etadata.xml index 7f25b9f..e80effd 100644 --- a/sci-mathematics/petsc/metadata.xml +++ b/sci-mathematics/petsc/metadata.xml @@ -3,9 +3,11 @@ sci-mathematics + Use Afterstep image library (media-libs/liba= fterimage) Use boost (dev-libs/boost) Use HYPRE (sci-mathematics/hypre) for preconditio= ning Use METIS (sci-libs/parmetis) for partitioning + Use cholmod (sci-libs/cholmod) for sparse factor= ization Make scalars complex diff --git a/sci-mathematics/petsc/petsc-3.2_p6.ebuild b/sci-mathematics/= petsc/petsc-3.2_p6.ebuild index 7f090fc..a4bc52e 100644 --- a/sci-mathematics/petsc/petsc-3.2_p6.ebuild +++ b/sci-mathematics/petsc/petsc-3.2_p6.ebuild @@ -15,7 +15,13 @@ SRC_URI=3D"http://ftp.mcs.anl.gov/pub/petsc/release-sn= apshots/${MY_P}.tar.gz" LICENSE=3D"petsc" SLOT=3D"0" KEYWORDS=3D"~x86 ~amd64" -IUSE=3D"boost complex-scalars cxx debug doc fortran hdf5 hypre metis mpi= threads X" +IUSE=3D"afterimage boost complex-scalars cxx debug doc \ + fortran hdf5 hypre metis mpi sparse threads X" + +REQUIRED_USE=3D" + hypre? ( cxx mpi ) + hdf5? ( mpi ) +" =20 RDEPEND=3D"mpi? ( virtual/mpi[cxx?,fortran?] ) X? ( x11-libs/libX11 ) @@ -23,8 +29,10 @@ RDEPEND=3D"mpi? ( virtual/mpi[cxx?,fortran?] ) virtual/blas hypre? ( sci-libs/hypre ) metis? ( sci-libs/parmetis ) - hdf5? ( sci-libs/hdf5[!mpi?] ) + hdf5? ( sci-libs/hdf5 ) boost? ( dev-libs/boost ) + afterimage? ( media-libs/libafterimage ) + sparse? ( sci-libs/cholmod ) " =20 DEPEND=3D"${RDEPEND} @@ -32,8 +40,6 @@ DEPEND=3D"${RDEPEND} dev-util/cmake " =20 -REQUIRED_USE=3D"hypre? ( cxx mpi )" - S=3D"${WORKDIR}/${MY_P}" =20 src_prepare(){ @@ -106,18 +112,21 @@ src_configure(){ $(petsc_enable fortran) \ $(use fortran && echo "$(petsc_select mpi fc /usr/bin/mpif77 $(tc-getF= 77))") \ $(petsc_enable mpi mpi-compilers) \ - $(petsc_with X) \ - $(petsc_with boost) \ $(petsc_enable threads pthread) \ $(petsc_enable threads pthreadclasses) \ + $(petsc_select complex-scalars scalar-type complex real) \ --with-windows-graphics=3D0 \ --with-matlab=3D0 \ --with-python=3D0 \ --with-cmake=3D/usr/bin/cmake \ + $(petsc_with afterimage afterimage \ + /usr/$(get_libdir)/libAfterImage.so /usr/include/libAfterImage) \ + $(petsc_with sparse cholmod) \ + $(petsc_with boost) \ $(petsc_with hdf5) \ $(petsc_with hypre hypre /usr/$(get_libdir)/libHYPRE.so /usr/include/h= ypre) \ $(petsc_with metis parmetis) \ - $(petsc_select complex-scalars scalar-type complex real) \ + $(petsc_with X x11) \ --with-scotch=3D0 \ ${EXTRA_ECONF} || die "configuration failed" }