virtual/{c,}blas: add sci-libs/blis as a candidate.
authorBenda Xu <heroxbd@gentoo.org>
Wed, 26 Jun 2019 05:43:34 +0000 (13:43 +0800)
committerBenda Xu <heroxbd@gentoo.org>
Wed, 3 Jul 2019 12:30:39 +0000 (20:30 +0800)
  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>
virtual/blas/blas-3.8.ebuild
virtual/cblas/cblas-3.8.ebuild

index e3807aaa8c4a2855c9c1591655e7562980f3bb9a..45bf1cc03013d53f7231fb5d70e79d143d066b33 100644 (file)
@@ -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}"
index 0b295963f8dead113c24490e502835a6c2262f27..440e9fc4a54053959449bfe027c41f040c67ec4a 100644 (file)
@@ -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}"