mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-libs/spqr: depend on cholmod:=
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44994 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -14,17 +14,22 @@ SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="doc partition tbb"
|
||||
|
||||
BDEPEND="virtual/pkgconfig
|
||||
doc? ( virtual/latex-base )"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( virtual/latex-base )
|
||||
"
|
||||
# We require the cholmod supernodal module that is enabled with
|
||||
# USE=lapack, and cholmod has to have partition support if spqr is going
|
||||
# to have it (the ./configure script for spqr checks this). Note that
|
||||
# spqr links to metis directly, too.
|
||||
DEPEND="
|
||||
virtual/lapack
|
||||
=sci-libs/cholmod-3*[lapack,partition?]
|
||||
=sci-libs/cholmod-3*:=[lapack,partition?]
|
||||
sci-libs/suitesparseconfig
|
||||
|
||||
partition? ( >=sci-libs/metis-5.1.0 )
|
||||
tbb? ( <dev-cpp/tbb-2021:= )"
|
||||
tbb? ( <dev-cpp/tbb-2021:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -10,6 +10,7 @@ Sparse_P="SuiteSparse-${Sparse_PV}"
|
||||
DESCRIPTION="Multithreaded multifrontal sparse QR 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"
|
||||
S="${WORKDIR}/${Sparse_P}/${PN^^}"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0/3"
|
||||
@@ -17,15 +18,17 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
IUSE="doc openmp test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=sci-libs/suitesparseconfig-${Sparse_PV}
|
||||
DEPEND="
|
||||
>=sci-libs/suitesparseconfig-${Sparse_PV}
|
||||
>=sci-libs/amd-3.0.3
|
||||
>=sci-libs/colamd-3.0.3
|
||||
>=sci-libs/cholmod-4.0.3
|
||||
virtual/blas"
|
||||
>=sci-libs/cholmod-4.0.3:=
|
||||
virtual/blas
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="doc? ( virtual/latex-base )"
|
||||
|
||||
S="${WORKDIR}/${Sparse_P}/${PN^^}"
|
||||
BDEPEND="
|
||||
doc? ( virtual/latex-base )
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
|
||||
Reference in New Issue
Block a user