Make sure that Netlib LAPACK respects FFLAGS
authorKeno Fischer <keno@alumni.harvard.edu>
Thu, 30 Sep 2021 07:14:15 +0000 (03:14 -0400)
committerGitHub <noreply@github.com>
Thu, 30 Sep 2021 07:14:15 +0000 (03:14 -0400)
commit2d33e12a119f0cf97e5c41ff4f6499e9229d9bd5
tree11e82d17fabb5c41d16f8ae4aeb074e3408532d9
parent240555033b295884fe9f679606830f7c01620ec0
Make sure that Netlib LAPACK respects FFLAGS

OpenBLAS allows users to specify `FFLAGS` and then uses `override` to append additional
options. However, without such an override in lapack's make.inc, lapack would use the external
FFLAGS, rather than the ones being computed by OpenBLAS. For example the `DEBUG=1` flag
would not apply to LAPACK code. This is all a bit messy but forced by the integration with netlib
lapack. Note that `CFLAGS` already has this override for the same reason. It is possible that
other variables here should have a similar override, but I think for most of the other ones, OpenBLAS's
build system does not append to the flags passed in by the user.
Makefile