forked from mindspore-Ecosystem/mindspore
adapt to gcc11
This commit is contained in:
parent
2c538003fa
commit
c10a4fd72f
|
@ -4,8 +4,8 @@ project(MindSpore)
|
|||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.3.0)
|
||||
message(FATAL_ERROR "GCC version must be 7.3.0 and above, but found ${CMAKE_CXX_COMPILER_VERSION}")
|
||||
elseif(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 9.4.0)
|
||||
message(WARNING "GCC version ${CMAKE_CXX_COMPILER_VERSION} is greater than 9.4.0, may cause unknown problems.")
|
||||
elseif(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 11.3.0)
|
||||
message(WARNING "GCC version ${CMAKE_CXX_COMPILER_VERSION} is greater than 11.3.0, may cause unknown problems.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
2
akg
2
akg
|
@ -1 +1 @@
|
|||
Subproject commit 6ab4b3fbc650d15086b01db0ffcd21321c575e96
|
||||
Subproject commit a5ba9c3e8d94a34932a05c3e7d805ac83d7bf67e
|
Loading…
Reference in New Issue