From 030d616e0dbb91f18a34fdb6c5cb72024b33915f Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Sat, 4 Apr 2020 09:41:54 -0400 Subject: [PATCH] sci-libs/suitesparse: new version 5.4.0. All of the individual suitesparse components have been updated, but I didn't realize there was a metapackage. And the 4.x versions of the metapackage have incorrect dependencies that are trying to pull in the components that belong to suitesparse-5.4.0. This is producing some confusing errors. This commit adds a new version of the metapackage with correct dependencies (tied to the versions of the components that ship with suitesparse-5.4.0), and should let ~arch users upgrade everything after switching from USE=metis to USE=partition. At some later point, we can prune the 4.x metapackage and components and be dont with that. Bug: https://bugs.gentoo.org/711610 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michael Orlitzky --- sci-libs/suitesparse/metadata.xml | 19 ++++++++++--- sci-libs/suitesparse/suitesparse-5.4.0.ebuild | 27 +++++++++++++++++++ 2 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 sci-libs/suitesparse/suitesparse-5.4.0.ebuild diff --git a/sci-libs/suitesparse/metadata.xml b/sci-libs/suitesparse/metadata.xml index a30fdd382ec1..d8c0d9a2971e 100644 --- a/sci-libs/suitesparse/metadata.xml +++ b/sci-libs/suitesparse/metadata.xml @@ -26,11 +26,22 @@ * RBio: MATLAB toolbox for reading/writing sparse matrices * LINFACTOR: solve Ax=b using LU or CHOL * MESHND: 2D and 3D mesh generation and nested dissection - * SSMULT: sparse matrix times sparse matrix + * SSMULT: sparse matrix times sparse matrix - Enable nvidia cuda toolkit for speeding up computations - Enable the Partition module to cholmod using sci-libs/metis - Enable multithreading with the Intel Threads Building Block dev-cpp/tbb + + Enable nvidia cuda toolkit for speeding up computations + + + Enable the Partition module to cholmod using sci-libs/metis + + + Enable graph partitioning and graph-partition-based orderings + through sci-libs/metis or sci-libs/parmetis + + + Enable multithreading with the Intel Threads Building Block + dev-cpp/tbb + diff --git a/sci-libs/suitesparse/suitesparse-5.4.0.ebuild b/sci-libs/suitesparse/suitesparse-5.4.0.ebuild new file mode 100644 index 000000000000..2098b0804964 --- /dev/null +++ b/sci-libs/suitesparse/suitesparse-5.4.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Metapackage for a suite of sparse matrix tools" +HOMEPAGE="http://faculty.cse.tamu.edu/davis/suitesparse.html" + +LICENSE="metapackage" +SLOT="0" + +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="cuda doc lapack partition tbb" +DEPEND="" +RDEPEND=" + ~sci-libs/suitesparseconfig-${PV} + ~sci-libs/amd-2.4.6[doc?] + ~sci-libs/btf-1.2.6 + ~sci-libs/camd-2.4.6[doc?] + ~sci-libs/ccolamd-2.9.6 + ~sci-libs/cholmod-3.0.13[cuda?,doc?,partition?,lapack?] + ~sci-libs/colamd-2.9.6 + ~sci-libs/cxsparse-3.2.0 + ~sci-libs/klu-1.3.9[doc?] + ~sci-libs/ldl-2.2.6[doc?] + ~sci-libs/spqr-2.0.9[doc?,partition?,tbb?] + ~sci-libs/umfpack-5.7.9[doc?,cholmod]" -- 2.26.2