Adding support for s390x Architecture (#56)

* Update build.js

* Update system.js
This commit is contained in:
Cnaik 2019-04-16 06:37:06 +05:30 committed by Igor Klopov
parent a3c763c8c5
commit e92d324624
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ async function compileOnWindows (nodeVersion, targetArch) {
async function compileOnUnix (nodeVersion, targetArch) {
const args = [];
const cpu = { x86: 'ia32', x64: 'x64',
armv6: 'arm', armv7: 'arm', arm64: 'arm64' }[targetArch];
armv6: 'arm', armv7: 'arm', arm64: 'arm64', s390x: 's390x' }[targetArch];
args.push('--dest-cpu', cpu);
// first of all v8_inspector introduces the use
// of `prime_rehash_policy` symbol that requires

View File

@ -83,7 +83,7 @@ function getTargetArchs () {
}
function getKnownArchs () {
return [ 'x64', 'x86', 'armv6', 'armv7', 'arm64' ];
return [ 'x64', 'x86', 'armv6', 'armv7', 'arm64', 's390x' ];
}
export const hostAbi = getHostAbi();