Add support for LoongArch

This commit is contained in:
Zhang Na 2022-09-19 15:02:01 +08:00
parent 386dc6366f
commit f799ae9e08

View file

@ -634,7 +634,7 @@ rule address-model ( )
return <conditional>@boostcpp.deduce-address-model ;
}
local deducable-architectures = arm mips power riscv s390x sparc x86 combined ;
local deducable-architectures = arm loongarch mips power riscv s390x sparc x86 combined ;
feature.feature deduced-architecture : $(deducable-architectures) : propagated optional composite hidden ;
for a in $(deducable-architectures)
{
@ -645,9 +645,10 @@ rule deduce-architecture ( properties * )
{
local result ;
local filtered = [ toolset-properties $(properties) ] ;
local names = arm mips power riscv s390x sparc x86 combined ;
local names = arm loongarch mips power riscv s390x sparc x86 combined ;
local idx = [ configure.find-builds "default architecture" : $(filtered)
: /boost/architecture//arm
: /boost/architecture//loongarch
: /boost/architecture//mips
: /boost/architecture//power
: /boost/architecture//riscv