提交 959220bd 编写于 作者: sangshuduo's avatar sangshuduo

[TD-3148] <feature>: make build system detect host arch. support aarch32

上级 0e98eb8e
......@@ -105,8 +105,8 @@ ELSE ()
MESSAGE(STATUS "The current platform is " ${CMAKE_SYSTEM_PROCESSOR})
IF (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
MESSAGE(STATUS "The current platform is x86")
ELSE ()
MESSAGE(STATUS "The current os is NOT x86")
ELSEIF (CMAKE_SYSTEM_PROCESSOR MATCHES "armv7l")
SET(CPUTYPE "aarch32")
ENDIF ()
ENDIF ()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册