summaryrefslogtreecommitdiff
path: root/boostcpp.jam
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2019-04-08 14:54:20 +0200
committerPeter Dimov <pdimov@gmail.com>2020-02-24 19:46:55 +0200
commit93bb487b61b98514df310339ddd685ca6c71c8bd (patch)
treef8f27f191617006a7a38cef90d819a7b5a3e3876 /boostcpp.jam
parent7f81fc2b94f6e541cce964403b5ed857302fee78 (diff)
downloadboost-93bb487b61b98514df310339ddd685ca6c71c8bd.tar.gz
Add support for the RISC-V architecture
Diffstat (limited to 'boostcpp.jam')
-rw-r--r--boostcpp.jam5
1 files changed, 3 insertions, 2 deletions
diff --git a/boostcpp.jam b/boostcpp.jam
index efc41c1ed8..10250a5b69 100644
--- a/boostcpp.jam
+++ b/boostcpp.jam
@@ -607,7 +607,7 @@ rule address-model ( )
return <conditional>@boostcpp.deduce-address-model ;
}
-local deducable-architectures = arm mips1 power sparc x86 combined ;
+local deducable-architectures = arm mips1 power riscv sparc x86 combined ;
feature.feature deduced-architecture : $(deducable-architectures) : propagated optional composite hidden ;
for a in $(deducable-architectures)
{
@@ -618,11 +618,12 @@ rule deduce-architecture ( properties * )
{
local result ;
local filtered = [ toolset-properties $(properties) ] ;
- local names = arm mips1 power sparc x86 combined ;
+ local names = arm mips1 power riscv sparc x86 combined ;
local idx = [ configure.find-builds "default architecture" : $(filtered)
: /boost/architecture//arm
: /boost/architecture//mips1
: /boost/architecture//power
+ : /boost/architecture//riscv
: /boost/architecture//sparc
: /boost/architecture//x86
: /boost/architecture//combined ] ;