Skip to content

Enhancement request: lapack recipe using OpenBLAS #2824

@RobertFlatt

Description

@RobertFlatt

Description

The current lapack recipe implementation using LEGACY_NDK is clever but somewhat baroque. And not all users can navigate the steps.

Consider using lapack from OpenBLAS, it contains lapack (the same version 3.10.1) that has been run through f2c.
So lapack can be be built with a C compiler, no extra NDK!

This is now the default behavior of OpenBLAS, so we might reasonably think it is stable.

From https://www.openblas.net/Changelog.txt

Version 0.3.21
07-Aug-2022

general:

  • Updated the included LAPACK to Reference-LAPACK release 3.10.1
  • when no Fortran compiler is available, OpenBLAS builds will now automatically
    build LAPACK from an f2c-converted copy of LAPACK 3.9.0 unless the NO_LAPACK option
    is specified

An alternative might be to use f2c directly, since OpenBLAS contains C not Fortran it is possible this translation has issues with automation. Impossible to know without trying it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions