未验证 提交 89653668 编写于 作者: W Wilber 提交者: GitHub

update openblas version (#53748)

* update openblas version

* update
上级 d6d3de79
...@@ -19,12 +19,14 @@ set(CBLAS_INSTALL_DIR ${THIRD_PARTY_PATH}/install/openblas) ...@@ -19,12 +19,14 @@ set(CBLAS_INSTALL_DIR ${THIRD_PARTY_PATH}/install/openblas)
set(CBLAS_REPOSITORY ${GIT_URL}/xianyi/OpenBLAS.git) set(CBLAS_REPOSITORY ${GIT_URL}/xianyi/OpenBLAS.git)
set(CBLAS_TAG v0.3.7) set(CBLAS_TAG v0.3.7)
# Please refer to # Why use v0.3.18? The IDG business line encountered a random openblas error,
# https://github.com/PaddlePaddle/Paddle/pull/52983 # which can be resolved after upgrading openblas.
if(UNIX # And why compile when gcc>8.2? Please refer to
AND NOT APPLE # https://github.com/spack/spack/issues/19932#issuecomment-733452619
AND NOT WITH_ROCM # v0.3.18 only support gcc>=8.3 or gcc>=7.4
AND NOT WITH_XPU) if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND CMAKE_CXX_COMPILER_VERSION
VERSION_GREATER 8.2)
# We only compile with openblas 0.3.18 when gcc >= 8.3
set(CBLAS_TAG v0.3.18) set(CBLAS_TAG v0.3.18)
endif() endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册