add support for loongarch64 (#851)
This commit is contained in:
@ -119,6 +119,9 @@ elseif(${ARCHITECTURE} STREQUAL "aarch64")
|
||||
set(MARCH_CFLAGS "-march=armv8-a+crc" )
|
||||
set(MTUNE_CFLAGS "-mtune=generic" )
|
||||
set(ARCH_LDFLAGS "-latomic")
|
||||
elseif(${ARCHITECTURE} STREQUAL "loongarch64")
|
||||
set(MARCH_CFLAGS "-march=la464" )
|
||||
set(MTUNE_CFLAGS "-mabi=lp64d" )
|
||||
else()
|
||||
message(FATAL_ERROR "UNSUPPORT BUILD ARCH: ${ARCHITECTURE}")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user