From 7d1fc8f13082082c2539f20beadcf37089543b8e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 20 Jun 2023 07:15:41 +0100 Subject: gentoo auto-resync : 20:06:2023 - 07:15:40 --- sci-libs/umfpack/Manifest | 4 ++- sci-libs/umfpack/metadata.xml | 3 ++ sci-libs/umfpack/umfpack-6.1.0.ebuild | 62 +++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 sci-libs/umfpack/umfpack-6.1.0.ebuild (limited to 'sci-libs/umfpack') diff --git a/sci-libs/umfpack/Manifest b/sci-libs/umfpack/Manifest index 125e14a0f1fd..861c8ffe2434 100644 --- a/sci-libs/umfpack/Manifest +++ b/sci-libs/umfpack/Manifest @@ -1,3 +1,5 @@ +DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e DIST umfpack-5.7.9.tar.bz2 772026 BLAKE2B 6d6dc1ba47b8f473884c1cb17d3eaa363d88281512e33586a0af0c2bcb7a523272bef4d8da0a29e2a5a84c8f0cd0ee6830ec10247971db63b4c319e6fa9a3c42 SHA512 5ad57467b5b7e4579f3cc9e2e7c92a0262ac2ef991a606d079b749b66e10da60aceaa4b0e741c116f8866da23c0f7c06368fe2b08d66d51383683f0dcbeddba3 EBUILD umfpack-5.7.9.ebuild 977 BLAKE2B fb4578c86c41869d47c562476dd75be4b9f50aa948f0e9217e0cc8e4a0553621e1936855613ca9ea4d5f3f5b72c0262af38d257467a7e5b795c2e3dd641fb9f7 SHA512 033b910e9756514ddf46ce33192ed6de6f1bb5a25adb7c723539a5aa5303996cd705aba5f5ce876bcb393cb6c46d3131cb39308eee0108be27e257dc664bde08 -MISC metadata.xml 670 BLAKE2B 6b5902ee9a262efbd7c92e086ddbb21bbd47e77fb157a82e1fa5916daf903afa0e01f0e49b15e97efc4a410977d078e937316f70f296a9db0d468578e0f32d7d SHA512 63bb1ae817d154e94eb42be42d7921012d8716aa965e0e6da3c05cc03e203666e15e1bb79ad2e57e35c3db48fd1696256f0c22157423cce57c7fd5519071100b +EBUILD umfpack-6.1.0.ebuild 1606 BLAKE2B d5017efea4f07857e43fb53c2c9e1d7aaa3657a700814da257bd88cfdfc49b85d62706a7015ed4222542f2f14ff2bdc5b85742ad7f18f20084db11676159e6e1 SHA512 fd0e82b5d1556b2b35208d5ccbf491a01a475a4f1e47f332285e50b72d8de5acf822b15b0b962ba0de75fcbd89aa71711b1ff3e362269cc6c30b60e2e7f8227c +MISC metadata.xml 770 BLAKE2B baab7f00e3d0315471557ca540ab6249d1e8b5c7977a4b8ae334da320e7b708be401a07dbf51e3693017ef866750aca1d52cdd60a8799c63c7f006aa49d761a1 SHA512 007ea9f65bb556568a5a7fb5eb0c2dfc04a0a2d2093a8aff0330b00bceef238127513c9c8cce212cb6a701878e197533a468016428381b5611ab4c34979f9fdd diff --git a/sci-libs/umfpack/metadata.xml b/sci-libs/umfpack/metadata.xml index 4f63dca968ed..82e4a996b5c7 100644 --- a/sci-libs/umfpack/metadata.xml +++ b/sci-libs/umfpack/metadata.xml @@ -15,4 +15,7 @@ Use sci-libs/cholmod for matrix ordering + + DrTimothyAldenDavis/SuiteSparse + diff --git a/sci-libs/umfpack/umfpack-6.1.0.ebuild b/sci-libs/umfpack/umfpack-6.1.0.ebuild new file mode 100644 index 000000000000..9c3dbd8753ad --- /dev/null +++ b/sci-libs/umfpack/umfpack-6.1.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib toolchain-funcs + +Sparse_PV="7.0.0" +Sparse_P="SuiteSparse-${Sparse_PV}" +DESCRIPTION="Unsymmetric multifrontal sparse LU factorization library" +HOMEPAGE="https://people.engr.tamu.edu/davis/suitesparse.html" +SRC_URI="https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v${Sparse_PV}.tar.gz -> ${Sparse_P}.gh.tar.gz" + +LICENSE="GPL-2+" +SLOT="0/6" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc openmp test" +RESTRICT="!test? ( test )" + +DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV} + >=sci-libs/amd-3.0.3 + >=sci-libs/cholmod-4.0.3[openmp=] + virtual/blas" +RDEPEND="${DEPEND}" +BDEPEND="doc? ( virtual/latex-base )" + +S="${WORKDIR}/${Sparse_P}/${PN^^}" + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +multilib_src_configure() { + # Fortran is only used to compile additional demo programs that can be tested. + local mycmakeargs=( + -DNSTATIC=ON + -DNOPENMP=$(usex openmp OFF ON) + -DNFORTRAN=ON + -DDEMO=$(usex test) + ) + cmake_src_configure +} + +multilib_src_test() { + # Run simple demo first + # Other demo files have issues making them unsuitable for testing + ./umfpack_simple || die "failed testing umfpack_simple" +} +multilib_src_install() { + if use doc; then + pushd "${S}/Doc" + rm -rf *.pdf + emake + popd + DOCS="${S}/Doc/*.pdf" + fi + cmake_src_install +} -- cgit v1.2.3