diff --git a/cmake/external/openblas.cmake b/cmake/external/openblas.cmake index 6f9f6a11ab2e4d134dd57411fb36404e212b9f0f..267f8d733cbd41dd097ac7ea5f6a869f6a60335e 100644 --- a/cmake/external/openblas.cmake +++ b/cmake/external/openblas.cmake @@ -18,7 +18,6 @@ set(CBLAS_PREFIX_DIR ${THIRD_PARTY_PATH}/openblas) set(CBLAS_INSTALL_DIR ${THIRD_PARTY_PATH}/install/openblas) set(CBLAS_SOURCE_DIR ${PADDLE_SOURCE_DIR}/third_party/openblas) set(CBLAS_TAG v0.3.7) -set(CMAKE_VERBOSE_MAKEFILE 1) # OpenBLAS support Raptor Lake from v0.3.22 if(UNIX @@ -90,7 +89,7 @@ if(NOT WIN32) PREFIX ${CBLAS_PREFIX_DIR} INSTALL_DIR ${CBLAS_INSTALL_DIR} BUILD_IN_SOURCE 1 - BUILD_COMMAND make ${ARM_ARGS} -j${NPROC} ${COMMON_ARGS} ${OPTIONAL_ARGS} + BUILD_COMMAND make ${ARM_ARGS} -s -j${NPROC} ${COMMON_ARGS} ${OPTIONAL_ARGS} INSTALL_COMMAND make install NO_SHARED=1 NO_LAPACK=1 PREFIX= UPDATE_COMMAND "" CONFIGURE_COMMAND "" @@ -118,6 +117,7 @@ else() -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_BUILD_TYPE=${THIRD_PARTY_BUILD_TYPE} -DBUILD_SHARED_LIBS=ON + -DCMAKE_VERBOSE_MAKEFILE=OFF -DMSVC_STATIC_CRT=${MSVC_STATIC_CRT} ${EXTERNAL_OPTIONAL_ARGS} CMAKE_CACHE_ARGS