8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 15:23:03 +01:00

Add riscv64 define for cds

This commit is contained in:
Xeonacid 2025-01-11 21:44:01 +08:00 committed by Alexander Peshkov
parent 058983cca9
commit c709689758

View File

@ -132,6 +132,11 @@
# define CDS_PROCESSOR__NAME "LOONGARCH" # define CDS_PROCESSOR__NAME "LOONGARCH"
# define CDS_PROCESSOR__NICK "loongarch" # define CDS_PROCESSOR__NICK "loongarch"
# define CDS_BUILD_BITS 64 # define CDS_BUILD_BITS 64
#elif defined(__riscv) && __riscv_xlen == 64
# define CDS_PROCESSOR_ARCH CDS_PROCESSOR_RISCV64
# define CDS_PROCESSOR__NAME "RISC-V64"
# define CDS_PROCESSOR__NICK "riscv64"
# define CDS_BUILD_BITS 64
#else #else
# if defined(CDS_USE_LIBCDS_ATOMIC) # if defined(CDS_USE_LIBCDS_ATOMIC)
# error "Libcds does not support atomic implementation for the processor architecture. Try to use C++11-compatible compiler and remove CDS_USE_LIBCDS_ATOMIC flag from compiler command line" # error "Libcds does not support atomic implementation for the processor architecture. Try to use C++11-compatible compiler and remove CDS_USE_LIBCDS_ATOMIC flag from compiler command line"