|
| 1 | +--- |
| 2 | +title: architecture |
| 3 | +description: Specifies the system architecture to be targeted by the configuration. |
| 4 | +keywords: [premake, architecture, system, config, x86, x86_64, arm, arm64, riscv64, wasm] |
| 5 | +--- |
| 6 | + |
1 | 7 | Specifies the system architecture to be targeted by the configuration. |
2 | 8 |
|
3 | 9 | ```lua |
4 | | -architecture ("value") |
| 10 | +architecture ("arch") |
5 | 11 | ``` |
6 | 12 |
|
7 | 13 | ### Parameters ### |
8 | 14 |
|
9 | | -`value` is one of: |
10 | | - |
11 | | -* `universal`: The universal binaries supported by iOS and macOS |
12 | | -* `x86` |
13 | | -* `x86_64` |
14 | | -* `ARM` |
15 | | -* `ARM64` |
16 | | -* `RISCV64` |
17 | | -* `loongarch64` |
18 | | -* `ppc` |
19 | | -* `ppc64` |
20 | | -* `wasm32`, |
21 | | -* `wasm64`, |
22 | | -* `e2k`, |
23 | | -* `mips64el`, |
24 | | -* `armv5`: Only supported in VSAndroid projects |
25 | | -* `armv7`: Only supported in VSAndroid projects |
26 | | -* `aarch64`: Only supported in VSAndroid projects |
27 | | -* `mips`: Only supported in VSAndroid projects |
28 | | -* `mips64`: Only supported in VSAndroid projects |
| 15 | +| Arch | Description | |
| 16 | +|-------------|--------------------------------------------------| |
| 17 | +| universal | Universal binaries supported by iOS and macOS | |
| 18 | +| x86 | 32-bit x86 architecture | |
| 19 | +| x86_64 | 64-bit x86 architecture | |
| 20 | +| ARM | 32-bit ARM architecture | |
| 21 | +| ARM64 | 64-bit ARM architecture | |
| 22 | +| RISCV64 | 64-bit RISC-V architecture | |
| 23 | +| loongarch64 | 64-bit LoongArch architecture | |
| 24 | +| ppc | 32-bit PowerPC architecture | |
| 25 | +| ppc64 | 64-bit PowerPC architecture | |
| 26 | +| wasm32 | 32-bit WebAssembly target | |
| 27 | +| wasm64 | 64-bit WebAssembly target | |
| 28 | +| e2k | Elbrus 2000 architecture | |
| 29 | +| mips64el | 64-bit MIPS little-endian architecture | |
| 30 | +| armv5 | ARMv5 (only supported in VSAndroid projects) | |
| 31 | +| armv7 | ARMv7 (only supported in VSAndroid projects) | |
| 32 | +| aarch64 | AArch64 (only supported in VSAndroid projects) | |
| 33 | +| mips | MIPS (only supported in VSAndroid projects) | |
| 34 | +| mips64 | 64-bit MIPS (only supported in VSAndroid projects) | |
29 | 35 |
|
30 | 36 | Additional values that are aliases for the above: |
31 | 37 |
|
32 | | -* `i386`: Alias for `x86` |
33 | | -* `amd64`: Alias for `x86_64` |
34 | | -* `x32`: Alias for `x86`; There is intent to deprecate this |
35 | | -* `x64`: Alias for `x86_64`; There is intent to deprecate this |
| 38 | +| arch | Description | |
| 39 | +|-------|-----------------------------------------------| |
| 40 | +| i386 | Alias for `x86` | |
| 41 | +| amd64 | Alias for `x86_64` | |
| 42 | +| x32 | Alias for `x86`; there is intent to deprecate | |
| 43 | +| x64 | Alias for `x86_64`; there is intent to deprecate | |
| 44 | + |
36 | 45 |
|
37 | 46 | ### Applies To ### |
38 | 47 |
|
|
0 commit comments