mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
Update makefile and buildsh templates for riscv64 (#9351)
(cherry picked from commit e435dbd35e)
This commit is contained in:
committed by
narimiran
parent
e718dc75c5
commit
64da338a8b
@@ -168,6 +168,8 @@ case $ucpu in
|
||||
mycpu="arm" ;;
|
||||
*aarch64* )
|
||||
mycpu="arm64" ;;
|
||||
*riscv64* )
|
||||
mycpu="riscv64" ;;
|
||||
*)
|
||||
echo 2>&1 "Error: unknown processor: $ucpu"
|
||||
exit 1
|
||||
|
||||
@@ -144,6 +144,9 @@ endif
|
||||
ifeq ($(ucpu),aarch64)
|
||||
mycpu = arm64
|
||||
endif
|
||||
ifeq ($(ucpu),riscv64)
|
||||
mycpu = riscv64
|
||||
endif
|
||||
ifndef mycpu
|
||||
$(error unknown processor: $(ucpu))
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user