summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorFederico Ceratto <federico@debian.org>2021-09-27 16:35:14 +0100
committerGitHub <noreply@github.com>2021-09-27 17:35:14 +0200
commit5325a366e79b6e34fcd2b2dfe675897212f8ca2d (patch)
tree94c1561bb5939364f8528b79176d344022971de1 /tools
parent57eb763c65c2d517e2b6ca7b2ca2d3bb5ab6c3d5 (diff)
downloadNim-5325a366e79b6e34fcd2b2dfe675897212f8ca2d.tar.gz
Add armv8l support (Closes: #18898) (#18901) [backport]
Diffstat (limited to 'tools')
-rw-r--r--tools/niminst/buildsh.nimf2
-rw-r--r--tools/niminst/makefile.nimf3
2 files changed, 4 insertions, 1 deletions
diff --git a/tools/niminst/buildsh.nimf b/tools/niminst/buildsh.nimf
index 7b30cd86c..9850abd89 100644
--- a/tools/niminst/buildsh.nimf
+++ b/tools/niminst/buildsh.nimf
@@ -213,7 +213,7 @@ case $ucpu in
     mycpu="alpha" ;;
   *aarch64*|*arm64* )
     mycpu="arm64" ;;
-  *arm*|*armv6l*|*armv71* )
+  *arm*|*armv6l*|*armv7l*|*armv8l* )
     mycpu="arm" ;;
   *riscv64|riscv* )
     mycpu="riscv64" ;;
diff --git a/tools/niminst/makefile.nimf b/tools/niminst/makefile.nimf
index a0e9a40f7..69e87b837 100644
--- a/tools/niminst/makefile.nimf
+++ b/tools/niminst/makefile.nimf
@@ -157,6 +157,9 @@ endif
 ifeq ($(ucpu),armv7hl)
   mycpu = arm
 endif
+ifeq ($(ucpu),armv8l)
+  mycpu = arm
+endif
 ifeq ($(ucpu),aarch64)
   mycpu = arm64
 endif