Add HPPA and sparc64 architectures (#20934)

* Add comments on CPU arch detection

* Support HPPA/hppa/parisc64 CPU architecture

* Support sparc64 CPU architecture

* Update tools/niminst/makefile.nimf

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
Federico Ceratto 2022-12-01 04:48:47 +00:00 • committed by GitHub
commit b36f5119ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View file

@ -10,6 +10,8 @@
## Platform detection for NimScript. This module is included by the system module!
## Do not import it directly!
# CPU architectures have alias names mapped in tools/niminst/makefile.nimf
type
CpuPlatform* {.pure.} = enum ## the CPU this program will run on.
none, ## unknown CPU