diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-11-08 10:48:08 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-11-08 10:48:08 +0100 |
| commit | 0af1518c8192e4abbd839ffdc3f2d6ce1f047831 (patch) | |
| tree | 1ad3ea143e02e77f8575c1ba61972c587b2ffd77 /build.sh | |
| parent | e7af423639f09132fb25e6a4f95f9c288d9513f7 (diff) | |
| download | nissy-core-0af1518c8192e4abbd839ffdc3f2d6ce1f047831.tar.gz nissy-core-0af1518c8192e4abbd839ffdc3f2d6ce1f047831.zip | |
Use nproc --all in thread detection
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -47,7 +47,7 @@ portable_nproc() { | |||
| 47 | OS="$(uname -s)" | 47 | OS="$(uname -s)" |
| 48 | case "$OS" in | 48 | case "$OS" in |
| 49 | "Linux") | 49 | "Linux") |
| 50 | nproc | 50 | nproc --all |
| 51 | ;; | 51 | ;; |
| 52 | "Darwin" | "*BSD") | 52 | "Darwin" | "*BSD") |
| 53 | sysctl -n hw.ncpu | 53 | sysctl -n hw.ncpu |
