summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2019-09-26 15:45:06 +0200
committerAndreas Rumpf <rumpf_a@web.de>2019-09-26 15:45:05 +0200
commit944fcc0e62bb22b9f5da79909dfbda4371de1fc6 (patch)
treee7188351a930ee64bedf41565bac98b023545987 /lib
parent657e09e79deabe6304ead7759a4fdcfeb5fd022b (diff)
downloadNim-944fcc0e62bb22b9f5da79909dfbda4371de1fc6.tar.gz
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
Diffstat (limited to 'lib')
-rw-r--r--lib/system/platforms.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system/platforms.nim b/lib/system/platforms.nim
index 1c35eeb0d..6e39dc7f2 100644
--- a/lib/system/platforms.nim
+++ b/lib/system/platforms.nim
@@ -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