diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2013-06-24 23:10:08 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2013-06-24 23:10:08 +0000 |
commit | f51303bf2079c4095765dbb19c88e7c8f81ea500 (patch) | |
tree | 504b51d558e51459e63586b87ca2d28972270008 /sci-libs/cholmod | |
parent | Switch to EAPI5 and new tar ball (diff) | |
download | gentoo-2-f51303bf2079c4095765dbb19c88e7c8f81ea500.tar.gz gentoo-2-f51303bf2079c4095765dbb19c88e7c8f81ea500.tar.bz2 gentoo-2-f51303bf2079c4095765dbb19c88e7c8f81ea500.zip |
Version bump, switch to EAPI5 and new tar ball
(Portage version: 2.2.01.22013-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-libs/cholmod')
-rw-r--r-- | sci-libs/cholmod/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/cholmod/cholmod-2.1.2.ebuild | 64 |
2 files changed, 70 insertions, 1 deletions
diff --git a/sci-libs/cholmod/ChangeLog b/sci-libs/cholmod/ChangeLog index b62a2ee39d9e..8d3d54be0535 100644 --- a/sci-libs/cholmod/ChangeLog +++ b/sci-libs/cholmod/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/cholmod # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/cholmod/ChangeLog,v 1.38 2013/04/10 06:06:12 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cholmod/ChangeLog,v 1.39 2013/06/24 23:10:08 bicatali Exp $ + +*cholmod-2.1.2 (24 Jun 2013) + + 24 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org> +cholmod-2.1.2.ebuild: + Version bump, switch to EAPI5 and new tar ball 10 Apr 2013; Justin Lecher <jlec@gentoo.org> cholmod-2.0.1.ebuild: Fix typo for pkg-config usage diff --git a/sci-libs/cholmod/cholmod-2.1.2.ebuild b/sci-libs/cholmod/cholmod-2.1.2.ebuild new file mode 100644 index 000000000000..0d03363ba557 --- /dev/null +++ b/sci-libs/cholmod/cholmod-2.1.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cholmod/cholmod-2.1.2.ebuild,v 1.1 2013/06/24 23:10:08 bicatali Exp $ + +EAPI=5 + +inherit autotools-utils multilib toolchain-funcs + +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.bz2" + +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 lapack metis minimal static-libs" + +RDEPEND=" + >=sci-libs/amd-2.3 + >=sci-libs/colamd-2.8 + cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit ) + lapack? ( virtual/lapack ) + metis? ( + >=sci-libs/camd-2.3 + >=sci-libs/ccolamd-2.8 + || ( sci-libs/metis sci-libs/parmetis ) )" + +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 lapack; then + blas_libs=$($(tc-getPKG_CONFIG) --libs blas) + lapack_libs=$($(tc-getPKG_CONFIG) --libs lapack) + fi + local myeconfargs=( + --with-blas="${blas_libs}" + --with-lapack="${lapack_libs}" + $(use_with doc) + $(use_with !minimal modify) + $(use_with !minimal matrixops) + $(use_with !minimal partition) + $(use_with metis camd) + $(use_with metis partition) + $(use_with lapack supernodal) + ) + if use cuda; then + myeconfargs+=( + --with-cuda + --with-cublas-libs="-L${EPREFIX}/opt/cuda/$(get_libdir) -lcublas" + --with-cublas-cflags="-I${EPREFIX}/opt/cuda/include" + ) + fi + autotools-utils_src_configure +} |