diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-11-12 02:18:07 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-11-12 02:18:07 +0000 |
commit | 3e6af3e8842dd6b29e963a22a848aa1661bfbad3 (patch) | |
tree | 78081366f1e65ecf24b824b687e90b59b327bc19 /sci-libs | |
parent | Bump to make tests useful, also fixes a couple of bugs with hostnames and TLS... (diff) | |
download | gentoo-2-3e6af3e8842dd6b29e963a22a848aa1661bfbad3.tar.gz gentoo-2-3e6af3e8842dd6b29e963a22a848aa1661bfbad3.tar.bz2 gentoo-2-3e6af3e8842dd6b29e963a22a848aa1661bfbad3.zip |
Version bump
(Portage version: 2.2.01.21313-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/cholmod/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/cholmod/cholmod-2.0.1.ebuild | 56 | ||||
-rw-r--r-- | sci-libs/cholmod/metadata.xml | 15 |
3 files changed, 70 insertions, 9 deletions
diff --git a/sci-libs/cholmod/ChangeLog b/sci-libs/cholmod/ChangeLog index f784ca85eb20..2c5c6b23305b 100644 --- a/sci-libs/cholmod/ChangeLog +++ b/sci-libs/cholmod/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-libs/cholmod # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/cholmod/ChangeLog,v 1.32 2012/10/15 22:45:52 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cholmod/ChangeLog,v 1.33 2012/11/12 02:18:07 bicatali Exp $ + +*cholmod-2.0.1 (12 Nov 2012) + + 12 Nov 2012; Sébastien Fabbro <bicatali@gentoo.org> +cholmod-2.0.1.ebuild, + metadata.xml: + Version bump 15 Oct 2012; <naota@gentoo.org> cholmod-1.7.4.ebuild: Add ~x86-fbsd. diff --git a/sci-libs/cholmod/cholmod-2.0.1.ebuild b/sci-libs/cholmod/cholmod-2.0.1.ebuild new file mode 100644 index 000000000000..e5fd4bb22d31 --- /dev/null +++ b/sci-libs/cholmod/cholmod-2.0.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cholmod/cholmod-2.0.1.ebuild,v 1.1 2012/11/12 02:18:07 bicatali Exp $ + +EAPI=4 + +inherit autotools-utils + +DESCRIPTION="Sparse Cholesky factorization and update/downdate library" +HOMEPAGE="http://www.cise.ufl.edu/research/sparse/cholmod/" +SRC_URI="http://dev.gentoo.org/~bicatali/distfiles/${P}.tar.gz" + +LICENSE="minimal? ( LGPL-2.1 ) !minimal? ( GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-fbsd ~x86-linux ~x86-macos" +IUSE="cuda doc metis minimal static-libs +supernodal" + +RDEPEND=" + >=sci-libs/amd-2.3 + >=sci-libs/colamd-2.8 + cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit ) + metis? ( + >=sci-libs/camd-2.3 + >=sci-libs/ccolamd-2.8 + || ( sci-libs/metis sci-libs/parmetis ) ) + supernodal? ( virtual/lapack )" + +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( virtual/latex-base )" + +src_prepare() { + # bug #399483 does not build with parmetis-3.2 + has_version "=sci-libs/parmetis-3.2*" && \ + epatch "${FILESDIR}"/${PN}-1.7.4-parmetis32.patch +} + +src_configure() { + local lapack_libs=no + local blas_libs=no + if use supernodal; then + blas_libs=$(pkg-config --libs blas) + lapack_libs=$(pkg-config --libs lapack) + fi + local myeconfargs+=( + --with-blas="${blas_libs}" + --with-lapack="${lapack_libs}" + $(use_with cuda) + $(use_with doc) + $(use_with !minimal modify) + $(use_with !minimal matrixops) + $(use_with metis partition) + $(use_with supernodal) + ) + autotools-utils_src_configure +} diff --git a/sci-libs/cholmod/metadata.xml b/sci-libs/cholmod/metadata.xml index 54dd26275c31..a878809004da 100644 --- a/sci-libs/cholmod/metadata.xml +++ b/sci-libs/cholmod/metadata.xml @@ -1,15 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci</herd> - <longdescription lang="en"> +<herd>sci</herd> +<longdescription lang="en"> CHOLMOD is a set of ANSI C routines for sparse Cholesky factorization and update/downdate. </longdescription> - <use> - <flag name="metis">Enable the Partition module to cholmod using metis - (<pkg>sci-libs/metis</pkg>, <pkg>sci-libs/parmetis</pkg>)</flag> - <flag name="supernodal">Enable the Supernodal module - (needs <pkg>virtual/lapack</pkg>)</flag> - </use> +<use> + <flag name="cuda">Use nvidia cuda toolkit for speeding up computations</flag> + <flag name="metis">Enable the Partition module to cholmod using <pkg>sci-libs/metis</pkg></flag> + <flag name="supernodal">Enable the Supernodal module (needs <pkg>virtual/lapack</pkg>)</flag> +</use> </pkgmetadata> |