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 1S4InE-000269-Ic for garchives@archives.gentoo.org; Sun, 04 Mar 2012 21:16:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5FCBE09DC; Sun, 4 Mar 2012 21:16:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A1A0EE09DC for ; Sun, 4 Mar 2012 21:16:28 +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 61BB01B4007 for ; Sun, 4 Mar 2012 21:16:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id F005CE5401 for ; Sun, 4 Mar 2012 21:16:25 +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: <1330895719.4b1440543f9105301337cd671a6e7e563db64b73.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: 4b1440543f9105301337cd671a6e7e563db64b73 X-VCS-Branch: master Date: Sun, 4 Mar 2012 21:16:25 +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: b4ee9f3d-6d4f-4363-844a-c2f6077899e0 X-Archives-Hash: 1495ddfe32c4cb0baf9e089cf6a8ab0e commit: 4b1440543f9105301337cd671a6e7e563db64b73 Author: Jens-Malte Gottfried web de> AuthorDate: Sun Mar 4 21:15:19 2012 +0000 Commit: Jens-Malte Gottfried godefridus de> CommitDate: Sun Mar 4 21:15:19 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D4b144054 added superlu on activated hypre flag since superlu is in the hypre depencencies anyway. Also switched to using the econf macro to have configure options displayed during build. --- sci-mathematics/petsc/metadata.xml | 4 ++-- sci-mathematics/petsc/petsc-3.2_p6.ebuild | 13 ++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/sci-mathematics/petsc/metadata.xml b/sci-mathematics/petsc/m= etadata.xml index 9bbff56..10bb79f 100644 --- a/sci-mathematics/petsc/metadata.xml +++ b/sci-mathematics/petsc/metadata.xml @@ -4,10 +4,10 @@ sci-mathematics Use Afterstep image library (media-libs/liba= fterimage) - Use HYPRE (sci-mathematics/hypre) for preconditio= ning + Use HYPRE (sci-mathematics/hypre) and superlu (sc= i-libs/superlu) for preconditioning Use METIS (sci-libs/parmetis) for partitioning Make scalars complex - Use cholmod and suitesparse for sparse factoriza= tion + Use suitesparse (sci-libs/suitesparse) including= cholmod (sci-libs/cholmod) for sparse factorization diff --git a/sci-mathematics/petsc/petsc-3.2_p6.ebuild b/sci-mathematics/= petsc/petsc-3.2_p6.ebuild index 46a2344..23dc7ca 100644 --- a/sci-mathematics/petsc/petsc-3.2_p6.ebuild +++ b/sci-mathematics/petsc/petsc-3.2_p6.ebuild @@ -30,11 +30,11 @@ RDEPEND=3D"mpi? ( virtual/mpi[cxx?,fortran?] ) X? ( x11-libs/libX11 ) virtual/lapack virtual/blas - hypre? ( sci-libs/hypre ) + hypre? ( sci-libs/hypre sci-libs/superlu ) metis? ( sci-libs/parmetis ) hdf5? ( sci-libs/hdf5 ) afterimage? ( media-libs/libafterimage ) - sparse? ( sci-libs/suitesparse sci-libs/cholmod ) + sparse? ( sci-libs/suitesparse >=3Dsci-libs/cholmod-1.7.0 ) " # boost? ( dev-libs/boost ) # imagemagick? ( media-gfx/imagemagick ) @@ -98,8 +98,7 @@ src_configure(){ fi =20 # run petsc configure script - ./configure \ - --prefix=3D"${EPREFIX}/usr" \ + econf \ CFLAGS=3D"${CFLAGS}" \ CXXFLAGS=3D"${CXXFLAGS}" \ LDFLAGS=3D"${LDFLAGS}" \ @@ -129,14 +128,14 @@ src_configure(){ /usr/$(get_libdir)/libAfterImage.so /usr/include/libAfterImage) \ $(petsc_with hdf5) \ $(petsc_with hypre hypre /usr/$(get_libdir)/libHYPRE.so /usr/include/h= ypre) \ + $(petsc_with hypre superlu /usr/$(get_libdir)/libsuperlu.so /usr/inclu= de/superlu) \ $(petsc_with metis parmetis) \ $(petsc_with sparse cholmod) \ $(petsc_with X x) \ $(petsc_with X x11) \ - --with-scotch=3D0 \ - ${EXTRA_ECONF} || die "configuration failed" + --with-scotch=3D0 =20 -# failed dependencies, perhaps fixed in upstream: +# failed dependencies, perhaps fixed in upstream soon: # $(petsc_with boost) \ # $(petsc_with imagemagick imagemagick /usr/$(get_libdir)/libMagickCore= .so /usr/include/ImageMagick) \ }