mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
README: Use nproc to get cpu core count
This way, make will always use all the available cpu cores.
This commit is contained in:
parent
f3a6ba2f4b
commit
fe4caa155b
@ -25,7 +25,7 @@ Then compile and install laminar with:
|
|||||||
git clone https://github.com/ohwgiles/laminar.git
|
git clone https://github.com/ohwgiles/laminar.git
|
||||||
cd laminar
|
cd laminar
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
make -j4
|
make -j "$(nproc)"
|
||||||
# Warning: the following will overwrite an existing /etc/laminar.conf
|
# Warning: the following will overwrite an existing /etc/laminar.conf
|
||||||
sudo make install
|
sudo make install
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user