commit:     b23a6b8d1c53424e62672c6f2b6a59a5260d8bb5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 14 09:48:48 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 16 17:35:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b23a6b8d

virtual/lapacke: Add index64 passthrough

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 virtual/lapacke/lapacke-3.8-r2.ebuild | 17 +++++++++++++++++
 virtual/lapacke/metadata.xml          |  1 +
 2 files changed, 18 insertions(+)

diff --git a/virtual/lapacke/lapacke-3.8-r2.ebuild 
b/virtual/lapacke/lapacke-3.8-r2.ebuild
new file mode 100644
index 000000000000..6a00bf1da3a0
--- /dev/null
+++ b/virtual/lapacke/lapacke-3.8-r2.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+DESCRIPTION="Virtual for LAPACK C implementation"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+IUSE="eselect-ldso index64"
+
+RDEPEND="
+       >=sci-libs/lapack-3.8.0[lapacke,eselect-ldso?,index64(-)?]
+       eselect-ldso? ( || (
+               >=sci-libs/lapack-3.8.0[lapacke,eselect-ldso]
+               >=sci-libs/openblas-0.3.10[eselect-ldso]
+       ) )
+"

diff --git a/virtual/lapacke/metadata.xml b/virtual/lapacke/metadata.xml
index e6d517932cad..2b87d529e9ba 100644
--- a/virtual/lapacke/metadata.xml
+++ b/virtual/lapacke/metadata.xml
@@ -7,6 +7,7 @@
        </maintainer>
        <use>
                <flag name="eselect-ldso">Enable runtime library switching by 
eselect and ld.so.</flag>
+               <flag name="index64">Provide an ILP64 library in addition to 
LP64</flag>
        </use>
        <stabilize-allarches/>
 </pkgmetadata>

Reply via email to