Add support for LoongArch (#19223)
* Add support for LoongArch * Update compiler/installer.ini Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
parent
502ac4ed5e
commit
742e9d65ad
6 changed files with 13 additions and 4 deletions
|
|
@ -36,7 +36,8 @@ type
|
|||
riscv32, ## RISC-V 32-bit processor
|
||||
riscv64, ## RISC-V 64-bit processor
|
||||
wasm32, ## WASM, 32-bit
|
||||
e2k ## MCST Elbrus 2000
|
||||
e2k, ## MCST Elbrus 2000
|
||||
loongarch64 ## LoongArch 64-bit processor
|
||||
|
||||
OsPlatform* {.pure.} = enum ## the OS this program will run on.
|
||||
none, dos, windows, os2, linux, morphos, skyos, solaris,
|
||||
|
|
@ -95,5 +96,6 @@ const
|
|||
elif defined(riscv64): CpuPlatform.riscv64
|
||||
elif defined(wasm32): CpuPlatform.wasm32
|
||||
elif defined(e2k): CpuPlatform.e2k
|
||||
elif defined(loongarch64): CpuPlatform.loongarch64
|
||||
else: CpuPlatform.none
|
||||
## the CPU this program will run on.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue