mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
system/pcp: Use a single build job on 32bit.
This causes random errors on 32bit. We have not seen the issue on 64bit so we will not force a single job there since this package takes a while to build. Related to #6944 Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6286ef61b2
commit
fccb411de8
1 changed files with 10 additions and 2 deletions
|
@ -99,8 +99,16 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
--with-qt \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make DIST_ROOT="$PKG" NO_CHOWN=true install_pcp
|
||||
if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] ; then
|
||||
# seems building with multiple jobs can cause flaky builds on 32bit
|
||||
# https://github.com/SlackBuildsOrg/slackbuilds/issues/6944
|
||||
make -j1
|
||||
make -j1 DIST_ROOT="$PKG" NO_CHOWN=true install_pcp
|
||||
else
|
||||
make
|
||||
make DIST_ROOT="$PKG" NO_CHOWN=true install_pcp
|
||||
fi
|
||||
|
||||
|
||||
mkdir -p "$PKG"/usr/doc/$PRGNAM-$VERSION
|
||||
mv "$PKG"/usr/share/doc/* "$PKG"/usr/doc/$PRGNAM-$VERSION/
|
||||
|
|
Loading…
Reference in a new issue