mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[openblas] Fix error in patching cblas.h which removes semicolons
This commit is contained in:
parent
28ace17363
commit
fbf406083e
@ -1,3 +1,3 @@
|
|||||||
Source: openblas
|
Source: openblas
|
||||||
Version: v0.2.19-1
|
Version: v0.2.19-2
|
||||||
Description: OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
|
Description: OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
|
||||||
|
@ -61,8 +61,8 @@ file(COPY ${SOURCE_PATH}/config.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
|||||||
file(RENAME ${CURRENT_PACKAGES_DIR}/include/config.h ${CURRENT_PACKAGES_DIR}/include/openblas_config.h)
|
file(RENAME ${CURRENT_PACKAGES_DIR}/include/config.h ${CURRENT_PACKAGES_DIR}/include/openblas_config.h)
|
||||||
|
|
||||||
file(READ ${SOURCE_PATH}/cblas.h CBLAS_H)
|
file(READ ${SOURCE_PATH}/cblas.h CBLAS_H)
|
||||||
string(REPLACE "#include \"common.h\"" "#include \"openblas_common.h\"" 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 ${CBLAS_H})
|
file(WRITE ${CURRENT_PACKAGES_DIR}/include/cblas.h "${CBLAS_H}")
|
||||||
|
|
||||||
# openblas is BSD
|
# openblas is BSD
|
||||||
file(COPY ${CURRENT_BUILDTREES_DIR}/src/OpenBLAS-0.2.19/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openblas)
|
file(COPY ${CURRENT_BUILDTREES_DIR}/src/OpenBLAS-0.2.19/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/openblas)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user