[openblas] Fix missing write to cblas.h

This commit is contained in:
Robert Schumacher 2017-04-14 18:52:19 -07:00
parent 8f245259b9
commit 583abfa178
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
Source: openblas
Version: v0.2.19
Version: v0.2.19-1
Description: OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.

View File

@ -62,7 +62,7 @@ file(RENAME ${CURRENT_PACKAGES_DIR}/include/config.h ${CURRENT_PACKAGES_DIR}/inc
file(READ ${SOURCE_PATH}/cblas.h CBLAS_H)
string(REPLACE "#include \"common.h\"" "#include \"openblas_common.h\"" CBLAS_H ${CBLAS_H})
file(WRITE ${CURRENT_PACKAGES_DIR}/include/cblas.h)
file(WRITE ${CURRENT_PACKAGES_DIR}/include/cblas.h ${CBLAS_H})
# openblas is BSD
file(COPY ${CURRENT_BUILDTREES_DIR}/src/OpenBLAS-0.2.19/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openblas)