Files
concrete/script/make_utils/ncpus.sh
Arthur Meyre 3541e4ff4e fix(tools): various Makefile improvements
- sync output recursively for make calls
- add a script to get the number of cpus on mac and linux
- Makefile formatting
- update serialize_targets.sh to invoke the proper make binary
- Add instructions to install make
2021-08-26 14:32:18 +02:00

8 lines
94 B
Bash
Executable File

#!/bin/bash
if [[ `uname` == "Darwin" ]]; then
sysctl -n hw.logicalcpu
else
nproc
fi