commit:     9cb9e2ab10d3f0950decb935c060151d72359016
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 08:11:10 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 08:11:10 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=9cb9e2ab

virtual/blacs: add ABI_x86 and int64 support

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 virtual/blacs/blacs-1.1-r1.ebuild | 27 +++++++++++++++++++++++++++
 virtual/blacs/metadata.xml        |  4 ++++
 2 files changed, 31 insertions(+)

diff --git a/virtual/blacs/blacs-1.1-r1.ebuild 
b/virtual/blacs/blacs-1.1-r1.ebuild
new file mode 100644
index 0000000..3541e2c
--- /dev/null
+++ b/virtual/blacs/blacs-1.1-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit multilib-build
+
+DESCRIPTION="Virtual for BLACS implementation"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="doc int64"
+
+RDEPEND="
+       || (
+               sci-libs/mkl[int64?,${MULTILIB_USEDEP}]
+               abi_x86_64? ( !abi_x86_32? ( >=sci-libs/mpiblacs-1.1 ) )
+       )
+       int64? ( sci-libs/mkl[int64,${MULTILIB_USEDEP}] )
+       doc? ( >=app-doc/blacs-docs-1 )"
+DEPEND=""

diff --git a/virtual/blacs/metadata.xml b/virtual/blacs/metadata.xml
index 3feba42..859ed1f 100644
--- a/virtual/blacs/metadata.xml
+++ b/virtual/blacs/metadata.xml
@@ -5,4 +5,8 @@
   <longdescription lang="en">
   Gentoo virtual package for the Basic Linear Algebra Communication 
Subprograms implementation.
 </longdescription>
+  <use>
+    <flag name="int64">Add eselect module for blas libraries built with 64 bits
+  integer ABI</flag>
+  </use>
 </pkgmetadata>

Reply via email to