Add ppc64 support (#91)
This commit is contained in:
parent
3dc42e5781
commit
cdac19c4eb
@ -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
|
||||
|
||||
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user