mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sci-libs/camd: 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
8695e65df4
commit
71308f9d6e
@@ -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 camd-2.4.6.tar.bz2 317071 BLAKE2B 8f982050a20f00c9443063a0473caa4aa27efe005fe07b503cb68b29499152561fc9d30d00783607b1e8fb8af88707eabfe22d192b80e375b8a6d04d7a9a26d7 SHA512 c4020ed3e063d04f5d7d1a301719b1a5b5b912d505858f046654c9d283c41ff01d55f668fb7f7179a6ac636f5a5b80f71cac5eb5b1e5cae0ede97d946d62a1d0
|
||||
|
||||
@@ -1,59 +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="Library to order a sparse matrix prior to Cholesky factorization"
|
||||
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="BSD"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}"
|
||||
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() {
|
||||
# Run demo files
|
||||
local demofiles=(
|
||||
camd_demo
|
||||
camd_l_demo
|
||||
camd_demo2
|
||||
camd_simple
|
||||
)
|
||||
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
|
||||
einfo "All tests passed"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
if use doc; then
|
||||
pushd "${S}/Doc"
|
||||
emake clean
|
||||
rm -rf *.pdf
|
||||
emake
|
||||
popd
|
||||
DOCS="${S}/Doc/*.pdf"
|
||||
fi
|
||||
cmake_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user