summaryrefslogtreecommitdiff
path: root/tools/utils.py
diff options
context:
space:
mode:
authorMichael Dawson <michael_dawson@ca.ibm.com>2016-03-28 17:03:06 -0400
committerMichael Dawson <michael_dawson@ca.ibm.com>2016-03-29 18:52:48 -0400
commita4c4a852a9a0ead7db424d72da056a5164da1179 (patch)
tree3a28f0b0047169838eef35f9bbea30392048308b /tools/utils.py
parent82fdaae901b06f25c869f2c1cfe71ae2b57299d0 (diff)
downloadnode-new-a4c4a852a9a0ead7db424d72da056a5164da1179.tar.gz
build: enable compilation for linuxOne
Changes to Node core in order to allow compilation for linuxOne. The ../archs/linux32-s390x/opensslconf.h and ../archs/linux64-s390x/opensslconf.h were automatically generated by running make linux-ppc linux-ppc64 in the deps/openssl/config directory as per our standard practice After these changes we still need a version of v8 which supports linuxOne but that will be coming soon in the 5.1 version of v8. Until then with these changes we'll be able to create a hybrid build which pulls in v8 from the http://github/andrewlow repo. PR-URL: https://github.com/nodejs/node/pull/5941 Reviewed-By: Johan Bergström <bugs@bergstroem.nu> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'tools/utils.py')
-rw-r--r--tools/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/utils.py b/tools/utils.py
index c77ab8edaf..dd5ce3fcb6 100644
--- a/tools/utils.py
+++ b/tools/utils.py
@@ -89,6 +89,8 @@ def GuessArchitecture():
return 'ia32'
elif id.startswith('ppc'):
return 'ppc'
+ elif id == 's390x':
+ return 's390'
else:
id = platform.processor()
if id == 'powerpc':