commit:     e3a352f267ed269a99f301b34d959aa045eafe1e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 13 13:59:35 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 16 17:35:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3a352f2

sci-libs/openblas: Rename index-64bit → index64

Let's resolve the sci-libs/cblis and sci-libs/openblas flag
inconsistency by settling on a shorter 'index64' flag name.

Closes: https://bugs.gentoo.org/962808
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sci-libs/openblas/metadata.xml              |  2 +-
 sci-libs/openblas/openblas-0.3.29.ebuild    | 14 +++++++-------
 sci-libs/openblas/openblas-0.3.30-r2.ebuild | 14 +++++++-------
 3 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/sci-libs/openblas/metadata.xml b/sci-libs/openblas/metadata.xml
index 32a862ad6e08..f5c29632a7ef 100644
--- a/sci-libs/openblas/metadata.xml
+++ b/sci-libs/openblas/metadata.xml
@@ -30,7 +30,7 @@
                <flag name="eselect-ldso">
                        Enable BLAS/LAPACK runtime switching
                </flag>
-               <flag name="index-64bit">
+               <flag name="index64">
                        Compile a separate INTERFACE64 OpenBLAS
                </flag>
                <flag name="pthread">

diff --git a/sci-libs/openblas/openblas-0.3.29.ebuild 
b/sci-libs/openblas/openblas-0.3.29.ebuild
index e52f67a83318..a6ffcc7671e8 100644
--- a/sci-libs/openblas/openblas-0.3.29.ebuild
+++ b/sci-libs/openblas/openblas-0.3.29.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}"/${MY_P}
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux 
~x64-macos"
-IUSE="dynamic eselect-ldso index-64bit openmp pthread relapack test"
+IUSE="dynamic eselect-ldso index64 openmp pthread relapack test"
 REQUIRED_USE="?? ( openmp pthread )"
 RESTRICT="!test? ( test )"
 
@@ -65,8 +65,8 @@ src_prepare() {
        sed -i -e "/^all :: tests/s: tests::g" Makefile || die
 
        # If 64bit-index is needed, create second library with 
LIBPREFIX=libopenblas64
-       if use index-64bit; then
-               cp -aL "${S}" "${S}-index-64bit" || die
+       if use index64; then
+               cp -aL "${S}" "${S}-index64" || die
        fi
 }
 
@@ -123,8 +123,8 @@ src_compile() {
 
        use eselect-ldso && emake -C interface shared-blas-lapack
 
-       if use index-64bit; then
-               emake -C "${S}-index-64bit" \
+       if use index64; then
+               emake -C "${S}-index64" \
                          INTERFACE64=1 \
                          LIBPREFIX=libopenblas64 shared
        fi
@@ -141,8 +141,8 @@ src_install() {
 
        dodoc GotoBLAS_*.txt *.md Changelog.txt
 
-       if use index-64bit; then
-               dolib.so "${S}-index-64bit"/libopenblas64*.so*
+       if use index64; then
+               dolib.so "${S}-index64"/libopenblas64*.so*
        fi
 
        if use eselect-ldso; then

diff --git a/sci-libs/openblas/openblas-0.3.30-r2.ebuild 
b/sci-libs/openblas/openblas-0.3.30-r2.ebuild
index e1793ed6bc54..beffb19816dd 100644
--- a/sci-libs/openblas/openblas-0.3.30-r2.ebuild
+++ b/sci-libs/openblas/openblas-0.3.30-r2.ebuild
@@ -14,7 +14,7 @@ S="${WORKDIR}"/${MY_P}
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux 
~x64-macos"
-IUSE="cpudetection eselect-ldso index-64bit openmp pthread relapack test"
+IUSE="cpudetection eselect-ldso index64 openmp pthread relapack test"
 REQUIRED_USE="?? ( openmp pthread )"
 RESTRICT="cpudetection? ( bindist ) !test? ( test )"
 
@@ -69,8 +69,8 @@ src_prepare() {
        sed -i -e "/^all :: tests/s: tests::g" Makefile || die
 
        # If 64bit-index is needed, create second library with 
LIBPREFIX=libopenblas64
-       if use index-64bit; then
-               cp -aL "${S}" "${S}-index-64bit" || die
+       if use index64; then
+               cp -aL "${S}" "${S}-index64" || die
        fi
 }
 
@@ -138,8 +138,8 @@ src_compile() {
 
        use eselect-ldso && emake -C interface shared-blas-lapack
 
-       if use index-64bit; then
-               emake -C "${S}-index-64bit" \
+       if use index64; then
+               emake -C "${S}-index64" \
                          INTERFACE64=1 \
                          LIBPREFIX=libopenblas64 shared
        fi
@@ -156,8 +156,8 @@ src_install() {
 
        dodoc GotoBLAS_*.txt *.md Changelog.txt
 
-       if use index-64bit; then
-               dolib.so "${S}-index-64bit"/libopenblas64*.so*
+       if use index64; then
+               dolib.so "${S}-index64"/libopenblas64*.so*
        fi
 
        if use eselect-ldso; then

Reply via email to