enable compilation of node 7 for arm, but disable inspector
This commit is contained in:
parent
7d3bab1a4b
commit
5331250087
@ -58,9 +58,9 @@ async function compileOnUnix (nodeVersion, targetArch) {
|
||||
// GLIBCXX_3.4.18 on some systems
|
||||
// also we don't support any kind of debugging
|
||||
// against packaged apps, hence v8_inspector is useless
|
||||
if (/^v?6/.test(nodeVersion)) args.push('--without-inspector');
|
||||
const major = nodeVersion.match(/^v?(\d+)/)[1] | 0;
|
||||
if (major >= 6) args.push('--without-inspector');
|
||||
// TODO same for windows?
|
||||
// TODO same for node 7 and up?
|
||||
await spawn('./configure', args, { cwd: nodePath });
|
||||
const make = process.platform === 'freebsd' ? 'gmake' : 'make';
|
||||
const promise = spawn(make, [], { cwd: nodePath });
|
||||
|
||||
@ -19,9 +19,6 @@ export function dontBuild (nodeVersion, targetPlatform, targetArch) {
|
||||
// official node 0.12 does not compile on arm
|
||||
if (/^v?0/.test(nodeVersion) &&
|
||||
/^arm/.test(targetArch)) return true;
|
||||
// same for node 7 beta
|
||||
if (/^v?7/.test(nodeVersion) &&
|
||||
/^arm/.test(targetArch)) return true;
|
||||
// some obstacles on freebsd
|
||||
if (targetPlatform === 'freebsd' &&
|
||||
targetArch === 'x86') return true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user