Skip to content

Commit

Permalink
Add support for LoongArch
Browse files Browse the repository at this point in the history
  • Loading branch information
loongson-zn authored and pdimov committed Jun 1, 2023
1 parent d4e6d3b commit 86aab3d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions boostcpp.jam
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,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)
{
Expand All @@ -647,9 +647,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
Expand Down

0 comments on commit 86aab3d

Please sign in to comment.