summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2019-06-26 13:43:34 +0800
committerBenda Xu <heroxbd@gentoo.org>2019-07-03 20:30:39 +0800
commita56935f3b33cc88e50909dfea016deb08988cade (patch)
treea6d156586267e18c68dc06705d69eda726430e78 /virtual/cblas/cblas-3.8.ebuild
parentvirtual/{blas,cblas,lapack,lapacke}: add virtual packages. (diff)
downloadgentoo-a56935f3b33cc88e50909dfea016deb08988cade.tar.gz
gentoo-a56935f3b33cc88e50909dfea016deb08988cade.tar.bz2
gentoo-a56935f3b33cc88e50909dfea016deb08988cade.zip
virtual/{c,}blas: add sci-libs/blis as a candidate.
On ld.so-based systems, runtime library switching is possible. We use 'eselect-ldso' to flag this possibility. In this case, blis can used as a drop-in replacement via an `eselect` call. Otherwise If USE eselect-ldso is not set, only reference implementation will be pulled in. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'virtual/cblas/cblas-3.8.ebuild')
-rw-r--r--virtual/cblas/cblas-3.8.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/virtual/cblas/cblas-3.8.ebuild b/virtual/cblas/cblas-3.8.ebuild
index 0b295963f8de..440e9fc4a540 100644
--- a/virtual/cblas/cblas-3.8.ebuild
+++ b/virtual/cblas/cblas-3.8.ebuild
@@ -9,6 +9,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~a
IUSE="eselect-ldso"
RDEPEND="
- >=sci-libs/lapack-3.8.0[eselect-ldso?]
+ !eselect-ldso? ( >=sci-libs/lapack-3.8.0[-eselect-ldso] )
+ eselect-ldso? ( || (
+ >=sci-libs/lapack-3.8.0[eselect-ldso]
+ sci-libs/blis[eselect-ldso] ) )
"
DEPEND="${RDEPEND}"