Skip to content

Commit

Permalink
Set MAKEFLAGS in makepkg.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
takano32 committed Mar 10, 2024
1 parent 63ce9d0 commit 1c28733
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion archlinux/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ while :; do $SUDO makepkg -o --skippgpcheck && break || sleep 5; done
# `makepkg` in `$BUILD_DIR/linux`
JOBS=$(getconf _NPROCESSORS_ONLN)
JOBS=$(expr "$JOBS" + "$JOBS")
$SUDO MAKEFLAGS="-j$JOBS" makepkg --skippgpcheck
echo "MAKEFLAGS='-j$JOBS'" | $SUDO tee -a /etc/makepkg.conf
$SUDO makepkg --skippgpcheck

cd $BUILD_DIR
# mv linux/src/archlinux-linux/Documentation/output ../htmldocs
Expand Down

0 comments on commit 1c28733

Please sign in to comment.