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/blas
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/blas')
-rw-r--r--virtual/blas/blas-3.8.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/virtual/blas/blas-3.8.ebuild b/virtual/blas/blas-3.8.ebuild
index e3807aaa8c4a..45bf1cc03013 100644
--- a/virtual/blas/blas-3.8.ebuild
+++ b/virtual/blas/blas-3.8.ebuild
@@ -9,6 +9,9 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~
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}"