1 |
commit: ed1b2c2e656c0906a9685bfd231a3462aee6af62 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 2 18:17:30 2020 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 2 18:17:30 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed1b2c2e |
7 |
|
8 |
sci-libs/cholmod: bump to 3.0.14 |
9 |
|
10 |
removed unnecessary version specifiers |
11 |
|
12 |
Closes: https://bugs.gentoo.org/745444 |
13 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
14 |
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org> |
15 |
|
16 |
sci-libs/cholmod/Manifest | 1 + |
17 |
sci-libs/cholmod/cholmod-3.0.14.ebuild | 71 ++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 72 insertions(+) |
19 |
|
20 |
diff --git a/sci-libs/cholmod/Manifest b/sci-libs/cholmod/Manifest |
21 |
index 52847a34dd0..650bab1aeb9 100644 |
22 |
--- a/sci-libs/cholmod/Manifest |
23 |
+++ b/sci-libs/cholmod/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
DIST cholmod-2.1.2.tar.bz2 656458 BLAKE2B 83a574ad7d3755428d8d732f3f60b07908b8315d73d5a3d3aaf9aac50b54590c532389dd90efc569e67639993095706eb546e72313b735e35af34a1fea398be2 SHA512 7aca97de4c60ff2d7a76a776be4c2d61243a159a51b9e147fa2480f2aaf61a5d966eb0f1cb57c0145510437f6c478fa30384b741709d0a02432b74ada3e78089 |
26 |
DIST cholmod-3.0.13.tar.bz2 696002 BLAKE2B 40a065fe1a3585897b3ca554a25fa80ffc68ac70798f2f803e34a231ec4f532d113a3d00ab7ab61f5eb02503a84e1459cdb7e96cb0b0d1dc6975ed3d533104fe SHA512 c6c80d099386bac27e385a1b8ee8941cd2fb4f2dcfcf302b4b17d6477ac9ee17ad8030aae9191f92576dfaeb521e2c98ec24e867281c2405e42f95580e14f0ab |
27 |
+DIST cholmod-3.0.14.tar.bz2 696981 BLAKE2B 855927c18833235b3f0835bfba455d83957b9161c0ee885c2d31d126f0f473067f55bcf2cfa163c72efb5de573589ffa54b484a8cf89bc44c9dbf64d43fda5d9 SHA512 f8c12fc3c8787be38bca6c6f84a8279c1380fbe4fabbfba754235fdb042d7050bfb7b5a21ea87ef59dbd5184d28e8cb7667966c38f5dcad78fe8d47111896a3c |
28 |
|
29 |
diff --git a/sci-libs/cholmod/cholmod-3.0.14.ebuild b/sci-libs/cholmod/cholmod-3.0.14.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..566f5c250c1 |
32 |
--- /dev/null |
33 |
+++ b/sci-libs/cholmod/cholmod-3.0.14.ebuild |
34 |
@@ -0,0 +1,71 @@ |
35 |
+# Copyright 1999-2020 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit toolchain-funcs |
41 |
+ |
42 |
+DESCRIPTION="Sparse Cholesky factorization and update/downdate library" |
43 |
+HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" |
44 |
+SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" |
45 |
+ |
46 |
+LICENSE="LGPL-2.1+ modify? ( GPL-2+ ) matrixops? ( GPL-2+ )" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" |
49 |
+IUSE="cuda doc +lapack +matrixops +modify +partition" |
50 |
+ |
51 |
+BDEPEND="virtual/pkgconfig |
52 |
+ doc? ( virtual/latex-base )" |
53 |
+DEPEND=" |
54 |
+ sci-libs/amd |
55 |
+ sci-libs/colamd |
56 |
+ cuda? ( |
57 |
+ dev-util/nvidia-cuda-toolkit |
58 |
+ x11-drivers/nvidia-drivers |
59 |
+ ) |
60 |
+ lapack? ( virtual/lapack ) |
61 |
+ partition? ( |
62 |
+ sci-libs/camd |
63 |
+ sci-libs/ccolamd |
64 |
+ || ( |
65 |
+ >=sci-libs/metis-5.1.0 |
66 |
+ sci-libs/parmetis |
67 |
+ ) |
68 |
+ )" |
69 |
+RDEPEND="${DEPEND}" |
70 |
+ |
71 |
+src_configure() { |
72 |
+ local lapack_libs=no |
73 |
+ local blas_libs=no |
74 |
+ if use lapack; then |
75 |
+ blas_libs=$($(tc-getPKG_CONFIG) --libs blas) |
76 |
+ lapack_libs=$($(tc-getPKG_CONFIG) --libs lapack) |
77 |
+ fi |
78 |
+ |
79 |
+ local cudaconfargs=( $(use_with cuda) ) |
80 |
+ if use cuda ; then |
81 |
+ cudaconfargs+=( |
82 |
+ --with-cublas-libs="-L${EPREFIX}/opt/cuda/$(get_libdir) -lcublas" |
83 |
+ --with-cublas-cflags="-I${EPREFIX}/opt/cuda/include" |
84 |
+ ) |
85 |
+ fi |
86 |
+ |
87 |
+ econf \ |
88 |
+ --disable-static \ |
89 |
+ --with-blas="${blas_libs}" \ |
90 |
+ --with-lapack="${lapack_libs}" \ |
91 |
+ $(use_with doc) \ |
92 |
+ $(use_with modify) \ |
93 |
+ $(use_with matrixops) \ |
94 |
+ $(use_with partition) \ |
95 |
+ $(use_with partition camd) \ |
96 |
+ $(use_with lapack supernodal) \ |
97 |
+ "${cudaconfargs[@]}" |
98 |
+} |
99 |
+ |
100 |
+src_install() { |
101 |
+ default |
102 |
+ |
103 |
+ # no static archives |
104 |
+ find "${D}" -name '*.la' -delete || die |
105 |
+} |