From 44cec61076bf2bbb3cea1fc89943dd6818a5acc5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 6 Jun 2024 00:07:58 +0100 Subject: gentoo auto-resync : 06:06:2024 - 00:07:57 --- sci-libs/cholmod/Manifest | 2 +- sci-libs/cholmod/cholmod-3.0.14-r1.ebuild | 78 +++++++++++++++++++++++++++++++ sci-libs/cholmod/cholmod-3.0.14.ebuild | 78 ------------------------------- 3 files changed, 79 insertions(+), 79 deletions(-) create mode 100644 sci-libs/cholmod/cholmod-3.0.14-r1.ebuild delete 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 667cb3eea219..5114c8e98ab1 100644 --- a/sci-libs/cholmod/Manifest +++ b/sci-libs/cholmod/Manifest @@ -3,6 +3,6 @@ DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd455237 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-3.0.13.ebuild 1748 BLAKE2B 415db8bb43c849d2839befeed9165bd0e94e47c8a7105667cd45af8bc17c7c2ccadeb8a95e012e49a79fbb22fc9899d440241c985af53ab4fb087f5365b1845f SHA512 84044c3f0b566055d2f37c9b0c822fb991d334b7fdab652ba25b26fb483341b7ed901f2749894c563c404a846a5ed7a5c3681915943cd9bee5a546d3bedd36e7 -EBUILD cholmod-3.0.14.ebuild 1767 BLAKE2B a52d9de36b65740db7245120ec5d5da6e3a8773caf325fdbf2f3374bc5d20fd00442d897b720997cf0ba2bb5d7b8ac3483031520434e2e3b5c8064805b9afe23 SHA512 4fac7ec50f85e890b555ab194e270deca18b100bca9a886a8d2a4437edf204854f429ce3ddbf705818c3332863bce00be1601e7a89f02fe3450501cc1d3179f9 +EBUILD cholmod-3.0.14-r1.ebuild 1769 BLAKE2B 091efe9805e91e984188dde55b5904442196fe470495ffefa0e74f09f82c8f2f6c6ce55b52c8270a1f8918e81d68c66de50a9b6b0fef74b31340078e665ee5b9 SHA512 ee451206bf89c546c2d930fbbcf66bf0d93ede0ba8d82bdb8ce7a4884e8a25462c0f929ec1dfc4fb7d0e3e54ee29aa795976eb476a1ba5180bd3c8b16407af35 EBUILD cholmod-4.0.3.ebuild 2974 BLAKE2B c77f759479103097bd494ecabf35b64543b9edeb42e1c3a0a98effddfeb1498909e0d7d52ee245bca29abee718accc220970f27500dc11105f75fa6ba58e4c89 SHA512 40dce0c939a3b16205b336482ec621118600f6ed34e83a897dc1b53a1c655c9f3147e5f532d3a50bfbcc44fd457f6dc78c5770ae2e8056c38715459412d6b35b MISC metadata.xml 1028 BLAKE2B dcd592d2142e5ed5f25f338675dedad56523ed62bef5d09b4c78eae4bb28f8b6611bbbf3922bf76d11d3c5085ed6bb583dd537ead0a3f3d17d9fc4c9cd0593a5 SHA512 d04eebb91d5ae9dcec0bb1d8d5be404d3ed94120e71523dbe353f7253f95a60ece8bf125fee9967e987692113d1b5f265fd485274005117038edc1b563208e96 diff --git a/sci-libs/cholmod/cholmod-3.0.14-r1.ebuild b/sci-libs/cholmod/cholmod-3.0.14-r1.ebuild new file mode 100644 index 000000000000..669494c2ea85 --- /dev/null +++ b/sci-libs/cholmod/cholmod-3.0.14-r1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cuda 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/3" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-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 + )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-3.0.14-fix-CUDA.patch" +) + +src_prepare() { + use cuda && cuda_src_prepare + + default +} + +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 +} diff --git a/sci-libs/cholmod/cholmod-3.0.14.ebuild b/sci-libs/cholmod/cholmod-3.0.14.ebuild deleted file mode 100644 index 4fc1ec9b185a..000000000000 --- a/sci-libs/cholmod/cholmod-3.0.14.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cuda 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 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-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 - )" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${PN}-3.0.14-fix-CUDA.patch" -) - -src_prepare() { - use cuda && cuda_src_prepare - - default -} - -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