Add ppc64 support (#91)

This commit is contained in:
Timothy Pearson 2020-05-10 12:44:12 -05:00 committed by GitHub
parent 3dc42e5781
commit cdac19c4eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,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', s390x: 's390x' }[targetArch];
armv6: 'arm', armv7: 'arm', arm64: 'arm64', ppc64: 'ppc64', 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', 's390x' ];
return [ 'x64', 'x86', 'armv6', 'armv7', 'arm64', 'ppc64', 's390x' ];
}
export const hostAbi = getHostAbi();