mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sci-libs/ldl: drop 3.0.3
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/985 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
This commit is contained in:
committed by
Nowa Ammerlaan
parent
c1a98eaddb
commit
dbb9e1b09f
@@ -1,3 +1,2 @@
|
||||
DIST SuiteSparse-7.0.0.gh.tar.gz 64884962 BLAKE2B 06c6cf54ffae188f5179e0cd45523700448d8999b44d6b1aeb3dfb99ccf34a570f6aff600988a144c68a4a2d8f41e32f7145e09349aed3bd889501ea031c8340 SHA512 50b1cd7bab6e4c063984162ed803fd13b69df7f67efe8ce7af15eace6b0ccd1669b6e57daa59511fd9531a847433cda49c1f52bfff234031af0d79e7fbd6423e
|
||||
DIST SuiteSparse-7.12.2.gh.tar.gz 95337908 BLAKE2B df279ccc572887ecda2809551eefd34d0780b9cfef5c257c6c9f218dbcc5140f44e148a8199ebe899984561bb454b1f202606f8af290d71f5caeef4c008659c4 SHA512 0a7d070c90ef0a55c3ed821edf6567f4a84d5615250898b8fbacad19e1cf53dba199c38369c771465b4149ba5501bf0c1ae1352f29d0fb462fd10ca90e486cfa
|
||||
DIST ldl-2.2.6.tar.bz2 342923 BLAKE2B 7acf1a82824de013fe9a7742fb2d5c44c86de96e95d1d7408106d4af420dc3655ab7533eb80592b52523245c7545bc246bf129712547ff6eba856a807c78b6ad SHA512 266c9e62c474a6a9b2d7f74aa580e313fbe4b322197236ba6fbbab6d1756348cf146c1d807ea6d8d0e5941cedc48298e8437aaf386dd6c433dcaf41a9d0b7371
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake-multilib
|
||||
|
||||
Sparse_PV="7.0.0"
|
||||
Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Simple but educational LDL^T matrix factorization algorithm"
|
||||
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="LGPL-2.1+"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}
|
||||
>=sci-libs/amd-3.0.3"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="doc? ( virtual/latex-base )"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/${PN^^}"
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DNSTATIC=ON
|
||||
-DDEMO=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# Some programs assume that they can access the Matrix folder in ${S}
|
||||
ln -s "${S}/Matrix" || die "cannot link to the Matrix folder"
|
||||
# Run demo files
|
||||
local demofiles=(
|
||||
ldlsimple
|
||||
ldllsimple
|
||||
ldlmain
|
||||
ldllmain
|
||||
ldlamd
|
||||
ldllamd
|
||||
)
|
||||
for i in ${demofiles[@]}; do
|
||||
./"${i}" > "${i}.out" || die "failed to run test ${i}"
|
||||
diff "${S}/Demo/${i}.out" "${i}.out" || die "failed testing ${i}"
|
||||
done
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if use doc; then
|
||||
pushd "${S}/Doc"
|
||||
rm -rf *.pdf
|
||||
emake
|
||||
popd
|
||||
DOCS="${S}/Doc/*.pdf"
|
||||
fi
|
||||
cmake_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user