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
|
|
@ -229,6 +229,8 @@ case $ucpu in
|
|||
mycpu="riscv64" ;;
|
||||
*e2k* )
|
||||
mycpu="e2k" ;;
|
||||
*loongarch64* )
|
||||
mycpu="loongarch64" ;;
|
||||
*)
|
||||
echo 2>&1 "Error: unknown processor: $ucpu"
|
||||
exit 1
|
||||
|
|
|
|||
|
|
@ -169,6 +169,9 @@ endif
|
|||
ifeq ($(ucpu),e2k)
|
||||
mycpu = e2k
|
||||
endif
|
||||
ifeq ($(ucpu),loongarch64)
|
||||
mycpu = loongarch64
|
||||
endif
|
||||
ifndef mycpu
|
||||
$(error unknown CPU architecture: $(ucpu) See makefile.nimf)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue