Skip to content

Commit eaa8d68

Browse files
authored
Merge pull request #7693 from luotao1/openblas_install
refine openblas install lib when CAPI
2 parents 1861562 + b468567 commit eaa8d68

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmake/external/openblas.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ IF(NOT ${CBLAS_FOUND})
100100
\"${CBLAS_INSTALL_DIR}/lib -> ${CMAKE_INSTALL_PREFIX}/${TMP_INSTALL_DIR}\"
101101
)"
102102
)
103+
INSTALL(CODE "execute_process(
104+
COMMAND rm -r ${CMAKE_INSTALL_PREFIX}/${TMP_INSTALL_DIR}/cmake
105+
${CMAKE_INSTALL_PREFIX}/${TMP_INSTALL_DIR}/pkgconfig
106+
)"
107+
)
103108
ENDIF()
104109
ENDIF(NOT ${CBLAS_FOUND})
105110

0 commit comments

Comments
 (0)