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:
parent
b53eb2026a
commit
605dc8bf85
1 changed files with 9 additions and 0 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue