mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
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:
parent
8b04fa8275
commit
e3a352f267
@ -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">
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user