diff --git a/sci-libs/openblas/metadata.xml b/sci-libs/openblas/metadata.xml index 32a862ad6e08d..f5c29632a7ef0 100644 --- a/sci-libs/openblas/metadata.xml +++ b/sci-libs/openblas/metadata.xml @@ -30,7 +30,7 @@ Enable BLAS/LAPACK runtime switching - + Compile a separate INTERFACE64 OpenBLAS diff --git a/sci-libs/openblas/openblas-0.3.29.ebuild b/sci-libs/openblas/openblas-0.3.29.ebuild index e52f67a833186..a6ffcc7671e8b 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 e1793ed6bc542..beffb19816ddd 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