mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-20 06:20:38 +00:00
Add build support for Linux/hppa (#12271)
* build.sh: Enable CPU detection for hppa * compiler: Add hppa as target architecture on Linux * lib/system: Add platform support for hppa
This commit is contained in:
committed by
Andreas Rumpf
parent
657e09e79d
commit
944fcc0e62
@@ -21,6 +21,7 @@ type
|
||||
powerpc64el, ## Little Endian 64 bit PowerPC
|
||||
sparc, ## Sparc based processor
|
||||
sparc64, ## 64-bit Sparc based processor
|
||||
hppa, ## HP PA-RISC
|
||||
ia64, ## Intel Itanium
|
||||
amd64, ## x86_64 (AMD64); 64 bit x86 compatible CPU
|
||||
mips, ## Mips based processor
|
||||
@@ -78,6 +79,7 @@ const
|
||||
elif defined(powerpc64el): CpuPlatform.powerpc64el
|
||||
elif defined(sparc): CpuPlatform.sparc
|
||||
elif defined(sparc64): CpuPlatform.sparc64
|
||||
elif defined(hppa): CpuPlatform.hppa
|
||||
elif defined(ia64): CpuPlatform.ia64
|
||||
elif defined(amd64): CpuPlatform.amd64
|
||||
elif defined(mips): CpuPlatform.mips
|
||||
|
||||
Reference in New Issue
Block a user