• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 Rene Rivera
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE_1_0.txt or copy at
4# http://www.boost.org/LICENSE_1_0.txt)
5
6import feature ;
7
8#| tag::doc[]
9
10[[bbv2.builtin.features.architecture]]`architecture`::
11*Allowed values:* `x86`, `ia64`, `sparc`, `power`, `mips1`, `mips2`,
12`mips3`, `mips4`, `mips32`, `mips32r2`, `mips64`, `parisc`, `arm`,
13`s390x`, `combined`, `combined-x86-power`.
14+
15Specifies the general processor family to generate code for.
16
17|# # end::doc[]
18
19feature.feature architecture
20    :
21        # x86 and x86-64
22        x86
23
24        # ia64
25        ia64
26
27        # Sparc
28        sparc
29
30        # RS/6000 & PowerPC
31        power
32
33        # MIPS/SGI
34        mips1 mips2 mips3 mips4 mips32 mips32r2 mips64
35
36        # HP/PA-RISC
37        parisc
38
39        # Advanced RISC Machines
40        arm
41
42        # RISC-V
43        riscv
44
45        # z Systems (aka s390x)
46        s390x
47
48        # Combined architectures for platforms/toolsets that support building for
49        # multiple architectures at once. "combined" would be the default multi-arch
50        # for the toolset.
51        combined
52        combined-x86-power
53    :
54        propagated optional
55    ;
56