xtb icon indicating copy to clipboard operation
xtb copied to clipboard

Add support of framework Accelerate for MacOS

Open foxtran opened this issue 2 months ago • 0 comments

This patch masks old buggy implementation of BLAS/LAPACK from Apple Accelerate with fixed version via aliasing. New implementation is available since MacOS 13.3, and has suffix $NEWLAPACK for LP64 mode, ILP64 mode has syffix $NEWLAPACK$ILP64. However, new implementation still has incompatible interface for cdotc, cdotu, zdotc, zdotu. Fortunately, xtb does not use them.

I've masked all used BLAS/LAPACK routines which are used at the current moment. Better solution is to provide explicit interfaces/masking to BLAS/LAPACK in source code.

Closes #1319

foxtran avatar Dec 14 '25 19:12 foxtran