nproc
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
parent
e513d21f6a
commit
47b96be057
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ cmake . \
|
|||
-DUSE_PYTHON=ON \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_MANDIR=/usr/man
|
||||
make || exit 1
|
||||
make -j$(nproc) || exit 1
|
||||
make install DESTDIR=$PKG || exit 1
|
||||
|
||||
[ -e $PKG/usr/share/man ] && mv $PKG/usr/share/man $PKG/usr/
|
||||
|
|
|
@ -50,7 +50,7 @@ cmake \
|
|||
..
|
||||
|
||||
# compilation
|
||||
make -j3
|
||||
make -j$(nproc)
|
||||
|
||||
# installation
|
||||
make install DESTDIR=$PKG
|
||||
|
|
Loading…
Reference in a new issue