Debian coreutils includes /usr/bin/nproc

icefoxen 2019-12-17 09:36:17 -05:00
parent 815ed5ae2f
commit 528b5a7043

@ -55,7 +55,7 @@ cd json-c
git checkout json-c-0.13.1-20180305 git checkout json-c-0.13.1-20180305
sh autogen.sh sh autogen.sh
./configure --enable-threading --prefix=/usr/local ./configure --enable-threading --prefix=/usr/local
CPUCOUNT=$(grep processor /proc/cpuinfo | wc -l) CPUCOUNT=$(nproc)
make -j$CPUCOUNT make -j$CPUCOUNT
sudo make install sudo make install
sudo ldconfig sudo ldconfig