You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns an array of objects containing information about each logical CPU core. The array will be empty if no CPU information is available, such as if the /proc file system is unavailable.
In the event of os.cpus() not returning any information, I suggest that gyp should either default to some constant number of parallel jobs or let make run as many jobs as it wants.
The text was updated successfully, but these errors were encountered:
Verbose output (from npm or node-gyp):
When building a package using the systemd security option
ProcSubset=pid
, gyp sets the number of jobs to 0, whichmake
does not accept.I believe the relevant code is here:
node-gyp/lib/build.js
Lines 176 to 179 in e6f4ede
The documentation for Node function
os.cpus()
says:This can be shown by getting the number of CPUs in a transient service unit:
In the event of
os.cpus()
not returning any information, I suggest that gyp should either default to some constant number of parallel jobs or let make run as many jobs as it wants.The text was updated successfully, but these errors were encountered: