mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 19:31:29 +00:00
Debian coreutils includes /usr/bin/nproc
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
|
||||||
|
|
Loading…
Reference in a new issue