openblas: add headers property (#9831)

This commit adds only the public headers from the full list of headers
installed by OpenBLAS; this list of headers is the same as in
netlib-lapack.
This commit is contained in:
Geoffrey Oxberry 2018-11-14 19:35:42 -08:00 committed by Adam J. Stewart
parent b53eb2026a
commit 605dc8bf85

View file

@ -170,6 +170,15 @@ def make_defs(self):
return make_defs
@property
def headers(self):
# As in netlib-lapack, the only public headers for cblas and lapacke in
# openblas are cblas.h and lapacke.h. The remaining headers are private
# headers either included in one of these two headers, or included in
# one of the source files implementing functions declared in these
# headers.
return find_headers(['cblas', 'lapacke'], self.prefix.include)
@property
def build_targets(self):
targets = ['libs', 'netlib']