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@gentoo.org>
This commit is contained in:
Michał Górny 2025-09-13 15:59:35 +02:00
parent 8b04fa8275
commit e3a352f267
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
3 changed files with 15 additions and 15 deletions

View File

@ -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">

View File

@ -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

View File

@ -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