File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -19,16 +19,11 @@ set(CBLAS_INSTALL_DIR ${THIRD_PARTY_PATH}/install/openblas)
19
19
set (CBLAS_SOURCE_DIR ${PADDLE_SOURCE_DIR} /third_party/openblas )
20
20
set (CBLAS_TAG v0.3.7 )
21
21
22
- # Why use v0.3.18? The IDG business line encountered a random openblas error,
23
- # which can be resolved after upgrading openblas.
24
- # And why compile when gcc>8.2? Please refer to
25
- # https://github.com/spack/spack/issues/19932#issuecomment-733452619
26
- # v0.3.18 only support gcc>=8.3 or gcc>=7.4
27
- if ((CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
28
- AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 8.2
22
+ if (UNIX
23
+ AND NOT APPLE
24
+ AND NOT WITH_ROCM
29
25
AND NOT WITH_XPU )
30
- # We only compile with openblas 0.3.18 when gcc >= 8.3
31
- set (CBLAS_TAG v0.3.18 )
26
+ set (CBLAS_TAG v0.3.28 )
32
27
endif ()
33
28
34
29
if (APPLE AND WITH_ARM )
You can’t perform that action at this time.
0 commit comments