Hello,

I'd like to propose adding a new global flag, with the following
proposed description:

index64 - Use the BLAS/LAPACK index64 API with 64-bit integers for array 
indexing

This is flag is not yet used in ::gentoo, it is part of ILP64 support
for BLAS/LAPACK that I'm working on [1].  It replaces the existing
'64bit-index' and 'index-64bit' flags, and extends them to the remaining
BLAS / LAPACK packages.

The idea is that the flag would be present in a semi-consistent manner
on two kinds of packages:

1) BLAS/LAPACK providers (blis, lapack, openblas and the virtuals),
where it will be locally redefined to indicate that it enables
installing / providing ILP64 BLAS / LAPACK libraries in addition
to the LP64 libraries,

2) BLAS/LAPACK consumers (such as numpy) where it will enable linking
against the ILP64 libraries instead of the LP64 libraries.


Short explanation for onlookers:

The "traditional" BLAS API (also called LP64) used 32-bit integers for
array indexing.  The ILP64 API (also known as index64 or simply "64-bit
BLAS") uses 64-bit integers instead, providing e.g. support for very
long arrays.


[1] https://github.com/gentoo/gentoo/pull/43776

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to