From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- sci-libs/cholmod/Manifest | 4 +- sci-libs/cholmod/cholmod-3.0.13.ebuild | 2 +- sci-libs/cholmod/cholmod-3.0.14.ebuild | 71 ++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 2 deletions(-) create mode 100644 sci-libs/cholmod/cholmod-3.0.14.ebuild (limited to 'sci-libs/cholmod') diff --git a/sci-libs/cholmod/Manifest b/sci-libs/cholmod/Manifest index df4fb4d66876..c2153f563fb8 100644 --- a/sci-libs/cholmod/Manifest +++ b/sci-libs/cholmod/Manifest @@ -1,6 +1,8 @@ AUX cholmod-1.7.4-parmetis32.patch 702 BLAKE2B 241d68fa25ac2ab3f9a425702559736fb15657eda82c5ba0a413174c146c09e0be167746f866a64189d027892d180445adcf92f55fc913c9bff0085f87051c94 SHA512 a1694a7f42f10c7619e23817e93f76df35bc208200918b74a6dd68bb4662d57ce2f3665be424ad4b5c8a4ea9c3957676c48716aa0e47d9fb19337dc43e759ecc DIST cholmod-2.1.2.tar.bz2 656458 BLAKE2B 83a574ad7d3755428d8d732f3f60b07908b8315d73d5a3d3aaf9aac50b54590c532389dd90efc569e67639993095706eb546e72313b735e35af34a1fea398be2 SHA512 7aca97de4c60ff2d7a76a776be4c2d61243a159a51b9e147fa2480f2aaf61a5d966eb0f1cb57c0145510437f6c478fa30384b741709d0a02432b74ada3e78089 DIST cholmod-3.0.13.tar.bz2 696002 BLAKE2B 40a065fe1a3585897b3ca554a25fa80ffc68ac70798f2f803e34a231ec4f532d113a3d00ab7ab61f5eb02503a84e1459cdb7e96cb0b0d1dc6975ed3d533104fe SHA512 c6c80d099386bac27e385a1b8ee8941cd2fb4f2dcfcf302b4b17d6477ac9ee17ad8030aae9191f92576dfaeb521e2c98ec24e867281c2405e42f95580e14f0ab +DIST cholmod-3.0.14.tar.bz2 696981 BLAKE2B 855927c18833235b3f0835bfba455d83957b9161c0ee885c2d31d126f0f473067f55bcf2cfa163c72efb5de573589ffa54b484a8cf89bc44c9dbf64d43fda5d9 SHA512 f8c12fc3c8787be38bca6c6f84a8279c1380fbe4fabbfba754235fdb042d7050bfb7b5a21ea87ef59dbd5184d28e8cb7667966c38f5dcad78fe8d47111896a3c EBUILD cholmod-2.1.2.ebuild 1760 BLAKE2B 4843142c993deb0246fe7aa3b333b0ff3f4c8c64f1b3582ba6c7df5fe287514ca124cc0939c60820c52476c6759440a1db812b677dd8cc9f23cfd93e4695099f SHA512 9884339cb38f0095eb9e087659b98cd6cd62425e11621cd40849a8b7e40965169f3b3be4fb2217f50b491327b83f7554ab5c8fbd55427a2ee1a293ad55b5428f -EBUILD cholmod-3.0.13.ebuild 1672 BLAKE2B 09acac2ecf87fa376e53b52733e3b45f9a72884f318fa01a9bc516c9dc50d81416bc8ad004353a66ef4bf97db3ac2008dc758034a38a9aef36e543b89aecb233 SHA512 e87be48fd0ac76db3edbb812220ba6f8a2c88b52fd9091e6508d8cf584fc5cec0ab7e280ec2e0d4702fbebaaf0af197219c68f6966766c2ad8b3c7901cf8a417 +EBUILD cholmod-3.0.13.ebuild 1671 BLAKE2B ef23737bdc534124377cb44705fc0b5368ab3df316f48f1a76f3db14fd6a66a56536e8a051fb5f35e8caa444ed8277a43f2dac22f7cbd1f200be4af926771407 SHA512 a22969e486cafd4184fb8181132321d120455e62c6351b646d2177261039ac1d4c3520dd3b9353f266b1ec97198039d85b28c87e8915f724ca2cf25651ab6f9b +EBUILD cholmod-3.0.14.ebuild 1653 BLAKE2B 417721714a260b7265470a26f7231972780e04785f34c7f6c855ee83c26b6c687e04f1b4e474ea4ffc5db47b941448c50c0c0e487d90e4334bd0dda6a4a48c3e SHA512 4f5fee2fe576c5f77dcf30c3512a5439fab0ba96d586a7e7b2dd12388b22be00dbab50127068064a757d02597737846f44e5f6da429489381b0de6083f5fd569 MISC metadata.xml 920 BLAKE2B d78c2990bf35b95155adefe8a7b6d3213cd7187d031abbe91f1e12cb2ab438fce1ec34743a21a20b649255c691b87b6033f8bf8eec30b670456c105ad80f2c9a SHA512 64083142e54e0d9df8fb93c8a9ef810c4a6c85546ed8d96413acbadcbe3120d528e15895786e303094874448eeb4b411ce457147f452f781c6184aea985f5e9a diff --git a/sci-libs/cholmod/cholmod-3.0.13.ebuild b/sci-libs/cholmod/cholmod-3.0.13.ebuild index 4fdcecff8207..96d60a60ddcf 100644 --- a/sci-libs/cholmod/cholmod-3.0.13.ebuild +++ b/sci-libs/cholmod/cholmod-3.0.13.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" LICENSE="LGPL-2.1+ modify? ( GPL-2+ ) matrixops? ( GPL-2+ )" SLOT="0" -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-macos" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-macos" IUSE="cuda doc +lapack +matrixops +modify +partition" BDEPEND="virtual/pkgconfig diff --git a/sci-libs/cholmod/cholmod-3.0.14.ebuild b/sci-libs/cholmod/cholmod-3.0.14.ebuild new file mode 100644 index 000000000000..566f5c250c17 --- /dev/null +++ b/sci-libs/cholmod/cholmod-3.0.14.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Sparse Cholesky factorization and update/downdate library" +HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" +SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" + +LICENSE="LGPL-2.1+ modify? ( GPL-2+ ) matrixops? ( GPL-2+ )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="cuda doc +lapack +matrixops +modify +partition" + +BDEPEND="virtual/pkgconfig + doc? ( virtual/latex-base )" +DEPEND=" + sci-libs/amd + sci-libs/colamd + cuda? ( + dev-util/nvidia-cuda-toolkit + x11-drivers/nvidia-drivers + ) + lapack? ( virtual/lapack ) + partition? ( + sci-libs/camd + sci-libs/ccolamd + || ( + >=sci-libs/metis-5.1.0 + sci-libs/parmetis + ) + )" +RDEPEND="${DEPEND}" + +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 cudaconfargs=( $(use_with cuda) ) + if use cuda ; then + cudaconfargs+=( + --with-cublas-libs="-L${EPREFIX}/opt/cuda/$(get_libdir) -lcublas" + --with-cublas-cflags="-I${EPREFIX}/opt/cuda/include" + ) + fi + + econf \ + --disable-static \ + --with-blas="${blas_libs}" \ + --with-lapack="${lapack_libs}" \ + $(use_with doc) \ + $(use_with modify) \ + $(use_with matrixops) \ + $(use_with partition) \ + $(use_with partition camd) \ + $(use_with lapack supernodal) \ + "${cudaconfargs[@]}" +} + +src_install() { + default + + # no static archives + find "${D}" -name '*.la' -delete || die +} -- cgit v1.2.3